Message ID | 42861d8f-3570-03b9-987c-bb15fa92a9c7@cogentembedded.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 06/13/2018 07:42 PM, Sergei Shtylyov wrote: > Specify Ethernet PHY IRQs in the Condor/V3HSK board device trees, now that > we have the GPIO support (previously phylib had to resort to polling). > > Based on the original (and large) patch by Vladimir Barinov. > > Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> > > --- Forgot to add the the patch is against the 'renesas-devel-20180613-v4.17' tag. [...] MBR, Sergei
On Wed, Jun 13, 2018 at 07:44:02PM +0300, Sergei Shtylyov wrote: > On 06/13/2018 07:42 PM, Sergei Shtylyov wrote: > > > Specify Ethernet PHY IRQs in the Condor/V3HSK board device trees, now that > > we have the GPIO support (previously phylib had to resort to polling). > > > > Based on the original (and large) patch by Vladimir Barinov. > > > > Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> > > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> > > > > --- > > Forgot to add the the patch is against the 'renesas-devel-20180613-v4.17' tag. > Thanks Sergei, applied.
Index: renesas/arch/arm64/boot/dts/renesas/r8a77980-condor.dts =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77980-condor.dts +++ renesas/arch/arm64/boot/dts/renesas/r8a77980-condor.dts @@ -59,6 +59,8 @@ phy0: ethernet-phy@0 { rxc-skew-ps = <1500>; reg = <0>; + interrupt-parent = <&gpio1>; + interrupts = <17 IRQ_TYPE_LEVEL_LOW>; }; }; Index: renesas/arch/arm64/boot/dts/renesas/r8a77980-v3hsk.dts =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77980-v3hsk.dts +++ renesas/arch/arm64/boot/dts/renesas/r8a77980-v3hsk.dts @@ -48,6 +48,8 @@ phy0: ethernet-phy@0 { reg = <0>; + interrupt-parent = <&gpio4>; + interrupts = <23 IRQ_TYPE_LEVEL_LOW>; }; };