diff options
author | Johannes Thumshirn <jth@kernel.org> | 2024-07-08 18:49:28 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-07-08 19:01:10 +0300 |
commit | 8846739f52afa07e63395c80227dc544f54bd7b1 (patch) | |
tree | 73911d57ef8e3c866f9ea6d513cc513a76f59a54 /drivers/spi/Kconfig | |
parent | 0f17a12787573dda66d2528fff27cd7362b34bfd (diff) | |
download | linux-8846739f52afa07e63395c80227dc544f54bd7b1.tar.xz |
spi: add ch341a usb2spi driver
Add a driver for the QiHeng Electronics ch341a USB-to-SPI adapter.
This driver is loosely based on the ch341a module from the flashrom project.
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
Link: https://patch.msgid.link/20240708-spi-ch341a-v3-1-cf7f9b2c1e31@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index a2c99ff33e0a..ec1550c698d5 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -277,6 +277,12 @@ config SPI_CADENCE_XSPI device with a Cadence XSPI controller and want to access the Flash as an MTD device. +config SPI_CH341 + tristate "CH341 USB2SPI adapter" + depends on SPI_MASTER && USB + help + Enables the SPI controller on the CH341a USB to serial chip + config SPI_CLPS711X tristate "CLPS711X host SPI controller" depends on ARCH_CLPS711X || COMPILE_TEST |