Re: [PATCH 2/4] net: fec: Allow the PHY node to be retrieved

2020-06-18 Thread Tom Rini
On Thu, Jun 18, 2020 at 04:05:22PM -0300, Fabio Estevam wrote: > As we move towards driver model, it is required to let the FEC driver > know how to properly deal with an Ethernet PHY subnode in the device tree. > > For example: > > &fec { > pinctrl-names = "default"; > pinctrl-0 =

[PATCH 2/4] net: fec: Allow the PHY node to be retrieved

2020-06-18 Thread Fabio Estevam
As we move towards driver model, it is required to let the FEC driver know how to properly deal with an Ethernet PHY subnode in the device tree. For example: &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_microsom_enet_ar8035>; phy-handle = <&phy>; phy-mo