aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-02-22 16:35:53 -0500
committerMark Brown <broonie@linaro.org>2014-02-22 21:14:46 -0500
commitb5f6517948cce50bde9aa441b4f00b63518f6421 (patch)
treec7a186b7fde8ff8b41f52e23db38ad24377b4297 /drivers/spi/Kconfig
parentd31ad46f58e89fdb9f5b902aa7cc29689e123dde (diff)
spi: sunxi: Add Allwinner A10 SPI controller driver
The older Allwinner SoCs (A10, A13, A10s and A20) all have the same SPI controller. Unfortunately, this SPI controller, even though quite similar, is significantly different from the recently supported A31 SPI controller (different registers offset, split/merged registers, etc.). Supporting both controllers in a single driver would be unreasonable, hence the addition of a new driver. Like its more recent counterpart, it supports DMA, but the driver only does PIO until we have a dmaengine driver for this platform. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r--drivers/spi/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 0ec46415145d..5dffdc1691e8 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -446,6 +446,12 @@ config SPI_SIRF
446 help 446 help
447 SPI driver for CSR SiRFprimaII SoCs 447 SPI driver for CSR SiRFprimaII SoCs
448 448
449config SPI_SUN4I
450 tristate "Allwinner A10 SoCs SPI controller"
451 depends on ARCH_SUNXI || COMPILE_TEST
452 help
453 SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
454
449config SPI_SUN6I 455config SPI_SUN6I
450 tristate "Allwinner A31 SPI controller" 456 tristate "Allwinner A31 SPI controller"
451 depends on ARCH_SUNXI || COMPILE_TEST 457 depends on ARCH_SUNXI || COMPILE_TEST