From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] i.MX6 ethernet phy fixup
Date: Thu, 20 Jun 2013 17:34:30 +0200 [thread overview]
Message-ID: <1371742473-28026-1-git-send-email-s.hauer@pengutronix.de> (raw)
All i.MX6 boards with gigabit phy I'm aware of have the same fixup
in U-Boot for adjusting the rx/tx delay lines. In the kernel we
only have a fixup for the sabrelite board. Instead of adding individual
board hooks for each new boards I think we should just do register
the fixups unconditionally on i.MX for each known phy type.
This makes ethernet work on the different boards even when the bootloader
misses to do it (or Linux resets the phy during startup of the ethernet
interface).
I suspect this series is only the tip of the iceberg as I also see other
boards having to adjust the rx/tx delay lines. The proper fix would probably
be some phy level callbacks to adjust these values.
Sascha
----------------------------------------------------------------
Sascha Hauer (3):
ARM: i.MX6: call ksz9021 phy fixup for all i.MX6 boards
ARM: i.MX6: add ethernet phy fixup for AR8031
ARM: i.MX6: add ethernet phy fixup for KSZ9031
arch/arm/mach-imx/mach-imx6q.c | 60 +++++++++++++++++++++++++++++++++++++++---
1 file changed, 56 insertions(+), 4 deletions(-)
next reply other threads:[~2013-06-20 15:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-20 15:34 Sascha Hauer [this message]
2013-06-20 15:34 ` [PATCH 1/3] ARM: i.MX6: call ksz9021 phy fixup for all i.MX6 boards Sascha Hauer
2013-06-20 15:34 ` [PATCH 2/3] ARM: i.MX6: add ethernet phy fixup for AR8031 Sascha Hauer
2013-06-20 17:13 ` Michael Heimpold
2013-06-21 5:40 ` Shawn Guo
2013-06-20 15:34 ` [PATCH 3/3] ARM: i.MX6: add ethernet phy fixup for KSZ9031 Sascha Hauer
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=1371742473-28026-1-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@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;
as well as URLs for NNTP newsgroup(s).