67b27dbeac
Adds Qualcomm 28nm Hi-Speed USB PHY driver support. This PHY is usually paired with Synopsys DWC3 USB controllers on Qualcomm SoCs. The PHY can come in two flavours femtoPHY or picoPHY. This commit adds support for the femtoPHY with the possibility of extending to the picoPHY with additional future commits. Both PHYs are on a 28 nanometer process node. [bod: Updated qcom_snps_hsphy_set_mode to match new method signature Added disjunct on mode > 0 Removed regulator_set_voltage() in favour of setting floor in dts Removed 'snps' and from driver name Extended commit log to mention femtoPHY and picoPHY for future reference.] Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Cc: Andy Gross <agross@kernel.org> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Kishon Vijay Abraham I <kishon@ti.com> Cc: Philipp Zabel <p.zabel@pengutronix.de> Cc: Jorge Ramirez-Ortiz <jorge.ramirez.ortiz@gmail.com> Cc: linux-arm-msm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
105 lines
2.9 KiB
Plaintext
105 lines
2.9 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Phy drivers for Qualcomm and Atheros platforms
|
|
#
|
|
config PHY_ATH79_USB
|
|
tristate "Atheros AR71XX/9XXX USB PHY driver"
|
|
depends on OF && (ATH79 || COMPILE_TEST)
|
|
default y if USB_EHCI_HCD_PLATFORM || USB_OHCI_HCD_PLATFORM
|
|
select RESET_CONTROLLER
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the USB PHY on Atheros AR71XX/9XXX SoCs.
|
|
|
|
config PHY_QCOM_APQ8064_SATA
|
|
tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
|
|
depends on ARCH_QCOM
|
|
depends on HAS_IOMEM
|
|
depends on OF
|
|
select GENERIC_PHY
|
|
|
|
config PHY_QCOM_IPQ806X_SATA
|
|
tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
|
|
depends on ARCH_QCOM
|
|
depends on HAS_IOMEM
|
|
depends on OF
|
|
select GENERIC_PHY
|
|
|
|
config PHY_QCOM_PCIE2
|
|
tristate "Qualcomm PCIe Gen2 PHY Driver"
|
|
depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the Qualcomm PCIe PHY, used with the Synopsys
|
|
based PCIe controller.
|
|
|
|
config PHY_QCOM_QMP
|
|
tristate "Qualcomm QMP PHY Driver"
|
|
depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the QMP PHY transceiver that is used
|
|
with controllers such as PCIe, UFS, and USB on Qualcomm chips.
|
|
|
|
config PHY_QCOM_QUSB2
|
|
tristate "Qualcomm QUSB2 PHY Driver"
|
|
depends on OF && (ARCH_QCOM || COMPILE_TEST)
|
|
depends on NVMEM || !NVMEM
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the HighSpeed QUSB2 PHY transceiver for USB
|
|
controllers on Qualcomm chips. This driver supports the high-speed
|
|
PHY which is usually paired with either the ChipIdea or Synopsys DWC3
|
|
USB IPs on MSM SOCs.
|
|
|
|
config PHY_QCOM_UFS
|
|
tristate "Qualcomm UFS PHY driver"
|
|
depends on OF && ARCH_QCOM
|
|
select GENERIC_PHY
|
|
help
|
|
Support for UFS PHY on QCOM chipsets.
|
|
|
|
if PHY_QCOM_UFS
|
|
|
|
config PHY_QCOM_UFS_14NM
|
|
tristate
|
|
default PHY_QCOM_UFS
|
|
help
|
|
Support for 14nm UFS QMP phy present on QCOM chipsets.
|
|
|
|
config PHY_QCOM_UFS_20NM
|
|
tristate
|
|
default PHY_QCOM_UFS
|
|
depends on BROKEN
|
|
help
|
|
Support for 20nm UFS QMP phy present on QCOM chipsets.
|
|
|
|
endif
|
|
|
|
config PHY_QCOM_USB_HS
|
|
tristate "Qualcomm USB HS PHY module"
|
|
depends on USB_ULPI_BUS
|
|
depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
|
|
select GENERIC_PHY
|
|
help
|
|
Support for the USB high-speed ULPI compliant phy on Qualcomm
|
|
chipsets.
|
|
|
|
config PHY_QCOM_USB_HSIC
|
|
tristate "Qualcomm USB HSIC ULPI PHY module"
|
|
depends on USB_ULPI_BUS
|
|
select GENERIC_PHY
|
|
help
|
|
Support for the USB HSIC ULPI compliant PHY on QCOM chipsets.
|
|
|
|
config PHY_QCOM_USB_HS_28NM
|
|
tristate "Qualcomm 28nm High-Speed PHY"
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the Qualcomm Synopsys DesignWare Core 28nm
|
|
High-Speed PHY driver. This driver supports the Hi-Speed PHY which
|
|
is usually paired with either the ChipIdea or Synopsys DWC3 USB
|
|
IPs on MSM SOCs.
|