Re: [PATCH] pps-gpio: implement echo pulses

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


> No hardcoded stuff please! :-D

I expected as much :) So I looked into it a bit more and came up with
the patch below. It works for me but I'm unsure about two things in
particular:

In the __overrides__ section of the *.dts, why does gpiopin set reg and
should echopin set this as well?

In pps-gpio.c:135 how is pdata in the first part of this if-statement
supposed to know about these values?

Thanks,
Lukas