mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: jbrunet@baylibre.com (Jerome Brunet)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 0/2] Ethernet PHY interrupt improvements
Date: Sun, 03 Dec 2017 15:16:57 +0100	[thread overview]
Message-ID: <1512310617.2574.4.camel@baylibre.com> (raw)
In-Reply-To: <20171202214037.17017-1-martin.blumenstingl@googlemail.com>

On Sat, 2017-12-02 at 22:40 +0100, Martin Blumenstingl wrote:
> 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)

Good catch, I confirm that the interrupt in GPIOZ_15 and certainly not GPIOH_3

> 
> 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(+)
> 

  parent reply	other threads:[~2017-12-03 14:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
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 ` Jerome Brunet [this message]
2017-12-08 18:48   ` [PATCH 0/2] Ethernet PHY interrupt improvements 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=1512310617.2574.4.camel@baylibre.com \
    --to=jbrunet@baylibre.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®