arm64: dts: qcom: msm8996: Define UFS UniPro clock limits
authorYassine Oudjana <y.oudjana@protonmail.com>
Mon, 18 Dec 2023 13:39:42 +0000 (13:39 +0000)
committerBjorn Andersson <andersson@kernel.org>
Wed, 14 Feb 2024 05:32:49 +0000 (23:32 -0600)
These limits were always defined as 0, but that didn't cause any issue
since the driver had hardcoded limits. In commit b4e13e1ae95e ("scsi: ufs:
qcom: Add multiple frequency support for MAX_CORE_CLK_1US_CYCLES") the
hardcoded limits were removed and the driver started reading them from DT,
causing UFS to stop working on MSM8996. Add real UniPro clock limits to fix
UFS.

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Fixes: 57fc67ef0d35 ("arm64: dts: qcom: msm8996: Add ufs related nodes")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231218133917.78770-1-y.oudjana@protonmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/msm8996.dtsi

index a691913b78a0506bab6f11826a5deaa1228c7ee9..dddb07f774b4a6ad4b41969cf890ed4f52613049 100644 (file)
                                <0 0>,
                                <0 0>,
                                <150000000 300000000>,
-                               <0>,
+                               <75000000 150000000>,
                                <0 0>,
                                <0 0>,
                                <0 0>,