summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2025-12-01 17:03:18 +0800
committerR b b666 <[email protected]>2025-12-04 16:05:37 +0800
commit7c4e928df75594883cf06795dcbb83bce56100a3 (patch)
tree9f1bcac6c42cd5bc9fe575c8fc1dfbcef210a924 /components
parent62e1fe3699446360e9bb676d871facf21b2ff6b1 (diff)
[DM/PHY] Make Kconfig import for DM
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components')
-rw-r--r--components/drivers/phy/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/components/drivers/phy/Kconfig b/components/drivers/phy/Kconfig
index 92dcba8c4e..cf0560aed5 100644
--- a/components/drivers/phy/Kconfig
+++ b/components/drivers/phy/Kconfig
@@ -1,8 +1,12 @@
-config RT_USING_PHY
+menuconfig RT_USING_PHY
bool "Using ethernet phy device drivers"
default n
-config RT_USING_PHY_V2
+menuconfig RT_USING_PHY_V2
bool "Using phy device and mii bus v2"
depends on !RT_USING_PHY
default n
+
+if RT_USING_DM && RT_USING_PHY_V2
+ osource "$(SOC_DM_PHY_DIR)/Kconfig"
+endif