From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] DTS: Fix ETH PHY reset on HSC|DDC boards (imx53)
Date: Mon, 1 Apr 2019 22:49:44 +0200 [thread overview]
Message-ID: <20190401224944.492fceba@jawa> (raw)
In-Reply-To: <CAOMZO5Bp2GAp1OjUwcUVwBFTdbu3YWE0bp6Kkh4_qcXYs=x3JA@mail.gmail.com>
Hi Fabio,
> Hi Lukasz,
>
> On Mon, Apr 1, 2019 at 11:02 AM Lukasz Majewski <lukma@denx.de> wrote:
> >
> > After the commit: "eth: dm: fec: Add gpio phy reset binding"
> > SHA1: efd0b791069af93e9d439a70d1fe2ae8994dbbfa
> >
> > The FEC ETH driver switched to PHY GPIO reset performed with data
> > defined in DTS.
> > For the HSC|DDC boards the GPIO reset signal is active low and
> > hence the wrong DTS description must be changed (otherwise the
> > reset for ETH is not properly setup).
>
> We should probably use the same approach as in the kernel to avoid
> regressions with old dtbs.
>
> In the kernel the GPIO polarity passed in the 'phy-reset-gpios'
> property is ignored and it is assumed to be active low, unless
> 'phy-reset-active-high' is passed.
This may be a good solution.
However, I do hope that this fix will be accepted to v2019.04 as it is
necessary to have ETH working (and it is the only convenient way to
update u-boot on this board).
The other needed patch is to Revert "drivers/net/fec: phy_init: remove
redundant logic" as pointed out by Marcel.
>
> Thanks
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190401/dffb119f/attachment.sig>
next prev parent reply other threads:[~2019-04-01 20:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-01 14:00 [U-Boot] [PATCH] cosmetic: config: Remove empty #ifdefs Lukasz Majewski
2019-04-01 14:00 ` [U-Boot] [PATCH] cosmetic: Remove not needed string from kp_imx53.h config Lukasz Majewski
2019-04-01 14:00 ` [U-Boot] [PATCH] DTS: Fix ETH PHY reset on HSC|DDC boards (imx53) Lukasz Majewski
2019-04-01 14:06 ` Fabio Estevam
2019-04-01 20:49 ` Lukasz Majewski [this message]
2019-04-02 11:22 ` Fabio Estevam
2019-04-02 11:40 ` Stefano Babic
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=20190401224944.492fceba@jawa \
--to=lukma@denx.de \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.