arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
authorVignesh Viswanathan <quic_viswanat@quicinc.com>
Tue, 5 Sep 2023 09:55:34 +0000 (15:25 +0530)
committerBjorn Andersson <andersson@kernel.org>
Wed, 20 Sep 2023 03:57:59 +0000 (20:57 -0700)
IPQ6018's TCSR Mutex HW lock register has 32 locks of size 4KB each.
Total size of the TCSR Mutex registers is 128KB.

Fix size of the tcsr_mutex hwlock register to 0x20000.

Changes in v2:
 - Drop change to remove qcom,ipq6018-tcsr-mutex compatible string
 - Added Fixes and stable tags

Cc: stable@vger.kernel.org
Fixes: 5bf635621245 ("arm64: dts: ipq6018: Add a few device nodes")
Signed-off-by: Vignesh Viswanathan <quic_viswanat@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230905095535.1263113-2-quic_viswanat@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq6018.dtsi

index 72e6457ddf9ff13e3d6adf90dc41880f9e748bf5..e59b9df96c7e6c0e50a81e210efad4764955b76b 100644 (file)
 
                tcsr_mutex: hwlock@1905000 {
                        compatible = "qcom,ipq6018-tcsr-mutex", "qcom,tcsr-mutex";
-                       reg = <0x0 0x01905000 0x0 0x1000>;
+                       reg = <0x0 0x01905000 0x0 0x20000>;
                        #hwlock-cells = <1>;
                };