Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: olpc,xo1.75-ec: Add OLPC XO-1.75 EC bindings

The OLPC XO-1.75 Embedded Controller is a SPI master that uses extra
signals for handshaking. It needs to know when is the slave (Linux)
side's TX FIFO ready for transfer (the ready-gpio signal on the SPI
controller node) and when does it wish to respond with a command (the
cmd-gpio property).

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

authored by

Lubomir Rintel and committed by
Andy Shevchenko
f22558d7 d6423bd0

+23
+23
Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.txt
··· 1 + OLPC XO-1.75 Embedded Controller 2 + 3 + Required properties: 4 + - compatible: Should be "olpc,xo1.75-ec". 5 + - cmd-gpios: gpio specifier of the CMD pin 6 + 7 + The embedded controller requires the SPI controller driver to signal readiness 8 + to receive a transfer (that is, when TX FIFO contains the response data) by 9 + strobing the ACK pin with the ready signal. See the "ready-gpios" property of the 10 + SSP binding as documented in: 11 + <Documentation/devicetree/bindings/spi/spi-pxa2xx.txt>. 12 + 13 + Example: 14 + &ssp3 { 15 + spi-slave; 16 + ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>; 17 + 18 + slave { 19 + compatible = "olpc,xo1.75-ec"; 20 + spi-cpha; 21 + cmd-gpios = <&gpio 155 GPIO_ACTIVE_HIGH>; 22 + }; 23 + };