Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / Documentation / devicetree / bindings / pps / pps-gpio.txt
diff --git a/kernel/Documentation/devicetree/bindings/pps/pps-gpio.txt b/kernel/Documentation/devicetree/bindings/pps/pps-gpio.txt
new file mode 100644 (file)
index 0000000..40bf9c3
--- /dev/null
@@ -0,0 +1,20 @@
+Device-Tree Bindings for a PPS Signal on GPIO
+
+These properties describe a PPS (pulse-per-second) signal connected to
+a GPIO pin.
+
+Required properties:
+- compatible: should be "pps-gpio"
+- gpios: one PPS GPIO in the format described by ../gpio/gpio.txt
+
+Optional properties:
+- assert-falling-edge: when present, assert is indicated by a falling edge
+                       (instead of by a rising edge)
+
+Example:
+       pps {
+               compatible = "pps-gpio";
+               gpios = <&gpio2 6 0>;
+
+               assert-falling-edge;
+       };