18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Phy drivers for Qualcomm and Atheros platforms
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ciconfig PHY_ATH79_USB
68c2ecf20Sopenharmony_ci	tristate "Atheros AR71XX/9XXX USB PHY driver"
78c2ecf20Sopenharmony_ci	depends on OF && (ATH79 || COMPILE_TEST)
88c2ecf20Sopenharmony_ci	default y if USB_EHCI_HCD_PLATFORM || USB_OHCI_HCD_PLATFORM
98c2ecf20Sopenharmony_ci	select RESET_CONTROLLER
108c2ecf20Sopenharmony_ci	select GENERIC_PHY
118c2ecf20Sopenharmony_ci	help
128c2ecf20Sopenharmony_ci	  Enable this to support the USB PHY on Atheros AR71XX/9XXX SoCs.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciconfig PHY_QCOM_APQ8064_SATA
158c2ecf20Sopenharmony_ci	tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
168c2ecf20Sopenharmony_ci	depends on ARCH_QCOM
178c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
188c2ecf20Sopenharmony_ci	depends on OF
198c2ecf20Sopenharmony_ci	select GENERIC_PHY
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciconfig PHY_QCOM_IPQ4019_USB
228c2ecf20Sopenharmony_ci	tristate "Qualcomm IPQ4019 USB PHY driver"
238c2ecf20Sopenharmony_ci	depends on OF && (ARCH_QCOM || COMPILE_TEST)
248c2ecf20Sopenharmony_ci	select GENERIC_PHY
258c2ecf20Sopenharmony_ci	help
268c2ecf20Sopenharmony_ci	  Support for the USB PHY-s on Qualcomm IPQ40xx SoC-s.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciconfig PHY_QCOM_IPQ806X_SATA
298c2ecf20Sopenharmony_ci	tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
308c2ecf20Sopenharmony_ci	depends on ARCH_QCOM
318c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
328c2ecf20Sopenharmony_ci	depends on OF
338c2ecf20Sopenharmony_ci	select GENERIC_PHY
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciconfig PHY_QCOM_PCIE2
368c2ecf20Sopenharmony_ci	tristate "Qualcomm PCIe Gen2 PHY Driver"
378c2ecf20Sopenharmony_ci	depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
388c2ecf20Sopenharmony_ci	select GENERIC_PHY
398c2ecf20Sopenharmony_ci	help
408c2ecf20Sopenharmony_ci	  Enable this to support the Qualcomm PCIe PHY, used with the Synopsys
418c2ecf20Sopenharmony_ci	  based PCIe controller.
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ciconfig PHY_QCOM_QMP
448c2ecf20Sopenharmony_ci	tristate "Qualcomm QMP PHY Driver"
458c2ecf20Sopenharmony_ci	depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
468c2ecf20Sopenharmony_ci	select GENERIC_PHY
478c2ecf20Sopenharmony_ci	help
488c2ecf20Sopenharmony_ci	  Enable this to support the QMP PHY transceiver that is used
498c2ecf20Sopenharmony_ci	  with controllers such as PCIe, UFS, and USB on Qualcomm chips.
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ciconfig PHY_QCOM_QUSB2
528c2ecf20Sopenharmony_ci	tristate "Qualcomm QUSB2 PHY Driver"
538c2ecf20Sopenharmony_ci	depends on OF && (ARCH_QCOM || COMPILE_TEST)
548c2ecf20Sopenharmony_ci	depends on NVMEM || !NVMEM
558c2ecf20Sopenharmony_ci	select GENERIC_PHY
568c2ecf20Sopenharmony_ci	help
578c2ecf20Sopenharmony_ci	  Enable this to support the HighSpeed QUSB2 PHY transceiver for USB
588c2ecf20Sopenharmony_ci	  controllers on Qualcomm chips. This driver supports the high-speed
598c2ecf20Sopenharmony_ci	  PHY which is usually paired with either the ChipIdea or Synopsys DWC3
608c2ecf20Sopenharmony_ci	  USB IPs on MSM SOCs.
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_ciconfig PHY_QCOM_USB_HS
638c2ecf20Sopenharmony_ci	tristate "Qualcomm USB HS PHY module"
648c2ecf20Sopenharmony_ci	depends on USB_ULPI_BUS
658c2ecf20Sopenharmony_ci	depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
668c2ecf20Sopenharmony_ci	select GENERIC_PHY
678c2ecf20Sopenharmony_ci	help
688c2ecf20Sopenharmony_ci	  Support for the USB high-speed ULPI compliant phy on Qualcomm
698c2ecf20Sopenharmony_ci	  chipsets.
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ciconfig PHY_QCOM_USB_SNPS_FEMTO_V2
728c2ecf20Sopenharmony_ci	tristate "Qualcomm SNPS FEMTO USB HS PHY V2 module"
738c2ecf20Sopenharmony_ci	depends on OF && (ARCH_QCOM || COMPILE_TEST)
748c2ecf20Sopenharmony_ci	select GENERIC_PHY
758c2ecf20Sopenharmony_ci	help
768c2ecf20Sopenharmony_ci	  Enable support for the USB high-speed SNPS Femto phy on Qualcomm
778c2ecf20Sopenharmony_ci	  chipsets.  This PHY has differences in the register map compared
788c2ecf20Sopenharmony_ci	  to the V1 variants.  The PHY is paired with a Synopsys DWC3 USB
798c2ecf20Sopenharmony_ci	  controller on Qualcomm SOCs.
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ciconfig PHY_QCOM_USB_HSIC
828c2ecf20Sopenharmony_ci	tristate "Qualcomm USB HSIC ULPI PHY module"
838c2ecf20Sopenharmony_ci	depends on USB_ULPI_BUS
848c2ecf20Sopenharmony_ci	select GENERIC_PHY
858c2ecf20Sopenharmony_ci	help
868c2ecf20Sopenharmony_ci	  Support for the USB HSIC ULPI compliant PHY on QCOM chipsets.
878c2ecf20Sopenharmony_ci
888c2ecf20Sopenharmony_ciconfig PHY_QCOM_USB_HS_28NM
898c2ecf20Sopenharmony_ci	tristate "Qualcomm 28nm High-Speed PHY"
908c2ecf20Sopenharmony_ci	depends on OF && (ARCH_QCOM || COMPILE_TEST)
918c2ecf20Sopenharmony_ci	depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
928c2ecf20Sopenharmony_ci	select GENERIC_PHY
938c2ecf20Sopenharmony_ci	help
948c2ecf20Sopenharmony_ci	  Enable this to support the Qualcomm Synopsys DesignWare Core 28nm
958c2ecf20Sopenharmony_ci	  High-Speed PHY driver. This driver supports the Hi-Speed PHY which
968c2ecf20Sopenharmony_ci	  is usually paired with either the ChipIdea or Synopsys DWC3 USB
978c2ecf20Sopenharmony_ci	  IPs on MSM SOCs.
988c2ecf20Sopenharmony_ci
998c2ecf20Sopenharmony_ciconfig PHY_QCOM_USB_SS
1008c2ecf20Sopenharmony_ci	tristate "Qualcomm USB Super-Speed PHY driver"
1018c2ecf20Sopenharmony_ci	depends on OF && (ARCH_QCOM || COMPILE_TEST)
1028c2ecf20Sopenharmony_ci	depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
1038c2ecf20Sopenharmony_ci	select GENERIC_PHY
1048c2ecf20Sopenharmony_ci	help
1058c2ecf20Sopenharmony_ci	  Enable this to support the Super-Speed USB transceiver on various
1068c2ecf20Sopenharmony_ci	  Qualcomm chipsets.
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ciconfig PHY_QCOM_IPQ806X_USB
1098c2ecf20Sopenharmony_ci	tristate "Qualcomm IPQ806x DWC3 USB PHY driver"
1108c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
1118c2ecf20Sopenharmony_ci	depends on OF && (ARCH_QCOM || COMPILE_TEST)
1128c2ecf20Sopenharmony_ci	select GENERIC_PHY
1138c2ecf20Sopenharmony_ci	help
1148c2ecf20Sopenharmony_ci	  This option enables support for the Synopsis PHYs present inside the
1158c2ecf20Sopenharmony_ci	  Qualcomm USB3.0 DWC3 controller on ipq806x SoC. This driver supports
1168c2ecf20Sopenharmony_ci	  both HS and SS PHY controllers.
117