drivers/pps: aesthetic tweaks to PPS-related content
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / pps / pps-gpio.txt
1 Device-Tree Bindings for a PPS Signal on GPIO
2
3 These properties describe a PPS (pulse-per-second) signal connected to
4 a GPIO pin.
5
6 Required properties:
7 - compatible: should be "pps-gpio"
8 - gpios: one PPS GPIO in the format described by ../gpio/gpio.txt
9
10 Optional properties:
11 - assert-falling-edge: when present, assert is indicated by a falling edge
12                        (instead of by a rising edge)
13
14 Example:
15         pps {
16                 pinctrl-names = "default";
17                 pinctrl-0 = <&pinctrl_pps>;
18
19                 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
20                 assert-falling-edge;
21
22                 compatible = "pps-gpio";
23                 status = "okay";
24         };