linux-amlogic.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Ethernet PHY interrupt improvements
@ 2017-12-02 21:40 Martin Blumenstingl
  2017-12-02 21:40 ` [PATCH 1/2] ARM64: dts: meson: add comments with the GPIO for the PHY interrupts Martin Blumenstingl
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Martin Blumenstingl @ 2017-12-02 21:40 UTC (permalink / raw)
  To: linus-amlogic

this small series consists of two patches:
#1 documents the GPIO to which the PHY's interrupt line is connected
   (the name "MAC_INTR" is used in the schematics of Odroid-C2 and
    Khadas VIM2)
#2 adds the RTL8211F PHY's interrupt line on Khadas VIM2

I was a bit surprised to see that the GXM Q200 board seems to use
GPIOH_3 instead of GPIOZ_15 like all other boards.
@Jerome: could you please check if GPIOH_3 is correct or if it's
a "copy-and-paste" issue (Q200 is the only GXL/GXM based board.
GXL/GXM SoCs have fewer GPIOAO pins than GXBB, so the interrupt
offset for the same non-GPIOAO pin is different than on GXBB)

compile-tested: all boards
runtime tested: Khadas VIM2 (unplugging / plugging the Ethernet
cable increases the interrupt counter in /proc/interrupts and the
kernel correctly reports that the cable has been {un,}plugged)


Martin Blumenstingl (2):
  ARM64: dts: meson: add comments with the GPIO for the PHY interrupts
  ARM64: dts: meson-gxm: add the PHY interrupt line on Khadas VIM2

 arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts  | 1 +
 arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts   | 2 ++
 arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts       | 1 +
 arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 3 +++
 arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts        | 1 +
 5 files changed, 8 insertions(+)

-- 
2.15.1

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

end of thread, other threads:[~2017-12-08 18:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 2/2] ARM64: dts: meson-gxm: add the PHY interrupt line on Khadas VIM2 Martin Blumenstingl
2017-12-04  9:43   ` Jerome Brunet
2017-12-03 14:16 ` [PATCH 0/2] Ethernet PHY interrupt improvements Jerome Brunet
2017-12-08 18:48   ` 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).