Skip to content

Commit f498644

Browse files
JiafeiPancarlescufi
authored andcommitted
drivers: eth: phy: add AR8031 PHY driver
Add PHY driver support for Qualcomm AR8031, it can use fixed link or use auto negotiation. Signed-off-by: Jiafei Pan <[email protected]>
1 parent f53d5d5 commit f498644

File tree

6 files changed

+553
-0
lines changed

6 files changed

+553
-0
lines changed

drivers/ethernet/phy/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ zephyr_library_sources_ifdef(CONFIG_PHY_ADIN2111 phy_adin2111.c)
55
zephyr_library_sources_ifdef(CONFIG_PHY_TJA1103 phy_tja1103.c)
66
zephyr_library_sources_ifdef(CONFIG_PHY_MICROCHIP_KSZ8081 phy_microchip_ksz8081.c)
77
zephyr_library_sources_ifdef(CONFIG_PHY_REALTEK_RTL8211F phy_realtek_rtl8211f.c)
8+
zephyr_library_sources_ifdef(CONFIG_PHY_QUALCOMM_AR8031 phy_qualcomm_ar8031.c)

drivers/ethernet/phy/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ config PHY_REALTEK_RTL8211F
5959
help
6060
Enable Realtek RTL8211F Ethernet PHY Driver
6161

62+
config PHY_QUALCOMM_AR8031
63+
bool "Qualcomm Atheros AR8031 Ethernet PHY Driver"
64+
default y
65+
depends on DT_HAS_QCA_AR8031_ENABLED
66+
depends on MDIO
67+
help
68+
Enable Qualcomm Atheros AR8031 Ethernet PHY Driver
69+
6270
config PHY_AUTONEG_TIMEOUT_MS
6371
int "Auto-negotiation timeout value in milliseconds"
6472
default 4000

0 commit comments

Comments
 (0)