Linux-Amlogic Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: hkallweit1@gmail.com (Heiner Kallweit)
To: linus-amlogic@lists.infradead.org
Subject: Ethernet stopped working after commit "ARM64: dts: meson-gx: add external PHY interrupt on some platforms"
Date: Sun, 12 Nov 2017 01:14:05 +0100	[thread overview]
Message-ID: <00aba1d0-6230-c368-4fa6-425e8b406c36@gmail.com> (raw)
In-Reply-To: <c398c180-e1dc-dea6-36b4-bc385a4c2eb3@gmail.com>

Am 10.11.2017 um 23:30 schrieb Heiner Kallweit:
> Hi Jerome,
> 
> after commit b94d22d94ad22 "ARM64: dts: meson-gx: add external PHY
> interrupt on some platforms" ethernet stopped working on my Odroid-C2.
> 
> AFAIK you meanwhile also have an Odroid-C2 for testing. Does it work for you?
> 
> Rgds, Heiner
> 
After some more checking I found that the RTL8211F INER register doesn't seem
to accept writes. If I read back the INER register value in
rtl8211f_config_intr() I always get 0x0000, no matter which values I write to
the register before.
If no interrupt is triggered by the chip it's clear that ethernet isn't working.

I add Shengzhou who submitted the RTL8211F support as I'm curious whether anybody
ever used the RTL8211F successfully in interrupt mode.

I have some doubts as the code doesn't enable the interrupt for finished aneg
(only the one for link change).

Or may there be chip versions w/o interrupt support?

Rgds, Heiner

  reply	other threads:[~2017-11-12  0:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-10 22:30 Ethernet stopped working after commit "ARM64: dts: meson-gx: add external PHY interrupt on some platforms" Heiner Kallweit
2017-11-12  0:14 ` Heiner Kallweit [this message]
2017-11-12 15:02   ` Heiner Kallweit

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=00aba1d0-6230-c368-4fa6-425e8b406c36@gmail.com \
    --to=hkallweit1@gmail.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