spi: add support for ARM PL022 SPI controller
authorQuentin Schulz <quentin.schulz@bootlin.com>
Fri, 31 Aug 2018 14:28:29 +0000 (16:28 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 26 Sep 2018 01:49:18 +0000 (21:49 -0400)
commit8a4791fa08fb456f9cf8ef95083ddd4e0d07b48e
tree7a9525acb8c0b1c338118da69876b732d3ef28c1
parent8451942f7c86c7fc0e25e0b5df986be93e126995
spi: add support for ARM PL022 SPI controller

This adds support for the ARM PL022 SPI controller for the standard
variant (0x00041022) which has a 16bit wide and 8 locations deep TX/RX
FIFO.

A few parts were borrowed from the Linux kernel driver.

Cc: Armando Visconti <armando.visconti@st.com>
Cc: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/pl022_spi.c [new file with mode: 0644]
include/dm/platform_data/pl022_spi.h [new file with mode: 0644]