1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Phy drivers for Broadcom platforms
4#
5menu "PHY drivers for Broadcom platforms"
6
7config PHY_BCM63XX_USBH
8	tristate "BCM63xx USBH PHY driver"
9	depends on BMIPS_GENERIC || COMPILE_TEST
10	select GENERIC_PHY
11	help
12	  Enable this to support the BCM63xx USBH PHY driver.
13	  If unsure, say N.
14
15config PHY_CYGNUS_PCIE
16	tristate "Broadcom Cygnus PCIe PHY driver"
17	depends on OF && (ARCH_BCM_CYGNUS || COMPILE_TEST)
18	select GENERIC_PHY
19	default ARCH_BCM_CYGNUS
20	help
21	  Enable this to support the Broadcom Cygnus PCIe PHY.
22	  If unsure, say N.
23
24config PHY_BCM_SR_USB
25	tristate "Broadcom Stingray USB PHY driver"
26	depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
27	select GENERIC_PHY
28	default ARCH_BCM_IPROC
29	help
30	  Enable this to support the Broadcom Stingray USB PHY
31	  driver. It supports all versions of Superspeed and
32	  Highspeed PHYs.
33	  If unsure, say N.
34
35config BCM_KONA_USB2_PHY
36	tristate "Broadcom Kona USB2 PHY Driver"
37	depends on HAS_IOMEM
38	select GENERIC_PHY
39	help
40	  Enable this to support the Broadcom Kona USB 2.0 PHY.
41
42config PHY_BCM_NS_USB2
43	tristate "Broadcom Northstar USB 2.0 PHY Driver"
44	depends on ARCH_BCM_IPROC || COMPILE_TEST
45	depends on HAS_IOMEM && OF
46	select GENERIC_PHY
47	help
48	  Enable this to support Broadcom USB 2.0 PHY connected to the USB
49	  controller on Northstar family.
50
51config PHY_BCM_NS_USB3
52	tristate "Broadcom Northstar USB 3.0 PHY Driver"
53	depends on ARCH_BCM_IPROC || COMPILE_TEST
54	depends on HAS_IOMEM && OF
55	depends on MDIO_BUS
56	select GENERIC_PHY
57	help
58	  Enable this to support Broadcom USB 3.0 PHY connected to the USB
59	  controller on Northstar family.
60
61config PHY_NS2_PCIE
62	tristate "Broadcom Northstar2 PCIe PHY driver"
63	depends on (OF && MDIO_BUS_MUX_BCM_IPROC) || (COMPILE_TEST && MDIO_BUS)
64	select GENERIC_PHY
65	default ARCH_BCM_IPROC
66	help
67	  Enable this to support the Broadcom Northstar2 PCIe PHY.
68	  If unsure, say N.
69
70config PHY_NS2_USB_DRD
71	tristate "Broadcom Northstar2 USB DRD PHY support"
72	depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
73	select GENERIC_PHY
74	select EXTCON
75	default ARCH_BCM_IPROC
76	help
77	  Enable this to support the Broadcom Northstar2 USB DRD PHY.
78	  This driver initializes the PHY in either HOST or DEVICE mode.
79	  The host or device configuration is read from device tree.
80
81	  If unsure, say N.
82
83config PHY_BRCM_SATA
84	tristate "Broadcom SATA PHY driver"
85	depends on ARCH_BRCMSTB || ARCH_BCM_IPROC || BMIPS_GENERIC || \
86		   ARCH_BCMBCA || COMPILE_TEST
87	depends on OF
88	select GENERIC_PHY
89	default ARCH_BCM_IPROC
90	help
91	  Enable this to support the Broadcom SATA PHY.
92	  If unsure, say N.
93
94config PHY_BRCM_USB
95	tristate "Broadcom STB USB PHY driver"
96	depends on ARCH_BCMBCA || ARCH_BRCMSTB || COMPILE_TEST
97	depends on OF
98	select GENERIC_PHY
99	select SOC_BRCMSTB if ARCH_BRCMSTB
100	default ARCH_BCMBCA || ARCH_BRCMSTB
101	help
102	  Enable this to support the Broadcom STB USB PHY.
103	  This driver is required by the USB XHCI, EHCI and OHCI
104	  drivers.
105	  If unsure, say N.
106
107config PHY_BCM_SR_PCIE
108	tristate "Broadcom Stingray PCIe PHY driver"
109	depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
110	select GENERIC_PHY
111	select MFD_SYSCON
112	default ARCH_BCM_IPROC
113	help
114	  Enable this to support the Broadcom Stingray PCIe PHY
115	  If unsure, say N.
116
117endmenu
118