[PATCH v2 1/3] net: stmmac: allow drivers to explicitly select PHY device

James Hilliard james.hilliard1 at gmail.com
Tue May 27 12:21:21 PDT 2025


On Tue, May 27, 2025 at 1:14 PM Andrew Lunn <andrew at lunn.ch> wrote:
>
> On Tue, May 27, 2025 at 11:55:54AM -0600, James Hilliard wrote:
> > Some devices like the Allwinner H616 need the ability to select a phy
> > in cases where multiple PHY's may be present in a device tree due to
> > needing the ability to support multiple SoC variants with runtime
> > PHY selection.
>
> I'm not convinced about this yet. As far as i see, it is different
> variants of the H616. They should have different compatibles, since
> they are not actually compatible, and you should have different DT
> descriptions. So you don't need runtime PHY selection.

Different compatibles for what specifically? I mean the PHY compatibles
are just the generic "ethernet-phy-ieee802.3-c22" compatibles.

>
>         Andrew



More information about the linux-arm-kernel mailing list