forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/phy/broadcom/Kconfig
....@@ -1,6 +1,15 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Phy drivers for Broadcom platforms
34 #
5
+config PHY_BCM63XX_USBH
6
+ tristate "BCM63xx USBH PHY driver"
7
+ depends on BMIPS_GENERIC || COMPILE_TEST
8
+ select GENERIC_PHY
9
+ help
10
+ Enable this to support the BCM63xx USBH PHY driver.
11
+ If unsure, say N.
12
+
413 config PHY_CYGNUS_PCIE
514 tristate "Broadcom Cygnus PCIe PHY driver"
615 depends on OF && (ARCH_BCM_CYGNUS || COMPILE_TEST)
....@@ -8,6 +17,17 @@
817 default ARCH_BCM_CYGNUS
918 help
1019 Enable this to support the Broadcom Cygnus PCIe PHY.
20
+ If unsure, say N.
21
+
22
+config PHY_BCM_SR_USB
23
+ tristate "Broadcom Stingray USB PHY driver"
24
+ depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
25
+ select GENERIC_PHY
26
+ default ARCH_BCM_IPROC
27
+ help
28
+ Enable this to support the Broadcom Stingray USB PHY
29
+ driver. It supports all versions of Superspeed and
30
+ Highspeed PHYs.
1131 If unsure, say N.
1232
1333 config BCM_KONA_USB2_PHY
....@@ -38,7 +58,7 @@
3858
3959 config PHY_NS2_PCIE
4060 tristate "Broadcom Northstar2 PCIe PHY driver"
41
- depends on OF && MDIO_BUS_MUX_BCM_IPROC
61
+ depends on (OF && MDIO_BUS_MUX_BCM_IPROC) || (COMPILE_TEST && MDIO_BUS)
4262 select GENERIC_PHY
4363 default ARCH_BCM_IPROC
4464 help
....@@ -71,7 +91,7 @@
7191
7292 config PHY_BRCM_USB
7393 tristate "Broadcom STB USB PHY driver"
74
- depends on ARCH_BRCMSTB
94
+ depends on ARCH_BRCMSTB || COMPILE_TEST
7595 depends on OF
7696 select GENERIC_PHY
7797 select SOC_BRCMSTB