summaryrefslogtreecommitdiff
path: root/components/drivers/phy/Kconfig
blob: 138c55c5b5da432208f115d995fc82acd33d7b33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
menuconfig RT_USING_PHY
    bool "Using ethernet phy device drivers"
    default n
    help
      Enable the Ethernet PHY framework so MAC drivers can negotiate link state
      via MII/MDIO and apply vendor-specific fixes. Required when using RMII/RGMII
      external PHYs.

menuconfig RT_USING_PHY_V2
    bool "Using phy device and mii bus v2"
    depends on !RT_USING_PHY
    default n
    help
      Opt into the newer PHY/MDIO stack (version 2) which redesigns the PHY bus
      representation. Only enable this when migrating to the new API; it is
      mutually exclusive with the legacy PHY support.

if RT_USING_DM && RT_USING_PHY_V2
    osource "$(SOC_DM_PHY_DIR)/Kconfig"
endif