Re: [U-Boot] [PATCH 1/5] net: phy: add ofnode node to struct phy_device

2018-07-03 Thread Grygorii Strashko
On 07/02/2018 04:10 PM, Joe Hershberger wrote: On Thu, Jun 28, 2018 at 2:47 PM, Grygorii Strashko wrote: Now the UCLASS_ETH device "node" field is owerwritten by some network drivers in case of Ethernet PHYs which are linked to UCLASS_ETH device using "phy-handle" DT property and when

Re: [U-Boot] [PATCH 1/5] net: phy: add ofnode node to struct phy_device

2018-07-02 Thread Joe Hershberger
On Thu, Jun 28, 2018 at 2:47 PM, Grygorii Strashko wrote: > Now the UCLASS_ETH device "node" field is owerwritten by some network drivers > in > case of Ethernet PHYs which are linked to UCLASS_ETH device using > "phy-handle" DT property and when Ethernet PHY driver needs to read some >

[U-Boot] [PATCH 1/5] net: phy: add ofnode node to struct phy_device

2018-06-28 Thread Grygorii Strashko
Now the UCLASS_ETH device "node" field is owerwritten by some network drivers in case of Ethernet PHYs which are linked to UCLASS_ETH device using "phy-handle" DT property and when Ethernet PHY driver needs to read some additional information from DT. In such cases following happens (in general):