[U-Boot] [PATCH] net: phy: ti: Use default values for tx/rx delay and fifo size

Joseph Hershberger joseph.hershberger at ni.com
Mon Jul 8 19:23:43 UTC 2019


> -----Original Message-----
> From: Trent Piepho <tpiepho at impinj.com>
> Sent: Thursday, May 09, 2019 2:42 PM
> To: u-boot at lists.denx.de
> Cc: Trent Piepho <tpiepho at impinj.com>; Joseph Hershberger
> <joseph.hershberger at ni.com>; Janine Hagemann
> <j.hagemann at phytec.de>; Grygorii Strashko <grygorii.strashko at ti.com>
> Subject: [EXTERNAL] [PATCH] net: phy: ti: Use default values for tx/rx delay
> and fifo size
> 
> When not using DM_ETH, these PHY settings are programmed with default
> values hardcoded into the driver.  When using DM_ETH, they should come
> from the device tree.  However, if the device tree does not have the
> properties, the driver will silent use -1.  Which is entirely out of range,
> programs nonsense into the PHY's registers, and does not work.
> 
> Change this to use the same defaults as non-DM_ETH if the device tree is
> lacking the properties.
> 
> As an alternative, the kernel driver for the phy will display an error message
> and fail if the device tree is lacking.
> 
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Janine Hagemann <j.hagemann at phytec.de>
> Cc: Grygorii Strashko <grygorii.strashko at ti.com>
> Signed-off-by: Trent Piepho <tpiepho at impinj.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list