Skip to content

Commit e78f3d1

Browse files
vivekgautam1kishon
authored andcommitted
phy: qcom-qmp: new qmp phy driver for qcom-chipsets
Qualcomm SOCs have QMP phy controller that provides support to a number of controller, viz. PCIe, UFS, and USB. Add a new driver, based on generic phy framework, for this phy controller. Signed-off-by: Vivek Gautam <[email protected]> Tested-by: Srinivas Kandagatla <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
1 parent 3a9d31c commit e78f3d1

File tree

3 files changed

+1162
-0
lines changed

3 files changed

+1162
-0
lines changed

drivers/phy/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,14 @@ config PHY_STIH407_USB
439439
Enable this support to enable the picoPHY device used by USB2
440440
and USB3 controllers on STMicroelectronics STiH407 SoC families.
441441

442+
config PHY_QCOM_QMP
443+
tristate "Qualcomm QMP PHY Driver"
444+
depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
445+
select GENERIC_PHY
446+
help
447+
Enable this to support the QMP PHY transceiver that is used
448+
with controllers such as PCIe, UFS, and USB on Qualcomm chips.
449+
442450
config PHY_QCOM_QUSB2
443451
tristate "Qualcomm QUSB2 PHY Driver"
444452
depends on OF && (ARCH_QCOM || COMPILE_TEST)

drivers/phy/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ obj-$(CONFIG_PHY_ST_SPEAR1310_MIPHY) += phy-spear1310-miphy.o
5050
obj-$(CONFIG_PHY_ST_SPEAR1340_MIPHY) += phy-spear1340-miphy.o
5151
obj-$(CONFIG_PHY_XGENE) += phy-xgene.o
5252
obj-$(CONFIG_PHY_STIH407_USB) += phy-stih407-usb.o
53+
obj-$(CONFIG_PHY_QCOM_QMP) += phy-qcom-qmp.o
5354
obj-$(CONFIG_PHY_QCOM_QUSB2) += phy-qcom-qusb2.o
5455
obj-$(CONFIG_PHY_QCOM_UFS) += phy-qcom-ufs.o
5556
obj-$(CONFIG_PHY_QCOM_UFS) += phy-qcom-ufs-qmp-20nm.o

0 commit comments

Comments
 (0)