From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chin Liang See Date: Mon, 7 Dec 2015 21:39:22 +0800 Subject: [U-Boot] [PATCH V2 1/7] net: phy: micrel: Configure KSZ9021/KSZ9031 skew from OF In-Reply-To: <1449494326-6166-1-git-send-email-marex@denx.de> References: <1449348111-18341-1-git-send-email-marex@denx.de> <1449494326-6166-1-git-send-email-marex@denx.de> Message-ID: <1449495562.2213.12.camel@altera.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 2015-12-07 at 14:18 +0100, Marek Vasut wrote: > Add code to process the KSZ9021/KSZ9031 OF props if they are present > and configure skew registers based on the information from the OF. > This code is only enabled if the DM support for ethernet is also > enabled. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Chin Liang See > Cc: Dinh Nguyen > --- > drivers/net/phy/micrel.c | 146 > ++++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 145 insertions(+), 1 deletion(-) > > V2: - Implement struct ksz90x1_reg_field to describe the skew > register > fields more accurately. > - Fix RXDV/TXEN skew register default value and offset. > > Acked-by: Chin Liang See Thanks Chin Liang