Skip to content

Commit 6360bca

Browse files
Vladimir Zapolskiygregkh
authored andcommitted
arm64: dts: qcom: hamoa: Fix xo clock supply of platform SD host controller
[ Upstream commit d094f79 ] The expected frequency of SD host controller core supply clock is 19.2MHz, while RPMH_CXO_CLK clock frequency on SM8650 platform is 38.4MHz. Apparently the overclocked supply clock could be good enough on some boards and even with the most of SD cards, however some low-end UHS-I SD cards in SDR104 mode of the host controller produce I/O errors in runtime, fortunately this problem is gone, if the "xo" clock frequency matches the expected 19.2MHz clock rate. Fixes: ffb21c1 ("arm64: dts: qcom: x1e80100: Describe the SDHC controllers") Reported-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20260314023715.357512-4-vladimir.zapolskiy@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 168ec54 commit 6360bca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm64/boot/dts/qcom/x1e80100.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4579,7 +4579,7 @@
45794579

45804580
clocks = <&gcc GCC_SDCC2_AHB_CLK>,
45814581
<&gcc GCC_SDCC2_APPS_CLK>,
4582-
<&rpmhcc RPMH_CXO_CLK>;
4582+
<&bi_tcxo_div2>;
45834583
clock-names = "iface", "core", "xo";
45844584
iommus = <&apps_smmu 0x520 0>;
45854585
qcom,dll-config = <0x0007642c>;
@@ -4632,7 +4632,7 @@
46324632

46334633
clocks = <&gcc GCC_SDCC4_AHB_CLK>,
46344634
<&gcc GCC_SDCC4_APPS_CLK>,
4635-
<&rpmhcc RPMH_CXO_CLK>;
4635+
<&bi_tcxo_div2>;
46364636
clock-names = "iface", "core", "xo";
46374637
iommus = <&apps_smmu 0x160 0>;
46384638
qcom,dll-config = <0x0007642c>;

0 commit comments

Comments
 (0)