Skip to content

Commit 3b4342f

Browse files
authored
Update pps-rp1.dts. Pedantic whitespace.
Even more pedantic whitespace formatting
1 parent c7d2d4b commit 3b4342f

1 file changed

Lines changed: 30 additions & 10 deletions

File tree

arch/arm/boot/dts/overlays/pps-rp1.dts

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,28 @@
44

55
/*
66
* dtparams:
7-
* pin: (integer) Specifies the PPS Input pin. Takes the pin number correlating to the RPi 40-pin GPIO. Defaults to GPIO 18.
7+
* pin: (integer) Specifies the PPS Input pin.
8+
* Takes the pin number correlating to the RPi 40-pin GPIO.
9+
* Defaults to GPIO 18.
810
* pull-none: (boolean) Disable pull-up/down resistors on the PPS Input pin.
911
* pull-up: (boolean) Enable pull-up resistor on the PPS Input pin.
1012
* pull-down: (boolean) Enable pull-down resistor on the PPS Input pin.
11-
* schmitt-trigger: (boolean) Enable the Schmitt-trigger on the PPS Input pin. Defaults to off.
12-
* echo-pin: (integer) Specifies the PPS Echo Output pin. Takes the pin number correlating to the RPi 40-pin GPIO. Defaults to GPIO 17.
13-
* echo-ms: (integer) Specifies the pulse-width in ms that the echo signal outputs on the PPS Echo Output pin. Must be less than 999. Defaults to 10ms.
14-
* echo: (boolean) Enables the PPS Echo Output signal. Defaults to off.
15-
* capture-clear: (boolean) Captures the clear event time. Defaults to off.
16-
* assert-falling-edge: (boolean) Uses the falling signal edge instead of the rising signal edge. Defaults to off.
13+
* schmitt-trigger: (boolean) Enable the Schmitt-trigger on the PPS Input pin.
14+
* Defaults to off.
15+
* echo-pin: (integer) Specifies the PPS Echo Output pin.
16+
* Takes the pin number correlating to the RPi 40-pin GPIO.
17+
* Defaults to GPIO 17.
18+
* echo-ms: (integer) Specifies the pulse-width in ms that the echo signal outputs
19+
* on the PPS Echo Output pin.
20+
* Must be less than 999.
21+
* Defaults to 10ms.
22+
* echo: (boolean) Enables the PPS Echo Output signal.
23+
* Defaults to off.
24+
* capture-clear: (boolean) Captures the clear event time.
25+
* Defaults to off.
26+
* assert-falling-edge: (boolean) Uses the falling signal edge instead of the
27+
* rising signal edge.
28+
* Defaults to off.
1729
*/
1830

1931
/dts-v1/;
@@ -36,7 +48,7 @@
3648
};
3749

3850
fragment@1 {
39-
target = <&gpio>;
51+
target = <&gpio>;
4052
__overlay__ {
4153
pps_gpios: pps_gpios@ {
4254
pps_in: pps_in@ {
@@ -74,7 +86,11 @@
7486
<&pps>,"gpios:4{,=18}",
7587
<&pps_gpios>,"reg:0{,=18}",
7688
<&pps_in>,"reg:0{,=18}",
77-
<&pps_in>,"pins{2=gpio2,3=gpio3,4=gpio4,17=gpio17,27=gpio27,22=gpio22,10=gpio10,9=gpio9,11=gpio11,0=gpio0,5=gpio5,6=gpio6,13=gpio13,19=gpio19,26=gpio26,14=gpio14,15=gpio15,18=gpio18,23=gpio23,24=gpio24,25=gpio25,8=gpio8,7=gpio7,1=gpio1,12=gpio12,16=gpio16,20=gpio20,21=gpio21,=gpio18}";
89+
<&pps_in>,"pins{2=gpio2,3=gpio3,4=gpio4,17=gpio17,27=gpio27,22=gpio22,
90+
10=gpio10,9=gpio9,11=gpio11,0=gpio0,5=gpio5,6=gpio6,13=gpio13,
91+
19=gpio19,26=gpio26,14=gpio14,15=gpio15,18=gpio18,23=gpio23,
92+
24=gpio24,25=gpio25,8=gpio8,7=gpio7,1=gpio1,12=gpio12,16=gpio16,
93+
20=gpio20,21=gpio21,=gpio18}";
7894
pull-none = <&pps_in>,"bias-disable?";
7995
pull-up = <&pps_in>,"bias-pull-up?";
8096
pull-down = <&pps_in>,"bias-pull-down?";
@@ -83,7 +99,11 @@
8399
capture-clear = <&pps>,"capture-clear?";
84100
echo-pin =
85101
<&pps_out>,"reg:0{,=17}",
86-
<&pps_out>,"pins{2=gpio2,3=gpio3,4=gpio4,17=gpio17,27=gpio27,22=gpio22,10=gpio10,9=gpio9,11=gpio11,0=gpio0,5=gpio5,6=gpio6,13=gpio13,19=gpio19,26=gpio26,14=gpio14,15=gpio15,18=gpio18,23=gpio23,24=gpio24,25=gpio25,8=gpio8,7=gpio7,1=gpio1,12=gpio12,16=gpio16,20=gpio20,21=gpio21,=gpio17}",
102+
<&pps_out>,"pins{2=gpio2,3=gpio3,4=gpio4,17=gpio17,27=gpio27,22=gpio22,
103+
10=gpio10,9=gpio9,11=gpio11,0=gpio0,5=gpio5,6=gpio6,13=gpio13,
104+
19=gpio19,26=gpio26,14=gpio14,15=gpio15,18=gpio18,23=gpio23,
105+
24=gpio24,25=gpio25,8=gpio8,7=gpio7,1=gpio1,12=gpio12,16=gpio16,
106+
20=gpio20,21=gpio21,=gpio17}",
87107
<&pps_echo>,"echo-gpios:4{,=17}";
88108
echo-ms = <&pps_echo>,"echo-active-ms:0";
89109
echo = <0>,"+2+3";

0 commit comments

Comments
 (0)