]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: phy: ti: Allow the driver to be more configurable
authorDan Murphy <dmurphy@ti.com>
Mon, 2 May 2016 20:45:59 +0000 (15:45 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 24 May 2016 16:42:04 +0000 (11:42 -0500)
commit085445ca4104906b94093eed1b5e37630ad3b93d
treef45ddbd50cca6b942b7abbf87fc0a2068118f074
parentc7ba7bdc9d9940313ff5a63644ae3d74c77636cc
net: phy: ti: Allow the driver to be more configurable

Not all devices use the same internal delay or fifo depth.
Add the ability to set the internal delay for rx or tx and the
fifo depth via the devicetree.  If the value is not set in the
devicetree then set the delay to the default.

If devicetree is not used then use the default defines within the
driver.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Tested-by: Mugunthan V N <mugunthanvnm@ti.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/ti.c