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