aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivek Gautam <vivek.gautam@codeaurora.org>2018-09-04 06:17:19 -0400
committerKishon Vijay Abraham I <kishon@ti.com>2018-09-26 03:39:38 -0400
commit82af0932486716bb870c3c0fd1d8c65b3062956f (patch)
treed3cef846c266351266aac6916fb0499fa7a60d4b
parent1e1e465c6d23aa7d1858eb2894408f15770af16c (diff)
phy: qcom-ufs: Declare 20nm qcom ufs qmp phy as Broken
Fork out separate configs for 14nm and 20nm qcom ufs qmp phys to declare the 20nm phy as broken. Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
-rw-r--r--drivers/phy/qualcomm/Kconfig17
-rw-r--r--drivers/phy/qualcomm/Makefile4
2 files changed, 19 insertions, 2 deletions
diff --git a/drivers/phy/qualcomm/Kconfig b/drivers/phy/qualcomm/Kconfig
index 632a0e73ee10..32f7d34eb784 100644
--- a/drivers/phy/qualcomm/Kconfig
+++ b/drivers/phy/qualcomm/Kconfig
@@ -50,6 +50,23 @@ config PHY_QCOM_UFS
50 help 50 help
51 Support for UFS PHY on QCOM chipsets. 51 Support for UFS PHY on QCOM chipsets.
52 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
53config PHY_QCOM_USB_HS 70config PHY_QCOM_USB_HS
54 tristate "Qualcomm USB HS PHY module" 71 tristate "Qualcomm USB HS PHY module"
55 depends on USB_ULPI_BUS 72 depends on USB_ULPI_BUS
diff --git a/drivers/phy/qualcomm/Makefile b/drivers/phy/qualcomm/Makefile
index deb831f453ae..c56efd3af205 100644
--- a/drivers/phy/qualcomm/Makefile
+++ b/drivers/phy/qualcomm/Makefile
@@ -5,7 +5,7 @@ obj-$(CONFIG_PHY_QCOM_IPQ806X_SATA) += phy-qcom-ipq806x-sata.o
5obj-$(CONFIG_PHY_QCOM_QMP) += phy-qcom-qmp.o 5obj-$(CONFIG_PHY_QCOM_QMP) += phy-qcom-qmp.o
6obj-$(CONFIG_PHY_QCOM_QUSB2) += phy-qcom-qusb2.o 6obj-$(CONFIG_PHY_QCOM_QUSB2) += phy-qcom-qusb2.o
7obj-$(CONFIG_PHY_QCOM_UFS) += phy-qcom-ufs.o 7obj-$(CONFIG_PHY_QCOM_UFS) += phy-qcom-ufs.o
8obj-$(CONFIG_PHY_QCOM_UFS) += phy-qcom-ufs-qmp-14nm.o 8obj-$(CONFIG_PHY_QCOM_UFS_14NM) += phy-qcom-ufs-qmp-14nm.o
9obj-$(CONFIG_PHY_QCOM_UFS) += phy-qcom-ufs-qmp-20nm.o 9obj-$(CONFIG_PHY_QCOM_UFS_20NM) += phy-qcom-ufs-qmp-20nm.o
10obj-$(CONFIG_PHY_QCOM_USB_HS) += phy-qcom-usb-hs.o 10obj-$(CONFIG_PHY_QCOM_USB_HS) += phy-qcom-usb-hs.o
11obj-$(CONFIG_PHY_QCOM_USB_HSIC) += phy-qcom-usb-hsic.o 11obj-$(CONFIG_PHY_QCOM_USB_HSIC) += phy-qcom-usb-hsic.o