[LinuxPPS] linuxpps and devicetree support
Jan Lübbe
jlu at pengutronix.de
Wed May 1 16:08:09 CEST 2013
On Fri, 2013-04-26 at 08:12 -0400, tlhackque wrote:
> capture {clear,assert} tells PPS software which edge(s) to record and
> deliver to userspace.
This seems to be a configuration setting and as such should not go into
the DT.
> assert {rising,falling} edge tells GPIO which edge(s) it should
> program to interrupt, and which logic level is the asserted (true,
> '1') state.
> PPS only cares about edges, so hardware level-sensitive lines are
> turned into edges by the driver stack.
So we would only have a flag "assert-falling-edge" which switches from
the default assert-rising-edge to assert-falling-edge. Based on this
flag, the driver should be able to figure out the necessary interrupt
configuration by itself.
Regards,
Jan
More information about the discussions
mailing list