On Sat, Nov 14, 2020 at 05:49:28PM +0100, Marek Behún wrote: > On Sat, 14 Nov 2020 17:04:06 +0100 > Marek Behún <kabel@xxxxxxxxxx> wrote: > > > + interrupt-parent = <&pcawan>; > > + interrupt = <7 IRQ_TYPE_LEVEL_LOW>; > > Also we need to use IRQ_TYPE_EDGE_FALLING. The gpio-pca953x driver does > not support IRQ_TYPE_LEVEL_LOW... Please check the datasheet for the PHY. I expect you will find it is level triggering, not edge. So you can miss interrupts, and have the wrong state. I've also had bad experiences with pca953x and interrupt storms. I hope you are using one with the extended registers including the interrupt mask. Andrew