]> git.karo-electronics.de Git - linux-beck.git/commit
spi: s3c64xx: Added provision for dedicated cs pin
authorGirish K S <girishks2000@gmail.com>
Fri, 21 Jun 2013 05:56:12 +0000 (11:26 +0530)
committerMark Brown <broonie@linaro.org>
Tue, 25 Jun 2013 10:15:33 +0000 (11:15 +0100)
commit3146beec21b64f4551fcf0ac148381d54dc41b1b
treeb8fd28466973228956af4931df22bbd013c8aeee
parent796170733e50405e3039eacdf5cfb2f08f3eb9ba
spi: s3c64xx: Added provision for dedicated cs pin

The existing driver supports gpio based /cs signal.
For controller's that have one device per controller,
the slave device's /cs signal might be internally controlled
by the chip select bit of slave select register. They are not
externally asserted/deasserted using gpio pin.

This patch adds support for controllers with dedicated /cs pin.
if "cs-gpio" property doesnt exist in a spi dts node, the controller
would treat the /cs pin as dedicated.

Signed-off-by: Girish K S <ks.giri@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-s3c64xx.c