Messages in this thread | | | Date | Thu, 8 Apr 2021 18:47:56 +0200 | From | Andrew Lunn <> | Subject | Re: [RFC v3 net-next 0/4] MT7530 interrupt support |
| |
On Thu, Apr 08, 2021 at 11:00:08PM +0800, DENG Qingfang wrote: > Hi René, > > On Thu, Apr 8, 2021 at 10:02 PM René van Dorst <opensource@vdorst.com> wrote: > > > > Tested on Ubiquiti ER-X-SFP (MT7621) with 1 external phy which uses irq=POLL. > > > > I wonder if the external PHY's IRQ can be registered in the devicetree. > Change MT7530_NUM_PHYS to 6, and add the following to ER-X-SFP dts PHY node:
I don't know this platform. What is the PHYs interrupt pin connected to? A SoC GPIO? There is a generic mechanism to describe PHY interrupts in DT. That should be used, if it is a GPIO.
Andrew
| |