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