summaryrefslogtreecommitdiff
path: root/drivers/phy/qualcomm/Kconfig
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2022-11-05 15:59:39 +0100
committerVinod Koul <vkoul@kernel.org>2022-11-10 12:34:55 +0530
commit6c37a02b25180350ed7bd199c074a79fe6d16e51 (patch)
treed5fc98d87805f56cbdbeded0505ef9a58962d8c2 /drivers/phy/qualcomm/Kconfig
parentd0a846ba28ddb589fc5a5741ae566e19c1034034 (diff)
phy: qcom-qmp-pcie: add support for sc8280xp 4-lane PHYs
The PCIe2 and PCIe3 controllers and PHYs on SC8280XP can be used in 4-lane mode or as separate controllers and PHYs in 2-lane mode (e.g. as PCIe2A and PCIe2B). Add support for fetching the 4-lane configuration from the TCSR and programming the lane registers of the second port when in 4-lane mode. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20221105145939.20318-17-johan+linaro@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/qualcomm/Kconfig')
-rw-r--r--drivers/phy/qualcomm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/qualcomm/Kconfig b/drivers/phy/qualcomm/Kconfig
index 5c98850f5a36..eb9ddc685b38 100644
--- a/drivers/phy/qualcomm/Kconfig
+++ b/drivers/phy/qualcomm/Kconfig
@@ -54,6 +54,7 @@ config PHY_QCOM_QMP
tristate "Qualcomm QMP PHY Driver"
depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
select GENERIC_PHY
+ select MFD_SYSCON
help
Enable this to support the QMP PHY transceiver that is used
with controllers such as PCIe, UFS, and USB on Qualcomm chips.