[PATCH net-next] net: dsa: mt7530: register OF node for internal MDIO bus
Vladimir Oltean
olteanv at gmail.com
Thu Dec 21 07:16:07 PST 2023
On Wed, Dec 20, 2023 at 07:35:39PM +0200, Arınç ÜNAL wrote:
> From: David Bauer <mail at david-bauer.net>
>
> The MT753x switches provide a switch-internal MDIO bus for the embedded
> PHYs.
>
> Register a OF sub-node on the switch OF-node for this internal MDIO bus.
> This allows to configure the embedded PHYs using device-tree.
>
> Signed-off-by: David Bauer <mail at david-bauer.net>
> Signed-off-by: Daniel Golle <daniel at makrotopia.org>
> Signed-off-by: Arınç ÜNAL <arinc.unal at arinc9.com>
> ---
Can you please not assign "bus" to ds->user_mii_bus unless there is no
"mdio" OF node? We don't need ds->user_mii_bus populated when it is
described in device tree.
More information about the Linux-mediatek
mailing list