]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: talos: Correct UFS clocks ordering
authorPradeep P V K <pradeep.pragallapati@oss.qualcomm.com>
Wed, 26 Nov 2025 13:11:46 +0000 (18:41 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 16 Dec 2025 23:24:09 +0000 (15:24 -0800)
The current UFS clocks does not align with their respective names,
causing the ref_clk to be set to an incorrect frequency as below,
which results in command timeouts.

ufshcd-qcom 1d84000.ufshc: invalid ref_clk setting = 300000000

This commit fixes the issue by properly reordering the UFS clocks to
match their names.

Fixes: ea172f61f4fd ("arm64: dts: qcom: qcs615: Fix up UFS clocks")
Cc: stable@vger.kernel.org
Signed-off-by: Pradeep P V K <pradeep.pragallapati@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251126131146.16146-1-pradeep.pragallapati@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/talos.dtsi

index d1dbfa3bd81c3d999bd79fc92ad85312c2f83087..95d26e3136229f9015d49e2be22f6b28f1e842f4 100644 (file)
                                 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
                                 <&gcc GCC_UFS_PHY_AHB_CLK>,
                                 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
-                                <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
                                 <&rpmhcc RPMH_CXO_CLK>,
                                 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
-                                <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>;
+                                <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
+                                <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
                        clock-names = "core_clk",
                                      "bus_aggr_clk",
                                      "iface_clk",