[U-Boot] [PATCH] sun8i_emac: Fix mdio read sequence
Jagan Teki
jagan at openedev.com
Mon Nov 28 09:01:15 CET 2016
On Fri, Nov 25, 2016 at 9:50 PM, Dr. Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
> Jagan,
>
>> On 25 Nov 2016, at 17:18, Jagan Teki <jagan at openedev.com> wrote:
>>
>> On Wed, Nov 16, 2016 at 7:10 AM, Andre Przywara <andre.przywara at arm.com> wrote:
>>> From: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
>>>
>>> To send a parametrized command to the PHY over MDIO, we should write
>>> the data first, the trigger the execution by the command register
>>> write. Fix the access pattern in our MDIO write routine.
>>> Apparently this doesn't really matter with the Realtek PHY on the
>>> Pine64, but other PHYs (which require more setup) will choke on
>>> the wrong order.
>>
>> Any tested-by this on non-realtek, because I always remember to have
>> CMD with DATA sequence for mdio write for most of the PHY's and ie
>> default sequence though.
>
> We have a KSZ9031 on all our boards… so it was tested against the KSZ9031.
Applied to u-boot-spi/sunxi
thanks!
--
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
More information about the U-Boot
mailing list