From: Neil Armstrong <neil.armstrong@linaro.org>
To: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Abel Vesa <abelvesa@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 1/6] arm64: dts: qcom: sm8550: Fix xo clock supply of platform SD host controller
Date: Mon, 16 Mar 2026 09:56:44 +0100 [thread overview]
Message-ID: <efd3ba96-db32-4e3d-83ef-0047079b3651@linaro.org> (raw)
In-Reply-To: <20260314023715.357512-2-vladimir.zapolskiy@linaro.org>
On 3/14/26 03:37, Vladimir Zapolskiy wrote:
> 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: ffc50b2d3828 ("arm64: dts: qcom: Add base SM8550 dtsi")
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> index e3f93f4f412d..03672df25eeb 100644
> --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> @@ -3210,7 +3210,7 @@ sdhc_2: mmc@8804000 {
>
> clocks = <&gcc GCC_SDCC2_AHB_CLK>,
> <&gcc GCC_SDCC2_APPS_CLK>,
> - <&rpmhcc RPMH_CXO_CLK>;
> + <&bi_tcxo_div2>;
> clock-names = "iface", "core", "xo";
> iommus = <&apps_smmu 0x540 0>;
> qcom,dll-config = <0x0007642c>;
Thanks, I confirm the sdhc block is feed with the xo/2.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Thanks,
Neil
next prev parent reply other threads:[~2026-03-16 8:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-14 2:37 [PATCH v2 0/6] arm64: dts: qcom: sm8x50: Enable UHS-I SDR50 and SDR104 SD card modes Vladimir Zapolskiy
2026-03-14 2:37 ` [PATCH v2 1/6] arm64: dts: qcom: sm8550: Fix xo clock supply of platform SD host controller Vladimir Zapolskiy
2026-03-16 8:56 ` Neil Armstrong [this message]
2026-03-17 9:33 ` Konrad Dybcio
2026-03-14 2:37 ` [PATCH v2 2/6] arm64: dts: qcom: sm8650: Fix xo clock supply of " Vladimir Zapolskiy
2026-03-16 8:56 ` Neil Armstrong
2026-03-17 9:34 ` Konrad Dybcio
2026-03-14 2:37 ` [PATCH v2 3/6] arm64: dts: qcom: hamoa: Fix xo clock supply of platform " Vladimir Zapolskiy
2026-03-16 8:58 ` Neil Armstrong
2026-03-17 9:35 ` Konrad Dybcio
2026-03-14 2:37 ` [PATCH v2 4/6] arm64: dts: qcom: sm8450: Enable UHS-I SDR50 and SDR104 SD card modes Vladimir Zapolskiy
2026-03-14 2:37 ` [PATCH v2 5/6] arm64: dts: qcom: sm8550: " Vladimir Zapolskiy
2026-03-23 13:05 ` Konrad Dybcio
2026-03-14 2:37 ` [PATCH v2 6/6] arm64: dts: qcom: sm8650: " Vladimir Zapolskiy
2026-03-23 13:06 ` Konrad Dybcio
2026-03-19 3:31 ` [PATCH v2 0/6] arm64: dts: qcom: sm8x50: " Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=efd3ba96-db32-4e3d-83ef-0047079b3651@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=robh@kernel.org \
--cc=vladimir.zapolskiy@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox