xref: /linux/drivers/phy/qualcomm/Kconfig (revision 80090810f5d332bc41f1e64382ceca41fb1e16e3)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20b56e9a7SVivek Gautam#
3cd3bf368SAlban Bedel# Phy drivers for Qualcomm and Atheros platforms
40b56e9a7SVivek Gautam#
5cd3bf368SAlban Bedelconfig PHY_ATH79_USB
6cd3bf368SAlban Bedel	tristate "Atheros AR71XX/9XXX USB PHY driver"
7cd3bf368SAlban Bedel	depends on OF && (ATH79 || COMPILE_TEST)
8cd3bf368SAlban Bedel	default y if USB_EHCI_HCD_PLATFORM || USB_OHCI_HCD_PLATFORM
9cd3bf368SAlban Bedel	select RESET_CONTROLLER
10cd3bf368SAlban Bedel	select GENERIC_PHY
11cd3bf368SAlban Bedel	help
12cd3bf368SAlban Bedel	  Enable this to support the USB PHY on Atheros AR71XX/9XXX SoCs.
13cd3bf368SAlban Bedel
140b56e9a7SVivek Gautamconfig PHY_QCOM_APQ8064_SATA
150b56e9a7SVivek Gautam	tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
160b56e9a7SVivek Gautam	depends on ARCH_QCOM
170b56e9a7SVivek Gautam	depends on HAS_IOMEM
180b56e9a7SVivek Gautam	depends on OF
190b56e9a7SVivek Gautam	select GENERIC_PHY
200b56e9a7SVivek Gautam
21f199223cSBjorn Anderssonconfig PHY_QCOM_EDP
22f199223cSBjorn Andersson	tristate "Qualcomm eDP PHY driver"
23f199223cSBjorn Andersson	depends on ARCH_QCOM || COMPILE_TEST
24f199223cSBjorn Andersson	depends on OF
25f199223cSBjorn Andersson	depends on COMMON_CLK
26f199223cSBjorn Andersson	select GENERIC_PHY
27f199223cSBjorn Andersson	help
28f199223cSBjorn Andersson	  Enable this driver to support the Qualcomm eDP PHY found in various
29f199223cSBjorn Andersson	  Qualcomm chipsets.
30f199223cSBjorn Andersson
313c9d8f6cSRobert Markoconfig PHY_QCOM_IPQ4019_USB
323c9d8f6cSRobert Marko	tristate "Qualcomm IPQ4019 USB PHY driver"
333c9d8f6cSRobert Marko	depends on OF && (ARCH_QCOM || COMPILE_TEST)
343c9d8f6cSRobert Marko	select GENERIC_PHY
353c9d8f6cSRobert Marko	help
363c9d8f6cSRobert Marko	  Support for the USB PHY-s on Qualcomm IPQ40xx SoC-s.
373c9d8f6cSRobert Marko
380b56e9a7SVivek Gautamconfig PHY_QCOM_IPQ806X_SATA
390b56e9a7SVivek Gautam	tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
400b56e9a7SVivek Gautam	depends on ARCH_QCOM
410b56e9a7SVivek Gautam	depends on HAS_IOMEM
420b56e9a7SVivek Gautam	depends on OF
430b56e9a7SVivek Gautam	select GENERIC_PHY
440b56e9a7SVivek Gautam
456ef72bc0SBjorn Anderssonconfig PHY_QCOM_PCIE2
466ef72bc0SBjorn Andersson	tristate "Qualcomm PCIe Gen2 PHY Driver"
476ef72bc0SBjorn Andersson	depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
486ef72bc0SBjorn Andersson	select GENERIC_PHY
496ef72bc0SBjorn Andersson	help
506ef72bc0SBjorn Andersson	  Enable this to support the Qualcomm PCIe PHY, used with the Synopsys
516ef72bc0SBjorn Andersson	  based PCIe controller.
526ef72bc0SBjorn Andersson
53d1abd695SStephen Boydmenuconfig PHY_QCOM_QMP
54d1abd695SStephen Boyd	tristate "Qualcomm QMP PHY Drivers"
550b56e9a7SVivek Gautam	depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
56d1abd695SStephen Boyd
57d1abd695SStephen Boydif PHY_QCOM_QMP
58d1abd695SStephen Boyd
59d1abd695SStephen Boydconfig PHY_QCOM_QMP_COMBO
60d1abd695SStephen Boyd	tristate "Qualcomm QMP Combo PHY Driver"
61d1abd695SStephen Boyd	default PHY_QCOM_QMP
620b56e9a7SVivek Gautam	select GENERIC_PHY
636c37a02bSJohan Hovold	select MFD_SYSCON
640b56e9a7SVivek Gautam	help
65d1abd695SStephen Boyd	  Enable this to support the QMP Combo PHY transceiver that is used
66d1abd695SStephen Boyd	  with USB3 and DisplayPort controllers on Qualcomm chips.
67d1abd695SStephen Boyd
68d1abd695SStephen Boydconfig PHY_QCOM_QMP_PCIE
69d1abd695SStephen Boyd	tristate "Qualcomm QMP PCIe PHY Driver"
70d1abd695SStephen Boyd	depends on PCI || COMPILE_TEST
71d1abd695SStephen Boyd	select GENERIC_PHY
72d1abd695SStephen Boyd	default PHY_QCOM_QMP
73d1abd695SStephen Boyd	help
74d1abd695SStephen Boyd	  Enable this to support the QMP PCIe PHY transceiver that is used
75d1abd695SStephen Boyd	  with PCIe controllers on Qualcomm chips.
76d1abd695SStephen Boyd
77d1abd695SStephen Boydconfig PHY_QCOM_QMP_PCIE_8996
78d1abd695SStephen Boyd	tristate "Qualcomm QMP PCIe 8996 PHY Driver"
79d1abd695SStephen Boyd	depends on PCI || COMPILE_TEST
80d1abd695SStephen Boyd	select GENERIC_PHY
81d1abd695SStephen Boyd	default PHY_QCOM_QMP
82d1abd695SStephen Boyd	help
83d1abd695SStephen Boyd	  Enable this to support the QMP PCIe PHY transceiver that is used
84d1abd695SStephen Boyd	  with PCIe controllers on Qualcomm msm8996 chips.
85d1abd695SStephen Boyd
86d1abd695SStephen Boydconfig PHY_QCOM_QMP_UFS
87d1abd695SStephen Boyd	tristate "Qualcomm QMP UFS PHY Driver"
88d1abd695SStephen Boyd	select GENERIC_PHY
89d1abd695SStephen Boyd	default PHY_QCOM_QMP
90d1abd695SStephen Boyd	help
91d1abd695SStephen Boyd	  Enable this to support the QMP UFS PHY transceiver that is used
92d1abd695SStephen Boyd	  with UFS controllers on Qualcomm chips.
93d1abd695SStephen Boyd
94d1abd695SStephen Boydconfig PHY_QCOM_QMP_USB
95d1abd695SStephen Boyd	tristate "Qualcomm QMP USB PHY Driver"
96d1abd695SStephen Boyd	select GENERIC_PHY
97d1abd695SStephen Boyd	default PHY_QCOM_QMP
98d1abd695SStephen Boyd	help
99d1abd695SStephen Boyd	  Enable this to support the QMP USB PHY transceiver that is used
100d1abd695SStephen Boyd	  with USB3 controllers on Qualcomm chips.
101d1abd695SStephen Boyd
102d1abd695SStephen Boydendif # PHY_QCOM_QMP
1030b56e9a7SVivek Gautam
1040b56e9a7SVivek Gautamconfig PHY_QCOM_QUSB2
1050b56e9a7SVivek Gautam	tristate "Qualcomm QUSB2 PHY Driver"
1060b56e9a7SVivek Gautam	depends on OF && (ARCH_QCOM || COMPILE_TEST)
1070b56e9a7SVivek Gautam	depends on NVMEM || !NVMEM
1080b56e9a7SVivek Gautam	select GENERIC_PHY
1090b56e9a7SVivek Gautam	help
1100b56e9a7SVivek Gautam	  Enable this to support the HighSpeed QUSB2 PHY transceiver for USB
1110b56e9a7SVivek Gautam	  controllers on Qualcomm chips. This driver supports the high-speed
1120b56e9a7SVivek Gautam	  PHY which is usually paired with either the ChipIdea or Synopsys DWC3
1130b56e9a7SVivek Gautam	  USB IPs on MSM SOCs.
1140b56e9a7SVivek Gautam
115*80090810SAbel Vesaconfig PHY_QCOM_SNPS_EUSB2
116*80090810SAbel Vesa	tristate "Qualcomm SNPS eUSB2 PHY Driver"
117*80090810SAbel Vesa	depends on OF && (ARCH_QCOM || COMPILE_TEST)
118*80090810SAbel Vesa	select GENERIC_PHY
119*80090810SAbel Vesa	help
120*80090810SAbel Vesa	  Enable support for the USB high-speed SNPS eUSB2 phy on Qualcomm
121*80090810SAbel Vesa	  chipsets. The PHY is paired with a Synopsys DWC3 USB controller
122*80090810SAbel Vesa	  on Qualcomm SOCs.
123*80090810SAbel Vesa
1240b56e9a7SVivek Gautamconfig PHY_QCOM_USB_HS
1250b56e9a7SVivek Gautam	tristate "Qualcomm USB HS PHY module"
1260b56e9a7SVivek Gautam	depends on USB_ULPI_BUS
1270b56e9a7SVivek Gautam	depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
1280b56e9a7SVivek Gautam	select GENERIC_PHY
1290b56e9a7SVivek Gautam	help
1300b56e9a7SVivek Gautam	  Support for the USB high-speed ULPI compliant phy on Qualcomm
1310b56e9a7SVivek Gautam	  chipsets.
1320b56e9a7SVivek Gautam
13351e8114fSWesley Chengconfig PHY_QCOM_USB_SNPS_FEMTO_V2
13451e8114fSWesley Cheng	tristate "Qualcomm SNPS FEMTO USB HS PHY V2 module"
13551e8114fSWesley Cheng	depends on OF && (ARCH_QCOM || COMPILE_TEST)
13651e8114fSWesley Cheng	select GENERIC_PHY
13751e8114fSWesley Cheng	help
13851e8114fSWesley Cheng	  Enable support for the USB high-speed SNPS Femto phy on Qualcomm
13951e8114fSWesley Cheng	  chipsets.  This PHY has differences in the register map compared
14051e8114fSWesley Cheng	  to the V1 variants.  The PHY is paired with a Synopsys DWC3 USB
14151e8114fSWesley Cheng	  controller on Qualcomm SOCs.
14251e8114fSWesley Cheng
1430b56e9a7SVivek Gautamconfig PHY_QCOM_USB_HSIC
1440b56e9a7SVivek Gautam	tristate "Qualcomm USB HSIC ULPI PHY module"
1450b56e9a7SVivek Gautam	depends on USB_ULPI_BUS
1460b56e9a7SVivek Gautam	select GENERIC_PHY
1470b56e9a7SVivek Gautam	help
1480b56e9a7SVivek Gautam	  Support for the USB HSIC ULPI compliant PHY on QCOM chipsets.
14967b27dbeSShawn Guo
15067b27dbeSShawn Guoconfig PHY_QCOM_USB_HS_28NM
15167b27dbeSShawn Guo	tristate "Qualcomm 28nm High-Speed PHY"
15214839107SBryan O'Donoghue	depends on OF && (ARCH_QCOM || COMPILE_TEST)
15367b27dbeSShawn Guo	depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
15467b27dbeSShawn Guo	select GENERIC_PHY
15567b27dbeSShawn Guo	help
15667b27dbeSShawn Guo	  Enable this to support the Qualcomm Synopsys DesignWare Core 28nm
15767b27dbeSShawn Guo	  High-Speed PHY driver. This driver supports the Hi-Speed PHY which
15867b27dbeSShawn Guo	  is usually paired with either the ChipIdea or Synopsys DWC3 USB
15967b27dbeSShawn Guo	  IPs on MSM SOCs.
1606076967aSJorge Ramirez-Ortiz
1616076967aSJorge Ramirez-Ortizconfig PHY_QCOM_USB_SS
1626076967aSJorge Ramirez-Ortiz	tristate "Qualcomm USB Super-Speed PHY driver"
16344786a26SBryan O'Donoghue	depends on OF && (ARCH_QCOM || COMPILE_TEST)
1646076967aSJorge Ramirez-Ortiz	depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
1656076967aSJorge Ramirez-Ortiz	select GENERIC_PHY
1666076967aSJorge Ramirez-Ortiz	help
1676076967aSJorge Ramirez-Ortiz	  Enable this to support the Super-Speed USB transceiver on various
1686076967aSJorge Ramirez-Ortiz	  Qualcomm chipsets.
169ef19b117SAnsuel Smith
170ef19b117SAnsuel Smithconfig PHY_QCOM_IPQ806X_USB
171ef19b117SAnsuel Smith	tristate "Qualcomm IPQ806x DWC3 USB PHY driver"
172ef19b117SAnsuel Smith	depends on HAS_IOMEM
173ef19b117SAnsuel Smith	depends on OF && (ARCH_QCOM || COMPILE_TEST)
174ef19b117SAnsuel Smith	select GENERIC_PHY
175ef19b117SAnsuel Smith	help
176ef19b117SAnsuel Smith	  This option enables support for the Synopsis PHYs present inside the
177ef19b117SAnsuel Smith	  Qualcomm USB3.0 DWC3 controller on ipq806x SoC. This driver supports
178ef19b117SAnsuel Smith	  both HS and SS PHY controllers.
179