linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: meson-axg: s400: Enable PHY interrupt
@ 2018-12-05 15:52 Carlo Caione
  2018-12-05 17:10 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Carlo Caione @ 2018-12-05 15:52 UTC (permalink / raw)
  To: robh+dt, mark.rutland, khilman, devicetree, linux-arm-kernel,
	linux-amlogic, jbrunet
  Cc: Carlo Caione

Now that the GPIO controller has been enabled also on AXG we can hook up
the GPIO interrupt for the PHY.

Tested-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
---

This depends on https://patchwork.kernel.org/patch/10707741/

---
 arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
index 18778ada7bd3..e7efb5a76f04 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
@@ -357,6 +357,8 @@
 		eth_phy0: ethernet-phy@0 {
 			/* Realtek RTL8211F (0x001cc916) */
 			reg = <0>;
+			interrupt-parent = <&gpio_intc>;
+			interrupts = <98 IRQ_TYPE_LEVEL_LOW>;
 			eee-broken-1000t;
 		};
 	};
-- 
2.19.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: meson-axg: s400: Enable PHY interrupt
  2018-12-05 15:52 [PATCH] arm64: dts: meson-axg: s400: Enable PHY interrupt Carlo Caione
@ 2018-12-05 17:10 ` Kevin Hilman
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2018-12-05 17:10 UTC (permalink / raw)
  To: Carlo Caione, robh+dt, mark.rutland, devicetree, linux-arm-kernel,
	linux-amlogic, jbrunet
  Cc: Carlo Caione

Carlo Caione <ccaione@baylibre.com> writes:

> Now that the GPIO controller has been enabled also on AXG we can hook up
> the GPIO interrupt for the PHY.
>
> Tested-by: Jerome Brunet <jbrunet@baylibre.com>
> Signed-off-by: Carlo Caione <ccaione@baylibre.com>
> ---
>
> This depends on https://patchwork.kernel.org/patch/10707741/

Queued for v4.21 on top of dependency (thanks for noting it!)

Kevin




_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-05 17:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-05 15:52 [PATCH] arm64: dts: meson-axg: s400: Enable PHY interrupt Carlo Caione
2018-12-05 17:10 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).