WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / serio / ps2-gpio.txt
blob7b7bc9cdf9861257f6886029c432b1b08ce1e52b
1 Device-Tree binding for ps/2 gpio device
3 Required properties:
4         - compatible = "ps2-gpio"
5         - data-gpios: the data pin
6         - clk-gpios: the clock pin
7         - interrupts: Should trigger on the falling edge of the clock line.
9 Optional properties:
10         - write-enable: Indicates whether write function is provided
11         to serio device. Possibly providing the write fn will not work, because
12         of the tough timing requirements.
14 Example nodes:
16 ps2@0 {
17         compatible = "ps2-gpio";
18         interrupt-parent = <&gpio>;
19         interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
20         data-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
21         clk-gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
22         write-enable;