OSDN Git Service

phy: qcom-qmp: Use proper PWRDOWN offset for sm8150 USB
authorWesley Cheng <wcheng@codeaurora.org>
Mon, 4 May 2020 23:54:26 +0000 (16:54 -0700)
committerVinod Koul <vkoul@kernel.org>
Tue, 5 May 2020 05:14:04 +0000 (10:44 +0530)
commite4d8b05ad5f9db85ef7285dbf51a1ad357f4e4c8
treeb1731797bd477a2d273630e9220210acf6748a5c
parent9a24b929d38ad3a3ce8615769b0323c4832f4c07
phy: qcom-qmp: Use proper PWRDOWN offset for sm8150 USB

The register map for SM8150 QMP USB SSPHY has moved
QPHY_POWER_DOWN_CONTROL to a different offset.  Allow for
an offset in the register table to override default value
if it is a DP capable PHY.

Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
Reviewed-by: Manu Gautam <mgautam@codeaurora.org>
Link: https://lore.kernel.org/r/1588636467-23409-5-git-send-email-wcheng@codeaurora.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp.c