Re: [U-Boot] [PATCH] sun8i_emac: Fix mdio read sequence

2016-11-28 Thread Jagan Teki
On Fri, Nov 25, 2016 at 9:50 PM, Dr. Philipp Tomsich wrote: > Jagan, > >> On 25 Nov 2016, at 17:18, Jagan Teki wrote: >> >> On Wed, Nov 16, 2016 at 7:10 AM, Andre Przywara >> wrote: >>> From: Philipp Tomsich >>> >>> To send a parametrized command to the PHY over MDIO, we should write >>> the d

Re: [U-Boot] [PATCH] sun8i_emac: Fix mdio read sequence

2016-11-25 Thread Dr. Philipp Tomsich
Jagan, > On 25 Nov 2016, at 17:18, Jagan Teki wrote: > > On Wed, Nov 16, 2016 at 7:10 AM, Andre Przywara > wrote: >> From: Philipp Tomsich >> >> 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.

Re: [U-Boot] [PATCH] sun8i_emac: Fix mdio read sequence

2016-11-25 Thread Jagan Teki
On Wed, Nov 16, 2016 at 7:10 AM, Andre Przywara wrote: > From: Philipp Tomsich > > 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

[U-Boot] [PATCH] sun8i_emac: Fix mdio read sequence

2016-11-15 Thread Andre Przywara
From: Philipp Tomsich 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