Re: [U-Boot] [PATCH 2/2] net: phy: micrel: fix divisor value for KSZ9031 phy skew

2016-02-02 Thread Dinh Nguyen
On 01/27/2016 07:26 PM, Måns Rullgård wrote: > writes: > >> From: Dinh Nguyen >> >> The picoseconds to register value divisor(ps_to_regval) should be 60 and not >> 200. Linux has KSZ9031_PS_TO_REG defined to be 60 as well. 60 is

Re: [U-Boot] [PATCH 2/2] net: phy: micrel: fix divisor value for KSZ9031 phy skew

2016-01-27 Thread Marek Vasut
On Wednesday, January 27, 2016 at 10:46:00 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > The picoseconds to register value divisor(ps_to_regval) should be 60 and > not 200. Linux has KSZ9031_PS_TO_REG defined to be 60 as well. 60 is the >

Re: [U-Boot] [PATCH 2/2] net: phy: micrel: fix divisor value for KSZ9031 phy skew

2016-01-27 Thread Marek Vasut
On Wednesday, January 27, 2016 at 11:53:29 PM, Joe Hershberger wrote: > Hi Marek, > > On Wed, Jan 27, 2016 at 4:07 PM, Marek Vasut wrote: > > On Wednesday, January 27, 2016 at 10:46:00 PM, > > dingu...@opensource.altera.com > > > > wrote: > >> From: Dinh Nguyen

Re: [U-Boot] [PATCH 2/2] net: phy: micrel: fix divisor value for KSZ9031 phy skew

2016-01-27 Thread Måns Rullgård
writes: > From: Dinh Nguyen > > The picoseconds to register value divisor(ps_to_regval) should be 60 and not > 200. Linux has KSZ9031_PS_TO_REG defined to be 60 as well. 60 is the correct > divisor because the 4-bit skew values are

Re: [U-Boot] [PATCH 2/2] net: phy: micrel: fix divisor value for KSZ9031 phy skew

2016-01-27 Thread Joe Hershberger
On Wed, Jan 27, 2016 at 3:46 PM, wrote: > From: Dinh Nguyen > > The picoseconds to register value divisor(ps_to_regval) should be 60 and not > 200. Linux has KSZ9031_PS_TO_REG defined to be 60 as well. 60 is the correct > divisor

Re: [U-Boot] [PATCH 2/2] net: phy: micrel: fix divisor value for KSZ9031 phy skew

2016-01-27 Thread Joe Hershberger
Hi Marek, On Wed, Jan 27, 2016 at 4:07 PM, Marek Vasut wrote: > On Wednesday, January 27, 2016 at 10:46:00 PM, dingu...@opensource.altera.com > wrote: >> From: Dinh Nguyen >> >> The picoseconds to register value divisor(ps_to_regval) should be 60

[U-Boot] [PATCH 2/2] net: phy: micrel: fix divisor value for KSZ9031 phy skew

2016-01-27 Thread dinguyen
From: Dinh Nguyen The picoseconds to register value divisor(ps_to_regval) should be 60 and not 200. Linux has KSZ9031_PS_TO_REG defined to be 60 as well. 60 is the correct divisor because the 4-bit skew values are defined from 0x(-420ps) to 0x(480ps),