]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: qcom: msm8974: correct qfprom node size
authorCraig Tatlor <ctatlor97@gmail.com>
Sat, 10 Feb 2024 16:45:40 +0000 (17:45 +0100)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:16:43 +0000 (18:16 -0400)
[ Upstream commit 724c4bf0e4bf81dba77736afb93964c986c3c123 ]

The qfprom actually is bigger than 0x1000, so adjust the reg.

Note that the non-ECC-corrected qfprom can be found at 0xfc4b8000
(-0x4000). The current reg points to the ECC-corrected qfprom block
which should have equivalent values at all offsets compared to the
non-corrected version.

[luca@z3ntu.xyz: extract to standalone patch and adjust for review
comments]

Fixes: c59ffb519357 ("arm: dts: msm8974: Add thermal zones, tsens and qfprom nodes")
Signed-off-by: Craig Tatlor <ctatlor97@gmail.com>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240210-msm8974-qfprom-v3-1-26c424160334@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/qcom/qcom-msm8974.dtsi

index b1413983787c2e2f6a6c38fdad8d97937ec4d0d3..083ab780ab7e4449d2e066b465aa7b50f506b945 100644 (file)
 
                qfprom: qfprom@fc4bc000 {
                        compatible = "qcom,msm8974-qfprom", "qcom,qfprom";
-                       reg = <0xfc4bc000 0x1000>;
+                       reg = <0xfc4bc000 0x2100>;
                        #address-cells = <1>;
                        #size-cells = <1>;