18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Phy drivers for Broadcom platforms
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ciconfig PHY_BCM63XX_USBH
68c2ecf20Sopenharmony_ci	tristate "BCM63xx USBH PHY driver"
78c2ecf20Sopenharmony_ci	depends on BMIPS_GENERIC || COMPILE_TEST
88c2ecf20Sopenharmony_ci	select GENERIC_PHY
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  Enable this to support the BCM63xx USBH PHY driver.
118c2ecf20Sopenharmony_ci	  If unsure, say N.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciconfig PHY_CYGNUS_PCIE
148c2ecf20Sopenharmony_ci	tristate "Broadcom Cygnus PCIe PHY driver"
158c2ecf20Sopenharmony_ci	depends on OF && (ARCH_BCM_CYGNUS || COMPILE_TEST)
168c2ecf20Sopenharmony_ci	select GENERIC_PHY
178c2ecf20Sopenharmony_ci	default ARCH_BCM_CYGNUS
188c2ecf20Sopenharmony_ci	help
198c2ecf20Sopenharmony_ci	  Enable this to support the Broadcom Cygnus PCIe PHY.
208c2ecf20Sopenharmony_ci	  If unsure, say N.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciconfig PHY_BCM_SR_USB
238c2ecf20Sopenharmony_ci	tristate "Broadcom Stingray USB PHY driver"
248c2ecf20Sopenharmony_ci	depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
258c2ecf20Sopenharmony_ci	select GENERIC_PHY
268c2ecf20Sopenharmony_ci	default ARCH_BCM_IPROC
278c2ecf20Sopenharmony_ci	help
288c2ecf20Sopenharmony_ci	  Enable this to support the Broadcom Stingray USB PHY
298c2ecf20Sopenharmony_ci	  driver. It supports all versions of Superspeed and
308c2ecf20Sopenharmony_ci	  Highspeed PHYs.
318c2ecf20Sopenharmony_ci	  If unsure, say N.
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciconfig BCM_KONA_USB2_PHY
348c2ecf20Sopenharmony_ci	tristate "Broadcom Kona USB2 PHY Driver"
358c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
368c2ecf20Sopenharmony_ci	select GENERIC_PHY
378c2ecf20Sopenharmony_ci	help
388c2ecf20Sopenharmony_ci	  Enable this to support the Broadcom Kona USB 2.0 PHY.
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ciconfig PHY_BCM_NS_USB2
418c2ecf20Sopenharmony_ci	tristate "Broadcom Northstar USB 2.0 PHY Driver"
428c2ecf20Sopenharmony_ci	depends on ARCH_BCM_IPROC || COMPILE_TEST
438c2ecf20Sopenharmony_ci	depends on HAS_IOMEM && OF
448c2ecf20Sopenharmony_ci	select GENERIC_PHY
458c2ecf20Sopenharmony_ci	help
468c2ecf20Sopenharmony_ci	  Enable this to support Broadcom USB 2.0 PHY connected to the USB
478c2ecf20Sopenharmony_ci	  controller on Northstar family.
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciconfig PHY_BCM_NS_USB3
508c2ecf20Sopenharmony_ci	tristate "Broadcom Northstar USB 3.0 PHY Driver"
518c2ecf20Sopenharmony_ci	depends on ARCH_BCM_IPROC || COMPILE_TEST
528c2ecf20Sopenharmony_ci	depends on HAS_IOMEM && OF
538c2ecf20Sopenharmony_ci	depends on MDIO_BUS
548c2ecf20Sopenharmony_ci	select GENERIC_PHY
558c2ecf20Sopenharmony_ci	help
568c2ecf20Sopenharmony_ci	  Enable this to support Broadcom USB 3.0 PHY connected to the USB
578c2ecf20Sopenharmony_ci	  controller on Northstar family.
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ciconfig PHY_NS2_PCIE
608c2ecf20Sopenharmony_ci	tristate "Broadcom Northstar2 PCIe PHY driver"
618c2ecf20Sopenharmony_ci	depends on (OF && MDIO_BUS_MUX_BCM_IPROC) || (COMPILE_TEST && MDIO_BUS)
628c2ecf20Sopenharmony_ci	select GENERIC_PHY
638c2ecf20Sopenharmony_ci	default ARCH_BCM_IPROC
648c2ecf20Sopenharmony_ci	help
658c2ecf20Sopenharmony_ci	  Enable this to support the Broadcom Northstar2 PCIe PHY.
668c2ecf20Sopenharmony_ci	  If unsure, say N.
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ciconfig PHY_NS2_USB_DRD
698c2ecf20Sopenharmony_ci	tristate "Broadcom Northstar2 USB DRD PHY support"
708c2ecf20Sopenharmony_ci	depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
718c2ecf20Sopenharmony_ci	select GENERIC_PHY
728c2ecf20Sopenharmony_ci	select EXTCON
738c2ecf20Sopenharmony_ci	default ARCH_BCM_IPROC
748c2ecf20Sopenharmony_ci	help
758c2ecf20Sopenharmony_ci	  Enable this to support the Broadcom Northstar2 USB DRD PHY.
768c2ecf20Sopenharmony_ci	  This driver initializes the PHY in either HOST or DEVICE mode.
778c2ecf20Sopenharmony_ci	  The host or device configuration is read from device tree.
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ci	  If unsure, say N.
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ciconfig PHY_BRCM_SATA
828c2ecf20Sopenharmony_ci	tristate "Broadcom SATA PHY driver"
838c2ecf20Sopenharmony_ci	depends on ARCH_BRCMSTB || ARCH_BCM_IPROC || BMIPS_GENERIC || \
848c2ecf20Sopenharmony_ci		   ARCH_BCM_63XX || COMPILE_TEST
858c2ecf20Sopenharmony_ci	depends on OF
868c2ecf20Sopenharmony_ci	select GENERIC_PHY
878c2ecf20Sopenharmony_ci	default ARCH_BCM_IPROC
888c2ecf20Sopenharmony_ci	help
898c2ecf20Sopenharmony_ci	  Enable this to support the Broadcom SATA PHY.
908c2ecf20Sopenharmony_ci	  If unsure, say N.
918c2ecf20Sopenharmony_ci
928c2ecf20Sopenharmony_ciconfig PHY_BRCM_USB
938c2ecf20Sopenharmony_ci	tristate "Broadcom STB USB PHY driver"
948c2ecf20Sopenharmony_ci	depends on ARCH_BRCMSTB || COMPILE_TEST
958c2ecf20Sopenharmony_ci	depends on OF
968c2ecf20Sopenharmony_ci	select GENERIC_PHY
978c2ecf20Sopenharmony_ci	select SOC_BRCMSTB
988c2ecf20Sopenharmony_ci	default ARCH_BRCMSTB
998c2ecf20Sopenharmony_ci	help
1008c2ecf20Sopenharmony_ci	  Enable this to support the Broadcom STB USB PHY.
1018c2ecf20Sopenharmony_ci	  This driver is required by the USB XHCI, EHCI and OHCI
1028c2ecf20Sopenharmony_ci	  drivers.
1038c2ecf20Sopenharmony_ci	  If unsure, say N.
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ciconfig PHY_BCM_SR_PCIE
1068c2ecf20Sopenharmony_ci	tristate "Broadcom Stingray PCIe PHY driver"
1078c2ecf20Sopenharmony_ci	depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
1088c2ecf20Sopenharmony_ci	select GENERIC_PHY
1098c2ecf20Sopenharmony_ci	select MFD_SYSCON
1108c2ecf20Sopenharmony_ci	default ARCH_BCM_IPROC
1118c2ecf20Sopenharmony_ci	help
1128c2ecf20Sopenharmony_ci	  Enable this to support the Broadcom Stingray PCIe PHY
1138c2ecf20Sopenharmony_ci	  If unsure, say N.
114