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