[PATCH 1/4] net: phy: aquantia: switch to use phy_get_ofnode()

Beiyan Yun root at infi.wang
Tue Sep 23 10:12:16 CEST 2025


Please refer to resent series at https://lists.denx.de/pipermail/u-boot/2025-September/598941.html

> On 23 Sep 2025, at 3:20 AM, Beiyan Yun <root at infi.wang> wrote:
> 
> Use PHY API phy_get_ofnode() helper to get PHY DT node.
> 
> Signed-off-by: Beiyan Yun <root at infi.wang>
> ---
> 
> drivers/net/phy/aquantia.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c
> index f63a13824ca..903fcd667f6 100644
> --- a/drivers/net/phy/aquantia.c
> +++ b/drivers/net/phy/aquantia.c
> @@ -338,7 +338,7 @@ static int aquantia_set_proto(struct phy_device *phydev,
> 
> static int aquantia_dts_config(struct phy_device *phydev)
> {
> -	ofnode node = phydev->node;
> +	ofnode node = phy_get_ofnode(phydev);
> 	u32 prop;
> 	u16 reg;
> 
> -- 
> 2.47.3
> 



More information about the U-Boot mailing list