mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
usb: phy: Add snapshot of QUSB-V2 PHY driver
This change adds QUSB-V2 driver capabilities on
MSM platforms.This snapshot was taken as of msm-4.14
commit <cd3fb8ae2f0d> ("usb: phy: qusb2: Add regulator
support which powers refgen").
Change-Id: I2620e8d3e45ad9b0d5d63b4d246f120ce85474df
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
This commit is contained in:
parent
7dda60b9e7
commit
812da9d8c3
3 changed files with 1313 additions and 0 deletions
|
|
@ -206,6 +206,16 @@ config USB_MSM_SSPHY_QMP
|
|||
set for its control sequences, normally paired with newer DWC3-based
|
||||
SuperSpeed controllers.
|
||||
|
||||
config MSM_QUSB_PHY
|
||||
tristate "MSM QUSB2 PHY Driver"
|
||||
depends on ARCH_QCOM
|
||||
select USB_PHY
|
||||
help
|
||||
Enable this to support the QUSB2 PHY on MSM chips. This driver supports
|
||||
the high-speed PHY which is usually paired with either the ChipIdea or
|
||||
Synopsys DWC3 USB IPs on MSM SOCs. This driver expects to configure the
|
||||
PHY with a dedicated register I/O memory region.
|
||||
|
||||
config MSM_HSUSB_PHY
|
||||
tristate "MSM HSUSB PHY Driver"
|
||||
depends on ARCH_QCOM
|
||||
|
|
|
|||
|
|
@ -25,5 +25,6 @@ obj-$(CONFIG_USB_MXS_PHY) += phy-mxs-usb.o
|
|||
obj-$(CONFIG_USB_ULPI) += phy-ulpi.o
|
||||
obj-$(CONFIG_USB_ULPI_VIEWPORT) += phy-ulpi-viewport.o
|
||||
obj-$(CONFIG_KEYSTONE_USB_PHY) += phy-keystone.o
|
||||
obj-$(CONFIG_MSM_QUSB_PHY) += phy-msm-qusb-v2.o
|
||||
obj-$(CONFIG_USB_MSM_SSPHY_QMP) += phy-msm-ssusb-qmp.o
|
||||
obj-$(CONFIG_MSM_HSUSB_PHY) += phy-msm-snps-hs.o
|
||||
|
|
|
|||
1302
drivers/usb/phy/phy-msm-qusb-v2.c
Normal file
1302
drivers/usb/phy/phy-msm-qusb-v2.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue