From: Michal Simek <monstr@monstr.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] RealTek RTL8211E u-boot driver
Date: Sat, 6 Feb 2016 13:45:32 +0100 [thread overview]
Message-ID: <56B5EAEC.6070504@monstr.eu> (raw)
Hi guys,
I am having one issue with RealTek RTL8211E u-boot driver.
I found you have added support for this phy in past.
The problem which I have is with rtl8211x_parse_status() where you are
working with page 11.
What was wrong on genphy_parse_link function?
The problem I do see is that SPDDONE bit is 1 but link bit is zero.
That's why phydev->link is setup to 0 which ending up in driver.
Zynq> dhcp
ethernet at e000b000 Waiting for PHY auto negotiation to complete....... done
ethernet at e000b000: No link.
There is sort of 1ms delay between spddone bit and link up.
No problem to add waiting loop in parse status to cover it or just move
to to genphy_parse_link.
Linux realtek driver is using genphy_read_status that's why I think this
is right way to go.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160206/6c4395cf/attachment.sig>
reply other threads:[~2016-02-06 12:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=56B5EAEC.6070504@monstr.eu \
--to=monstr@monstr.eu \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox