Re: [PATCH 2/2] pps-gpio: Set echo GPIO pin via devicetree

From: Lukas Senger
Date: Thu Feb 15 2018 - 10:08:54 EST


> > @@ -20,18 +21,20 @@
> > target = <&gpio>;
> > __overlay__ {
> > pps_pins: pps_pins@12 {
> > - brcm,pins = <18>;
> > - brcm,function = <0>; // in
> > - brcm,pull = <0>; // off
> > + brcm,pins = <18 17>;
> > + brcm,function = <0 1>; // in
> > out
> > + brcm,pull = <0 0>; // off
> > off
>
> These modifications are not PPS related.
>
> > };
> > };
> > };
> >
> > __overrides__ {
> > - gpiopin = <&pps>,"gpios:4",
> > + gpiopin = <&pps>,"in-gpios:4",
> > <&pps>,"reg:0",
> > <&pps_pins>,"brcm,pins:0",
> > <&pps_pins>,"reg:0";
> > + echopin = <&pps>,"out-gpios:4",
> > + <&pps_pins>,"brcm,pins:4";
>
> Ditto.

I don't understand why these modifications are unrelated. Especially
the echopin-option should exist, shouldn't it?

Cheers,
Lukas