[PATCH 3/9] net: dsa: allow drivers to get the port OF node

2021-09-27 Thread Vladimir Oltean
In the current DSA switch driver API, only the udevice of the switch (belonging to UCLASS_DSA) is exposed, as well as an "int port" argument. So drivers do not have access to the udevice of individual ports (belonging to UCLASS_ETH), one of the reasons being that not all ports have an associated UC

Re: [PATCH 3/9] net: dsa: allow drivers to get the port OF node

2021-09-28 Thread Ramon Fried
On Tue, Sep 28, 2021 at 2:48 AM Vladimir Oltean wrote: > > In the current DSA switch driver API, only the udevice of the switch > (belonging to UCLASS_DSA) is exposed, as well as an "int port" argument. > So drivers do not have access to the udevice of individual ports > (belonging to UCLASS_ETH),