From: martin.blumenstingl@googlemail.com (Martin Blumenstingl)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 2/2] ARM64: dts: meson-gxm: add the PHY interrupt line on Khadas VIM2
Date: Sat, 2 Dec 2017 22:40:37 +0100 [thread overview]
Message-ID: <20171202214037.17017-3-martin.blumenstingl@googlemail.com> (raw)
In-Reply-To: <20171202214037.17017-1-martin.blumenstingl@googlemail.com>
The INTB/PMEB pin of the RTL8211F PHY on the Khadas VIM2 is routed to
GPIOZ_15. Add the corresponding interrupt using the GPIO interrupt
controller so the PHY framework doesn't have to poll the PHY for it's
status.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
index 34a41b26a4ed..5c2bc2989519 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
@@ -232,6 +232,9 @@
external_phy: ethernet-phy at 0 {
/* Realtek RTL8211F (0x001cc916) */
reg = <0>;
+ interrupt-parent = <&gpio_intc>;
+ /* MAC_INTR on GPIOZ_15 */
+ interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
};
};
--
2.15.1
next prev parent reply other threads:[~2017-12-02 21:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-02 21:40 [PATCH 0/2] Ethernet PHY interrupt improvements Martin Blumenstingl
2017-12-02 21:40 ` [PATCH 1/2] ARM64: dts: meson: add comments with the GPIO for the PHY interrupts Martin Blumenstingl
2017-12-04 9:42 ` Jerome Brunet
2017-12-02 21:40 ` Martin Blumenstingl [this message]
2017-12-04 9:43 ` [PATCH 2/2] ARM64: dts: meson-gxm: add the PHY interrupt line on Khadas VIM2 Jerome Brunet
2017-12-03 14:16 ` [PATCH 0/2] Ethernet PHY interrupt improvements Jerome Brunet
2017-12-08 18:48 ` Kevin Hilman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171202214037.17017-3-martin.blumenstingl@googlemail.com \
--to=martin.blumenstingl@googlemail.com \
--cc=linus-amlogic@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®