OSDN Git Service

spi: spi-gpio: Add dt support for a single device with no chip select
authorTorsten Fleischer <torfl6749@gmail.com>
Mon, 3 Nov 2014 16:17:55 +0000 (17:17 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 4 Nov 2014 19:57:25 +0000 (19:57 +0000)
commitd1d81802522ade84128a2c66c0d500e372474dca
tree971fe9a68d1fcc2823d5ab6cf90b0e0c6d8a9eef
parentf114040e3ea6e07372334ade75d1ee0775c355e1
spi: spi-gpio: Add dt support for a single device with no chip select

In order to describe a single slave device that has no chip select line
the 'num-chipselects' property has to be <0> and the 'cs-gpios' property
doesn't need to be set.

Signed-off-by: Torsten Fleischer <torfl6749@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/spi-gpio.txt
drivers/spi/spi-gpio.c