Re: [PATCH mvebu-dt 3/6] ARM: dts: turris-omnia: describe ethernet-phy interrupt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux