Merge tag 'fsnotify_for_v4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / serio / ps2-gpio.txt
1 Device-Tree binding for ps/2 gpio device
2
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.
8
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.
13
14 Example nodes:
15
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;
23 };