Skip to content

Commit 12d5a15

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 34c0b2c commit 12d5a15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

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

47154715
clocks = <&gcc GCC_SDCC2_AHB_CLK>,
47164716
<&gcc GCC_SDCC2_APPS_CLK>,
4717-
<&rpmhcc RPMH_CXO_CLK>;
4717+
<&bi_tcxo_div2>;
47184718
clock-names = "iface", "core", "xo";
47194719
iommus = <&apps_smmu 0x520 0>;
47204720
qcom,dll-config = <0x0007642c>;
@@ -4767,7 +4767,7 @@
47674767

47684768
clocks = <&gcc GCC_SDCC4_AHB_CLK>,
47694769
<&gcc GCC_SDCC4_APPS_CLK>,
4770-
<&rpmhcc RPMH_CXO_CLK>;
4770+
<&bi_tcxo_div2>;
47714771
clock-names = "iface", "core", "xo";
47724772
iommus = <&apps_smmu 0x160 0>;
47734773
qcom,dll-config = <0x0007642c>;

0 commit comments

Comments
 (0)