ARM64: dts: meson-gxl: add internal ethernet PHY irq
Subsystems (2)
Jerome Brunet
reviewerPATCH 1/1 ARM64: dts: meson-gxl: add internal ethernet PHY irq
Add the interrupt of the internal ethernet PHY
---
Hi Kevin,
This changes depends on the net-next changes adding interrupt support [0]. It is really important that this change is not merged before its dependency.
If it is merged before, instead of polling, the phy would wait for an interrupt which has not been configured and will never fire.
Tested on the libretech-cc and khadas VIM.
Cheers
Jerome
https://lkml.kernel.org/r/20171218094446.31912-7-jbrunet at baylibre.com
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +1 -0
@@ -631,6 +631,7 @@ internal_phy: ethernet-phy at 8 { compatible = "ethernet-phy-id0181.4400", "ethernet-phy-ieee802.3-c22"; + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; reg = <8>; max-speed = <100>; };
Signature · 1 line
2.14.3
Kevin Hilman
maintainerQuoted 6 lines · Jerome Brunet
Add the interrupt of the internal ethernet PHY
Signed-off-by Jerome Brunet <[email protected]>---
Hi Kevin,
Quoted 6 lines
This changes depends on the net-next changes adding interrupt support [0]. It is really important that this change is not merged before its dependency.
If it is merged before, instead of polling, the phy would wait for an interrupt which has not been configured and will never fire.
Thanks for the warning. I'll wait and merge these after -rc1 to be sure of all dependencies.
Kevin