hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/devicetree/bindings/pps/pps-gpio.txt
....@@ -7,6 +7,10 @@
77 - compatible: should be "pps-gpio"
88 - gpios: one PPS GPIO in the format described by ../gpio/gpio.txt
99
10
+Additional required properties for the PPS ECHO functionality:
11
+- echo-gpios: one PPS ECHO GPIO in the format described by ../gpio/gpio.txt
12
+- echo-active-ms: duration in ms of the active portion of the echo pulse
13
+
1014 Optional properties:
1115 - assert-falling-edge: when present, assert is indicated by a falling edge
1216 (instead of by a rising edge)
....@@ -19,5 +23,8 @@
1923 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
2024 assert-falling-edge;
2125
26
+ echo-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
27
+ echo-active-ms = <100>;
28
+
2229 compatible = "pps-gpio";
2330 };