summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.txt
blob: 8c4d649cdd8ff474466770bacb660bba5d87dea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
OLPC XO-1.75 Embedded Controller

Required properties:
- compatible: Should be "olpc,xo1.75-ec".
- cmd-gpios: gpio specifier of the CMD pin

The embedded controller requires the SPI controller driver to signal readiness
to receive a transfer (that is, when TX FIFO contains the response data) by
strobing the ACK pin with the ready signal. See the "ready-gpios" property of the
SSP binding as documented in:
<Documentation/devicetree/bindings/spi/spi-pxa2xx.txt>.

Example:
	&ssp3 {
		spi-slave;
		ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>;

		slave {
			compatible = "olpc,xo1.75-ec";
			spi-cpha;
			cmd-gpios = <&gpio 155 GPIO_ACTIVE_HIGH>;
		};
	};