]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sm8550: Limit max SD HS mode frequency by default
authorSarthak Garg <quic_sartgarg@quicinc.com>
Mon, 8 Sep 2025 10:41:22 +0000 (16:11 +0530)
committerBjorn Andersson <andersson@kernel.org>
Wed, 29 Oct 2025 16:56:11 +0000 (11:56 -0500)
Due to an implementation detail in this SoC, additional passive
electrical components are required to achieve the maximum rated speed
of the SD controller when paired with a High-Speed SD Card. Without
them, the clock frequency must be limited to 37.5 MHz for link stability.

Because the reference design does not contain these components, most
(derivative) boards do not have them either. To accommodate for that,
apply the frequency limit by default and delegate lifting it to the
odd boards that do contain the necessary onboard hardware.

Signed-off-by: Sarthak Garg <quic_sartgarg@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250908104122.2062653-5-quic_sartgarg@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8550.dtsi

index aa3167d10a41265ae8c9f178f7505dca89834596..04e6db8f1030594f34585db40bd683510de968f6 100644 (file)
                                         &config_noc SLAVE_SDCC_2 QCOM_ICC_TAG_ACTIVE_ONLY>;
                        interconnect-names = "sdhc-ddr", "cpu-sdhc";
                        bus-width = <4>;
+                       max-sd-hs-hz = <37500000>;
                        dma-coherent;
 
                        /* Forbid SDR104/SDR50 - broken hw! */