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

From: Andrew Lunn
Date: Mon Oct 10 2022 - 11:04:09 EST


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.

Andrew