xref: /freebsd/sys/contrib/device-tree/Bindings/misc/olpc,xo1.75-ec.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotOLPC XO-1.75 Embedded Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: Should be "olpc,xo1.75-ec".
5*c66ec88fSEmmanuel Vadot- cmd-gpios: gpio specifier of the CMD pin
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotThe embedded controller requires the SPI controller driver to signal readiness
8*c66ec88fSEmmanuel Vadotto receive a transfer (that is, when TX FIFO contains the response data) by
9*c66ec88fSEmmanuel Vadotstrobing the ACK pin with the ready signal. See the "ready-gpios" property of the
10*c66ec88fSEmmanuel VadotSSP binding as documented in:
11*c66ec88fSEmmanuel Vadot<Documentation/devicetree/bindings/spi/marvell,mmp2-ssp.yaml>.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotExample:
14*c66ec88fSEmmanuel Vadot	&ssp3 {
15*c66ec88fSEmmanuel Vadot		spi-slave;
16*c66ec88fSEmmanuel Vadot		ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>;
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot		slave {
19*c66ec88fSEmmanuel Vadot			compatible = "olpc,xo1.75-ec";
20*c66ec88fSEmmanuel Vadot			spi-cpha;
21*c66ec88fSEmmanuel Vadot			cmd-gpios = <&gpio 155 GPIO_ACTIVE_HIGH>;
22*c66ec88fSEmmanuel Vadot		};
23*c66ec88fSEmmanuel Vadot	};
24