From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Fri, 25 Nov 2016 21:48:03 +0530 Subject: [U-Boot] [PATCH] sun8i_emac: Fix mdio read sequence In-Reply-To: <1479260427-17394-1-git-send-email-andre.przywara@arm.com> References: <1479260427-17394-1-git-send-email-andre.przywara@arm.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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. thanks! -- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad, India.