spi: sunxi: Add Allwinner A10 SPI controller driver
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 22 Feb 2014 21:35:53 +0000 (22:35 +0100)
committerMark Brown <broonie@linaro.org>
Sun, 23 Feb 2014 02:14:46 +0000 (11:14 +0900)
commitb5f6517948cce50bde9aa441b4f00b63518f6421
treec7a186b7fde8ff8b41f52e23db38ad24377b4297
parentd31ad46f58e89fdb9f5b902aa7cc29689e123dde
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>
Documentation/devicetree/bindings/spi/spi-sun4i.txt [new file with mode: 0644]
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-sun4i.c [new file with mode: 0644]