Re: [PATCH] net: mdiobus: add fwnode_phy_is_fixed_link()

From: Russell King (Oracle)
Date: Mon Oct 10 2022 - 12:43:31 EST


On Mon, Oct 10, 2022 at 05:03:27PM +0200, Andrew Lunn wrote:
> On Mon, Oct 10, 2022 at 12:20:06AM +0800, Soha Jin wrote:
> > A helper function to check if PHY is fixed link with fwnode properties.
> > This is similar to of_phy_is_fixed_link.
>
> You need to include a user of this new function.
>
> Also, not that ACPI only defines the 'new binding' for fixed-link. If
> this is being called on a device which is ACPI underneath, it should
> only return true for the 'new binding', not the old binding.

Do we want to support the "managed" property in the fwnode variant,
or persuade people to switch to phylink if they want that?

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!