Skip to content

Commit

Permalink
arm64: dts: qcom: sm6115: declare VLS CLAMP register for USB3 PHY
Browse files Browse the repository at this point in the history
[ Upstream commit 95d739ed962c9aaa17d77b739606dbdf31879f6e ]

The USB3 PHY on the SM6115 platform doesn't have built-in
PCS_MISC_CLAMP_ENABLE register. Instead clamping is handled separately
via the register in the TCSR space. Declare corresponding register.

Fixes: 9dd5f6d ("arm64: dts: qcom: sm6115: Add USB SS qmp phy node")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240117-usbc-phy-vls-clamp-v2-6-a950c223f10f@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
lumag authored and Sasha Levin committed Mar 26, 2024
1 parent a535c71 commit 2464897
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/arm64/boot/dts/qcom/sm6115.dtsi
Expand Up @@ -591,6 +591,11 @@
#hwlock-cells = <1>;
};

tcsr_regs: syscon@3c0000 {
compatible = "qcom,sm6115-tcsr", "syscon";
reg = <0x0 0x003c0000 0x0 0x40000>;
};

tlmm: pinctrl@500000 {
compatible = "qcom,sm6115-tlmm";
reg = <0x0 0x00500000 0x0 0x400000>,
Expand Down Expand Up @@ -856,6 +861,8 @@

#phy-cells = <0>;

qcom,tcsr-reg = <&tcsr_regs 0xb244>;

status = "disabled";
};

Expand Down

0 comments on commit 2464897

Please sign in to comment.