diff options
author | 2018-07-13 19:47:35 +0300 | |
---|---|---|
committer | 2018-09-10 16:09:03 +0100 | |
commit | e1892546ff662f5491f707ba8a8a3a3e01a84a80 (patch) | |
tree | da085aa27ad7a734185a48afa181a87c7aefa842 /drivers/spi/Kconfig | |
parent | MAINTAINERS: Add AT91 USART SPI entry (diff) | |
download | linux-e1892546ff662f5491f707ba8a8a3a3e01a84a80.tar.gz linux-e1892546ff662f5491f707ba8a8a3a3e01a84a80.tar.bz2 linux-e1892546ff662f5491f707ba8a8a3a3e01a84a80.zip |
spi: at91-usart: Add driver for at91-usart as SPI
This is the driver for at91-usart in spi mode. The USART IP can be configured
to work in many modes and one of them is SPI.
The driver was tested on sama5d3-xplained and sama5d4-xplained boards with
enc28j60 ethernet controller as slave.
Signed-off-by: Radu Pirea <radu.pirea@microchip.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviwed-by: Mark Brown <broonie@kernel.org>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 671d078349cc..2e259d0f4136 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -83,6 +83,14 @@ config SPI_ATMEL This selects a driver for the Atmel SPI Controller, present on many AT91 ARM chips. +config SPI_AT91_USART + tristate "Atmel USART Controller SPI driver" + depends on (ARCH_AT91 || COMPILE_TEST) + depends on MFD_AT91_USART + help + This selects a driver for the AT91 USART Controller as SPI Master, + present on AT91 and SAMA5 SoC series. + config SPI_AU1550 tristate "Au1550/Au1200/Au1300 SPI Controller" depends on MIPS_ALCHEMY |