1# SPDX-License-Identifier: GPL-2.0-only 2# 3# Phy drivers for Qualcomm and Atheros platforms 4# 5config PHY_ATH79_USB 6 tristate "Atheros AR71XX/9XXX USB PHY driver" 7 depends on OF && (ATH79 || COMPILE_TEST) 8 default y if USB_EHCI_HCD_PLATFORM || USB_OHCI_HCD_PLATFORM 9 select RESET_CONTROLLER 10 select GENERIC_PHY 11 help 12 Enable this to support the USB PHY on Atheros AR71XX/9XXX SoCs. 13 14config PHY_QCOM_APQ8064_SATA 15 tristate "Qualcomm APQ8064 SATA SerDes/PHY driver" 16 depends on ARCH_QCOM 17 depends on HAS_IOMEM 18 depends on OF 19 select GENERIC_PHY 20 21config PHY_QCOM_IPQ4019_USB 22 tristate "Qualcomm IPQ4019 USB PHY driver" 23 depends on OF && (ARCH_QCOM || COMPILE_TEST) 24 select GENERIC_PHY 25 help 26 Support for the USB PHY-s on Qualcomm IPQ40xx SoC-s. 27 28config PHY_QCOM_IPQ806X_SATA 29 tristate "Qualcomm IPQ806x SATA SerDes/PHY driver" 30 depends on ARCH_QCOM 31 depends on HAS_IOMEM 32 depends on OF 33 select GENERIC_PHY 34 35config PHY_QCOM_PCIE2 36 tristate "Qualcomm PCIe Gen2 PHY Driver" 37 depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST) 38 select GENERIC_PHY 39 help 40 Enable this to support the Qualcomm PCIe PHY, used with the Synopsys 41 based PCIe controller. 42 43config PHY_QCOM_QMP 44 tristate "Qualcomm QMP PHY Driver" 45 depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST) 46 select GENERIC_PHY 47 help 48 Enable this to support the QMP PHY transceiver that is used 49 with controllers such as PCIe, UFS, and USB on Qualcomm chips. 50 51config PHY_QCOM_QUSB2 52 tristate "Qualcomm QUSB2 PHY Driver" 53 depends on OF && (ARCH_QCOM || COMPILE_TEST) 54 depends on NVMEM || !NVMEM 55 select GENERIC_PHY 56 help 57 Enable this to support the HighSpeed QUSB2 PHY transceiver for USB 58 controllers on Qualcomm chips. This driver supports the high-speed 59 PHY which is usually paired with either the ChipIdea or Synopsys DWC3 60 USB IPs on MSM SOCs. 61 62config PHY_QCOM_UFS 63 tristate "Qualcomm UFS PHY driver" 64 depends on OF && ARCH_QCOM 65 select GENERIC_PHY 66 help 67 Support for UFS PHY on QCOM chipsets. 68 69if PHY_QCOM_UFS 70 71config PHY_QCOM_UFS_14NM 72 tristate 73 default PHY_QCOM_UFS 74 help 75 Support for 14nm UFS QMP phy present on QCOM chipsets. 76 77config PHY_QCOM_UFS_20NM 78 tristate 79 default PHY_QCOM_UFS 80 depends on BROKEN 81 help 82 Support for 20nm UFS QMP phy present on QCOM chipsets. 83 84endif 85 86config PHY_QCOM_USB_HS 87 tristate "Qualcomm USB HS PHY module" 88 depends on USB_ULPI_BUS 89 depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in 90 select GENERIC_PHY 91 help 92 Support for the USB high-speed ULPI compliant phy on Qualcomm 93 chipsets. 94 95config PHY_QCOM_USB_HSIC 96 tristate "Qualcomm USB HSIC ULPI PHY module" 97 depends on USB_ULPI_BUS 98 select GENERIC_PHY 99 help 100 Support for the USB HSIC ULPI compliant PHY on QCOM chipsets. 101 102config PHY_QCOM_USB_HS_28NM 103 tristate "Qualcomm 28nm High-Speed PHY" 104 depends on ARCH_QCOM || COMPILE_TEST 105 depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in 106 select GENERIC_PHY 107 help 108 Enable this to support the Qualcomm Synopsys DesignWare Core 28nm 109 High-Speed PHY driver. This driver supports the Hi-Speed PHY which 110 is usually paired with either the ChipIdea or Synopsys DWC3 USB 111 IPs on MSM SOCs. 112 113config PHY_QCOM_USB_SS 114 tristate "Qualcomm USB Super-Speed PHY driver" 115 depends on ARCH_QCOM || COMPILE_TEST 116 depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in 117 select GENERIC_PHY 118 help 119 Enable this to support the Super-Speed USB transceiver on various 120 Qualcomm chipsets. 121