drivers: net: fsl_enetc: set phydev->node
PATCH 1/2 drivers: net: fsl_enetc: set phydev->node
The saved ofnode is used by some PHY drivers to access the device tree node of the PHY.
--- drivers/net/fsl_enetc.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/fsl_enetc.c +1 -0
@@ -248,6 +248,7 @@ static void enetc_start_phy(struct udevice *dev) supported =GENMASK (6 ,0 );/* speeds up to 1G & AN */ phy->advertising = phy->supported & supported; + phy->node = phy_node;phy_config (phy);phy_startup (phy); }
Signature · 1 line
2.20.1
PATCH 2/2 drivers: net: fsl_enetc: fix RGMII configuration
Add the missing RGMII PHY modes in which case the MAC has configure its RGMII settings. The only difference between these modes is the RX and TX delay configuration. A user might choose any RGMII mode in the device tree.
--- drivers/net/fsl_enetc.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/net/fsl_enetc.c +3 -0
@@ -191,6 +191,9 @@ static void enetc_start_pcs(struct udevice *dev)enetc_init_sgmii (dev);break ;case PHY_INTERFACE_MODE_RGMII : +case PHY_INTERFACE_MODE_RGMII_ID : +case PHY_INTERFACE_MODE_RGMII_RXID : +case PHY_INTERFACE_MODE_RGMII_TXID :enetc_init_rgmii (dev);break ;case PHY_INTERFACE_MODE_XGMII :
Signature · 1 line
2.20.1
PATCH 2/2 drivers: net: fsl_enetc: fix RGMII configuration
Quoted 9 lines · Michael Walle
Add the missing RGMII PHY modes in which case the MAC has configure its RGMII settings. The only difference between these modes is the RX and TX delay configuration. A user might choose any RGMII mode in the device tree.
Signed-off-by Michael Walle <[email protected]>--- drivers/net/fsl_enetc.c | 3 +++ 1 file changed, 3 insertions(+)
Thanks!
Priyanka Jain
AppliedPATCH 2/2 drivers: net: fsl_enetc: fix RGMII configuration
In reply to Michael WalleQuoted 10 lines
-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Michael Walle
Sent: Saturday, October 26, 2019 6:09 AM
To: u-boot at lists.denx.de
Cc: Joe Hershberger <[email protected]>; Catalin Horghidan <[email protected]>
Subject: [U-Boot] [PATCH 2/2] drivers: net:fsl_enetc: fix RGMII configuration
Quoted 6 lines
Add the missing RGMII PHY modes in which case the MAC has configure its RGMII settings. The only difference between these modes is the RX and TX delay configuration. A user might choose any RGMII mode in the device tree.
Signed-off-by Michael Walle <[email protected]>---
Applied to fsl-qoriq master, awaiting upstream.
Thanks
priyankajain
PATCH 1/2 drivers: net: fsl_enetc: set phydev->node
In reply to Michael WalleQuoted 8 lines · Michael Walle
The saved ofnode is used by some PHY drivers to access the device tree node of the PHY.
Signed-off-by Michael Walle <[email protected]>--- drivers/net/fsl_enetc.c | 1 + 1 file changed, 1 insertion(+)
Priyanka Jain
AppliedPATCH 1/2 drivers: net: fsl_enetc: set phydev->node
In reply to Michael WalleQuoted 10 lines
-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Michael Walle
Sent: Saturday, October 26, 2019 6:09 AM
To: u-boot at lists.denx.de
Cc: Joe Hershberger <[email protected]>; Catalin Horghidan <[email protected]>
Subject: [U-Boot] [PATCH 1/2] drivers: net:fsl_enetc: setphydev->node
Quoted 5 lines
The saved ofnode is used by some PHY drivers to access the device tree node of the PHY.
Signed-off-by Michael Walle <[email protected]>---
Applied to fsl-qoriq master, awaiting upstream.
Thanks
priyankajain