GPIO Interrupts

Jerome Brunet jbrunet at baylibre.com
Fri Jul 24 04:03:20 EDT 2020


On Thu 23 Jul 2020 at 20:40, honsch at telus.net <a6b04393 at telus.net> wrote:

> Hi there,
> I've been working on a ODroid C2 project for a while, (meson, gxbb) and I cannot get gpio interrupts working from the devicetree.
>
> I'm trying to hook up the PPS gpio driver as well as some gpio IIO triggers.  I had it all working on a 4.x kernel a couple of years ago but on the 5.7 it's a no-go.
>
> The pinctrl-meson driver is missing the hook for gpiod_to_irq(), and the irq-meson-gpio driver is missing the activate function for platform_get_irq() to function.
>
> Has either of these paths ever been implemented or tested?  Am I missing something simple?

Yes, Look at the eth0_phy0 DT node of your odroid-c2, it does use a gpio interrupt.

> Thanks.
>
> _______________________________________________
> linux-amlogic mailing list
> linux-amlogic at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-amlogic




More information about the linux-amlogic mailing list