On Mon, Jul 25, 2022 at 10:36 PM Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote: > On Sun, Jul 24, 2022 at 7:21 PM Marek Vasut <marex@xxxxxxx> wrote: > > > > Always configure GPIO pins which are used as interrupt source as INPUTs. > > In case the default pin configuration is OUTPUT, or the prior stage does > > configure the pins as OUTPUT, then Linux will not reconfigure the pin as > > INPUT and no interrupts are received. > > > > Always configure interrupt source GPIO pin as input to fix the above case. > > the interrupt > > ... > > I'm wondering if it's configured as output (by who?) shouldn't you > issue a warning? That could be the power-on default or boot loader that put it into output mode I think, so it can be something outside of the kernel and outside of our control. We just adjust the reality to the map and go on :P Yours, Linus Walleij