Lines Matching +full:clock +full:- +full:falling +full:- +full:edge
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/serio/ps2-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Danilo Krummrich <danilokrummrich@dk-develop.de>
14 const: ps2-gpio
16 data-gpios:
18 the gpio used for the data signal - this should be flagged as
20 from <dt-bindings/gpio/gpio.h> since the signal is open drain by
24 clk-gpios:
26 the gpio used for the clock signal - this should be flagged as
28 from <dt-bindings/gpio/gpio.h> since the signal is open drain by
34 The given interrupt should trigger on the falling edge of the clock line.
37 write-enable:
45 - compatible
46 - data-gpios
47 - clk-gpios
48 - interrupts
53 - |
54 #include <dt-bindings/gpio/gpio.h>
55 #include <dt-bindings/interrupt-controller/irq.h>
58 compatible = "ps2-gpio";
59 interrupt-parent = <&gpio>;
61 data-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
62 clk-gpios = <&gpio 23 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
63 write-enable;