phy: add driver for Intel XWAY PHY
Subsystems (2)
PATCH 1/1 phy: add driver for Intel XWAY PHY
Add a driver for the Intel XWAY GbE PHY:
- configure RGMII using dt phy-mode and standard delay properties
- use genphy_config
Signed-off-by Tim Harvey <[email protected]>
--- drivers/net/phy/Kconfig | 5 ++++ drivers/net/phy/Makefile | 1 + drivers/net/phy/intel_xway.c | 48 ++++++++++++++++++++++++++++++++++++ drivers/net/phy/phy.c | 3 +++ include/phy.h | 1 + 5 files changed, 58 insertions(+) create mode 100644 drivers/net/phy/intel_xway.c
drivers/net/phy/Kconfig +5 -0
@@ -321,6 +321,11 @@ config PHY_XILINX_GMII2RGMII as bridge between MAC connected over GMII and external phy that is connected over RGMII interface. +config PHY_XWAY + bool "Intel XWAY PHY support" + help + This adds support for the Intel XWAY (formerly Lantiq) Gbe PHYs. + config PHY_ETHERNET_ID bool "Read ethernet PHY id" depends on DM_GPIO
drivers/net/phy/Makefile +1 -0
@@ -34,6 +34,7 @@ obj-$(CONFIG_PHY_TI_DP83867) += dp83867.o obj-$(CONFIG_PHY_TI_DP83869) += dp83869.o obj-$(CONFIG_PHY_XILINX) += xilinx_phy.o obj-$(CONFIG_PHY_XILINX_GMII2RGMII) += xilinx_gmii2rgmii.o +obj-$(CONFIG_PHY_XWAY) += intel_xway.o obj-$(CONFIG_PHY_ETHERNET_ID) += ethernet_id.o obj-$(CONFIG_PHY_VITESSE) += vitesse.o obj-$(CONFIG_PHY_MSCC) += mscc.o
drivers/net/phy/intel_xway.c new file +48 -0
48 lines not on this page · raw message
drivers/net/phy/phy.c +3 -0
@@ -556,6 +556,9 @@ int phy_init(void)#ifdef CONFIG_PHY_XILINX phy_xilinx_init ();#endif +#ifdef CONFIG_PHY_XWAY +phy_xway_init (); +#endif #ifdef CONFIG_PHY_MSCC phy_mscc_init ();#endif
include/phy.h +1 -0
@@ -380,6 +380,7 @@ int phy_teranetics_init(void);int phy_ti_init (void );int phy_vitesse_init (void );int phy_xilinx_init (void ); +int phy_xway_init (void );int phy_mscc_init (void );int phy_fixed_init (void );int phy_ncsi_init (void );
Signature · 1 line
2.25.1
Quoted 5 lines · Tim Harvey
Add a driver for the Intel XWAY GbE PHY:
- configure RGMII using dt phy-mode and standard delay properties
- usegenphy_configSigned-off-by Tim Harvey <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom