xref: /openbmc/linux/drivers/phy/broadcom/Kconfig (revision 261ab1fd)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20b56e9a7SVivek Gautam#
30b56e9a7SVivek Gautam# Phy drivers for Broadcom platforms
40b56e9a7SVivek Gautam#
5783f6d3dSÁlvaro Fernández Rojasconfig PHY_BCM63XX_USBH
6783f6d3dSÁlvaro Fernández Rojas	tristate "BCM63xx USBH PHY driver"
7783f6d3dSÁlvaro Fernández Rojas	depends on BMIPS_GENERIC || COMPILE_TEST
8783f6d3dSÁlvaro Fernández Rojas	select GENERIC_PHY
9783f6d3dSÁlvaro Fernández Rojas	help
10783f6d3dSÁlvaro Fernández Rojas	  Enable this to support the BCM63xx USBH PHY driver.
11783f6d3dSÁlvaro Fernández Rojas	  If unsure, say N.
12783f6d3dSÁlvaro Fernández Rojas
130b56e9a7SVivek Gautamconfig PHY_CYGNUS_PCIE
140b56e9a7SVivek Gautam	tristate "Broadcom Cygnus PCIe PHY driver"
150b56e9a7SVivek Gautam	depends on OF && (ARCH_BCM_CYGNUS || COMPILE_TEST)
160b56e9a7SVivek Gautam	select GENERIC_PHY
170b56e9a7SVivek Gautam	default ARCH_BCM_CYGNUS
180b56e9a7SVivek Gautam	help
190b56e9a7SVivek Gautam	  Enable this to support the Broadcom Cygnus PCIe PHY.
200b56e9a7SVivek Gautam	  If unsure, say N.
210b56e9a7SVivek Gautam
224dcddbb3SSrinath Mannamconfig PHY_BCM_SR_USB
234dcddbb3SSrinath Mannam	tristate "Broadcom Stingray USB PHY driver"
244dcddbb3SSrinath Mannam	depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
254dcddbb3SSrinath Mannam	select GENERIC_PHY
264dcddbb3SSrinath Mannam	default ARCH_BCM_IPROC
274dcddbb3SSrinath Mannam	help
284dcddbb3SSrinath Mannam	  Enable this to support the Broadcom Stingray USB PHY
294dcddbb3SSrinath Mannam	  driver. It supports all versions of Superspeed and
304dcddbb3SSrinath Mannam	  Highspeed PHYs.
314dcddbb3SSrinath Mannam	  If unsure, say N.
324dcddbb3SSrinath Mannam
330b56e9a7SVivek Gautamconfig BCM_KONA_USB2_PHY
340b56e9a7SVivek Gautam	tristate "Broadcom Kona USB2 PHY Driver"
350b56e9a7SVivek Gautam	depends on HAS_IOMEM
360b56e9a7SVivek Gautam	select GENERIC_PHY
370b56e9a7SVivek Gautam	help
380b56e9a7SVivek Gautam	  Enable this to support the Broadcom Kona USB 2.0 PHY.
390b56e9a7SVivek Gautam
400b56e9a7SVivek Gautamconfig PHY_BCM_NS_USB2
410b56e9a7SVivek Gautam	tristate "Broadcom Northstar USB 2.0 PHY Driver"
420b56e9a7SVivek Gautam	depends on ARCH_BCM_IPROC || COMPILE_TEST
430b56e9a7SVivek Gautam	depends on HAS_IOMEM && OF
440b56e9a7SVivek Gautam	select GENERIC_PHY
450b56e9a7SVivek Gautam	help
460b56e9a7SVivek Gautam	  Enable this to support Broadcom USB 2.0 PHY connected to the USB
470b56e9a7SVivek Gautam	  controller on Northstar family.
480b56e9a7SVivek Gautam
490b56e9a7SVivek Gautamconfig PHY_BCM_NS_USB3
500b56e9a7SVivek Gautam	tristate "Broadcom Northstar USB 3.0 PHY Driver"
510b56e9a7SVivek Gautam	depends on ARCH_BCM_IPROC || COMPILE_TEST
520b56e9a7SVivek Gautam	depends on HAS_IOMEM && OF
53245db3c3SArnd Bergmann	depends on MDIO_BUS
540b56e9a7SVivek Gautam	select GENERIC_PHY
550b56e9a7SVivek Gautam	help
560b56e9a7SVivek Gautam	  Enable this to support Broadcom USB 3.0 PHY connected to the USB
570b56e9a7SVivek Gautam	  controller on Northstar family.
580b56e9a7SVivek Gautam
590b56e9a7SVivek Gautamconfig PHY_NS2_PCIE
600b56e9a7SVivek Gautam	tristate "Broadcom Northstar2 PCIe PHY driver"
61203b7ee1SKrzysztof Kozlowski	depends on (OF && MDIO_BUS_MUX_BCM_IPROC) || (COMPILE_TEST && MDIO_BUS)
620b56e9a7SVivek Gautam	select GENERIC_PHY
630b56e9a7SVivek Gautam	default ARCH_BCM_IPROC
640b56e9a7SVivek Gautam	help
650b56e9a7SVivek Gautam	  Enable this to support the Broadcom Northstar2 PCIe PHY.
660b56e9a7SVivek Gautam	  If unsure, say N.
670b56e9a7SVivek Gautam
68787f2454SRaviteja Garimellaconfig PHY_NS2_USB_DRD
69787f2454SRaviteja Garimella	tristate "Broadcom Northstar2 USB DRD PHY support"
70787f2454SRaviteja Garimella	depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
71787f2454SRaviteja Garimella	select GENERIC_PHY
72787f2454SRaviteja Garimella	select EXTCON
73787f2454SRaviteja Garimella	default ARCH_BCM_IPROC
74787f2454SRaviteja Garimella	help
75787f2454SRaviteja Garimella	  Enable this to support the Broadcom Northstar2 USB DRD PHY.
76787f2454SRaviteja Garimella	  This driver initializes the PHY in either HOST or DEVICE mode.
77787f2454SRaviteja Garimella	  The host or device configuration is read from device tree.
78787f2454SRaviteja Garimella
79787f2454SRaviteja Garimella	  If unsure, say N.
80787f2454SRaviteja Garimella
810b56e9a7SVivek Gautamconfig PHY_BRCM_SATA
820b56e9a7SVivek Gautam	tristate "Broadcom SATA PHY driver"
8326728df4SFlorian Fainelli	depends on ARCH_BRCMSTB || ARCH_BCM_IPROC || BMIPS_GENERIC || \
8426728df4SFlorian Fainelli		   ARCH_BCM_63XX || COMPILE_TEST
850b56e9a7SVivek Gautam	depends on OF
860b56e9a7SVivek Gautam	select GENERIC_PHY
870b56e9a7SVivek Gautam	default ARCH_BCM_IPROC
880b56e9a7SVivek Gautam	help
890b56e9a7SVivek Gautam	  Enable this to support the Broadcom SATA PHY.
900b56e9a7SVivek Gautam	  If unsure, say N.
9149859e55SAl Cooper
9249859e55SAl Cooperconfig PHY_BRCM_USB
9349859e55SAl Cooper	tristate "Broadcom STB USB PHY driver"
944b402fa8SRafał Miłecki	depends on ARCH_BCM4908 || ARCH_BRCMSTB || COMPILE_TEST
9549859e55SAl Cooper	depends on OF
9649859e55SAl Cooper	select GENERIC_PHY
97*261ab1fdSRafał Miłecki	select SOC_BRCMSTB if ARCH_BRCMSTB
984b402fa8SRafał Miłecki	default ARCH_BCM4908
9949859e55SAl Cooper	default ARCH_BRCMSTB
10049859e55SAl Cooper	help
10149859e55SAl Cooper	  Enable this to support the Broadcom STB USB PHY.
10249859e55SAl Cooper	  This driver is required by the USB XHCI, EHCI and OHCI
10349859e55SAl Cooper	  drivers.
10449859e55SAl Cooper	  If unsure, say N.
10592696a89SRay Jui
10692696a89SRay Juiconfig PHY_BCM_SR_PCIE
10792696a89SRay Jui	tristate "Broadcom Stingray PCIe PHY driver"
10892696a89SRay Jui	depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
10992696a89SRay Jui	select GENERIC_PHY
11092696a89SRay Jui	select MFD_SYSCON
11192696a89SRay Jui	default ARCH_BCM_IPROC
11292696a89SRay Jui	help
11392696a89SRay Jui	  Enable this to support the Broadcom Stingray PCIe PHY
11492696a89SRay Jui	  If unsure, say N.
115