xref: /linux-6.15/drivers/phy/qualcomm/Kconfig (revision 6ef72bc0)
1#
2# Phy drivers for Qualcomm and Atheros platforms
3#
4config PHY_ATH79_USB
5	tristate "Atheros AR71XX/9XXX USB PHY driver"
6	depends on OF && (ATH79 || COMPILE_TEST)
7	default y if USB_EHCI_HCD_PLATFORM || USB_OHCI_HCD_PLATFORM
8	select RESET_CONTROLLER
9	select GENERIC_PHY
10	help
11	  Enable this to support the USB PHY on Atheros AR71XX/9XXX SoCs.
12
13config PHY_QCOM_APQ8064_SATA
14	tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
15	depends on ARCH_QCOM
16	depends on HAS_IOMEM
17	depends on OF
18	select GENERIC_PHY
19
20config PHY_QCOM_IPQ806X_SATA
21	tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
22	depends on ARCH_QCOM
23	depends on HAS_IOMEM
24	depends on OF
25	select GENERIC_PHY
26
27config PHY_QCOM_PCIE2
28	tristate "Qualcomm PCIe Gen2 PHY Driver"
29	depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
30	select GENERIC_PHY
31	help
32	  Enable this to support the Qualcomm PCIe PHY, used with the Synopsys
33	  based PCIe controller.
34
35config PHY_QCOM_QMP
36	tristate "Qualcomm QMP PHY Driver"
37	depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
38	select GENERIC_PHY
39	help
40	  Enable this to support the QMP PHY transceiver that is used
41	  with controllers such as PCIe, UFS, and USB on Qualcomm chips.
42
43config PHY_QCOM_QUSB2
44	tristate "Qualcomm QUSB2 PHY Driver"
45	depends on OF && (ARCH_QCOM || COMPILE_TEST)
46	depends on NVMEM || !NVMEM
47	select GENERIC_PHY
48	help
49	  Enable this to support the HighSpeed QUSB2 PHY transceiver for USB
50	  controllers on Qualcomm chips. This driver supports the high-speed
51	  PHY which is usually paired with either the ChipIdea or Synopsys DWC3
52	  USB IPs on MSM SOCs.
53
54config PHY_QCOM_UFS
55	tristate "Qualcomm UFS PHY driver"
56	depends on OF && ARCH_QCOM
57	select GENERIC_PHY
58	help
59	  Support for UFS PHY on QCOM chipsets.
60
61if PHY_QCOM_UFS
62
63config PHY_QCOM_UFS_14NM
64	tristate
65	default PHY_QCOM_UFS
66	help
67	  Support for 14nm UFS QMP phy present on QCOM chipsets.
68
69config PHY_QCOM_UFS_20NM
70	tristate
71	default PHY_QCOM_UFS
72	depends on BROKEN
73	help
74	  Support for 20nm UFS QMP phy present on QCOM chipsets.
75
76endif
77
78config PHY_QCOM_USB_HS
79	tristate "Qualcomm USB HS PHY module"
80	depends on USB_ULPI_BUS
81	depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
82	select GENERIC_PHY
83	help
84	  Support for the USB high-speed ULPI compliant phy on Qualcomm
85	  chipsets.
86
87config PHY_QCOM_USB_HSIC
88	tristate "Qualcomm USB HSIC ULPI PHY module"
89	depends on USB_ULPI_BUS
90	select GENERIC_PHY
91	help
92	  Support for the USB HSIC ULPI compliant PHY on QCOM chipsets.
93