Subject: Re: [PATCH 1/9] net: dsa: allow switch drivers to override default slave PHY addresses

From: Florian Fainelli <[email-masked]>
Date: Tue, 8 Nov 2022 10:10:56 -0800

On 11/8/2022 12:23 AM, Lukasz Majewski wrote:
> From: Matthias Schiffer <[email-masked]>
> 
> Avoid having to define a PHY for every physical port when PHY addresses
> are fixed, but port index != PHY address.
> 
> Signed-off-by: Matthias Schiffer <[email-masked]>
> Signed-off-by: Lukasz Majewski <[email-masked]>
> [Adjustments for newest kernel upstreaming]

Seems unnecessary when this can be specified through Device Tree entirely.

It is convenient to be able not to declare the switch internal MDIO bus 
and how the PHY address to port mapping is established, but Device Tree 
remains the most flexible way of mapping all possible types of 
configurations.
-- 
Florian