forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
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 };