Hi,
Ours is a custom board based on LS1046. We wanted to configure the pps interrupt throught GPS. So we have enabled the drivers and configured the dtsi file
pps {
gpios = <&gpio2 25 0>;
assert-falling-edge;
compatible = "pps-gpio";
status = "okay";
};
We also able to get the interrupt in cat /proc/interrupts
root@localhost:~# cat /proc/interrupts | grep pps
89: 315 0 0 0 mpc8xxx-gpio 25 Edge pps.-1
But when we check the assert it is always zero
root@localhost:~# cat /sys/class/pps/pps0/name
pps.-1
root@localhost:~# cat /sys/class/pps/pps0/assert
0.000000000#0
Please help us were we are doing wrong.
Thank you,
Deepanraj.A