spi: at91-usart: Add driver for at91-usart as SPI
authorRadu Pirea <radu.pirea@microchip.com>
Fri, 13 Jul 2018 16:47:35 +0000 (19:47 +0300)
committerLee Jones <lee.jones@linaro.org>
Mon, 10 Sep 2018 15:09:03 +0000 (16:09 +0100)
commite1892546ff662f5491f707ba8a8a3a3e01a84a80
treeda085aa27ad7a734185a48afa181a87c7aefa842
parent937c0a26acce163606054c8f149095de46c3f549
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>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-at91-usart.c [new file with mode: 0644]