]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pl022: Add support for chip select extension
authorAnders Berg <anders.berg@avagotech.com>
Wed, 17 Sep 2014 06:46:58 +0000 (08:46 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 24 Sep 2014 09:25:52 +0000 (10:25 +0100)
commitdc48e54e6783008f458c5e7ed51c6d5a8584a1c0
tree3da0916f874df0cdb7def2e724cf6f32958b30ce
parent7b326ec237f345bf2dfd16d7889cee5a72e84d56
spi: pl022: Add support for chip select extension

Add support for a extended PL022 which has an extra register for controlling up
to five chip select signals. This controller is found on the AXM5516 SoC.
Unfortunately the PrimeCell identification registers are identical to a
standard ARM PL022. To work around this, the peripheral ID must be overridden
in the device tree using the "arm,primecell-periphid" property with the value
0x000b6022.

Signed-off-by: Anders Berg <anders.berg@avagotech.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pl022.c
include/linux/amba/bus.h