aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/pps/pps-gpio.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pps/pps-gpio.txt b/Documentation/devicetree/bindings/pps/pps-gpio.txt
index 3683874832ae..9012a2a02e14 100644
--- a/Documentation/devicetree/bindings/pps/pps-gpio.txt
+++ b/Documentation/devicetree/bindings/pps/pps-gpio.txt
@@ -7,6 +7,10 @@ Required properties:
7- compatible: should be "pps-gpio" 7- compatible: should be "pps-gpio"
8- gpios: one PPS GPIO in the format described by ../gpio/gpio.txt 8- gpios: one PPS GPIO in the format described by ../gpio/gpio.txt
9 9
10Additional 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
10Optional properties: 14Optional properties:
11- assert-falling-edge: when present, assert is indicated by a falling edge 15- assert-falling-edge: when present, assert is indicated by a falling edge
12 (instead of by a rising edge) 16 (instead of by a rising edge)
@@ -19,5 +23,8 @@ Example:
19 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; 23 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
20 assert-falling-edge; 24 assert-falling-edge;
21 25
26 echo-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
27 echo-active-ms = <100>;
28
22 compatible = "pps-gpio"; 29 compatible = "pps-gpio";
23 }; 30 };