xref: /openbmc/linux/drivers/phy/qualcomm/Kconfig (revision a61127c2)
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_IPQ806X_SATA
22	tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
23	depends on ARCH_QCOM
24	depends on HAS_IOMEM
25	depends on OF
26	select GENERIC_PHY
27
28config PHY_QCOM_QMP
29	tristate "Qualcomm QMP PHY Driver"
30	depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
31	select GENERIC_PHY
32	help
33	  Enable this to support the QMP PHY transceiver that is used
34	  with controllers such as PCIe, UFS, and USB on Qualcomm chips.
35
36config PHY_QCOM_QUSB2
37	tristate "Qualcomm QUSB2 PHY Driver"
38	depends on OF && (ARCH_QCOM || COMPILE_TEST)
39	depends on NVMEM || !NVMEM
40	select GENERIC_PHY
41	help
42	  Enable this to support the HighSpeed QUSB2 PHY transceiver for USB
43	  controllers on Qualcomm chips. This driver supports the high-speed
44	  PHY which is usually paired with either the ChipIdea or Synopsys DWC3
45	  USB IPs on MSM SOCs.
46
47config PHY_QCOM_UFS
48	tristate "Qualcomm UFS PHY driver"
49	depends on OF && ARCH_QCOM
50	select GENERIC_PHY
51	help
52	  Support for UFS PHY on QCOM chipsets.
53
54if PHY_QCOM_UFS
55
56config PHY_QCOM_UFS_14NM
57	tristate
58	default PHY_QCOM_UFS
59	help
60	  Support for 14nm UFS QMP phy present on QCOM chipsets.
61
62config PHY_QCOM_UFS_20NM
63	tristate
64	default PHY_QCOM_UFS
65	depends on BROKEN
66	help
67	  Support for 20nm UFS QMP phy present on QCOM chipsets.
68
69endif
70
71config PHY_QCOM_USB_HS
72	tristate "Qualcomm USB HS PHY module"
73	depends on USB_ULPI_BUS
74	depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
75	select GENERIC_PHY
76	help
77	  Support for the USB high-speed ULPI compliant phy on Qualcomm
78	  chipsets.
79
80config PHY_QCOM_USB_HSIC
81	tristate "Qualcomm USB HSIC ULPI PHY module"
82	depends on USB_ULPI_BUS
83	select GENERIC_PHY
84	help
85	  Support for the USB HSIC ULPI compliant PHY on QCOM chipsets.
86