[LinuxPPS] linuxpps and devicetree support

Jan Lübbe jlu at pengutronix.de
Fri Apr 26 10:37:40 CEST 2013


On Fri, 2013-04-26 at 17:37 +1000, Damien Dusha wrote:
> My hack-up had the following for an i.mx53-based board, but I am yet
> to test it:
> 
>     pps at gps0 {
>         compatible = "pps-gpio";
>         gpios = <&gpio0 2 0>;
>         assert-falling-edge = 1;
>         capture-clear = 1;
>     };
> 
> 
> What's your opinion on explicit values for the flags vs the mere
> existance of the flags?

Usually in DT, boolean options are defined simply by existence.

Is there a preexisting terminology for things like which edge to
capture, polarity, assert/clear in the PPS area? Do we really need more
than whether the rising or falling edge is aligned to the second?

Regards,
Jan
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |





More information about the discussions mailing list