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