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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:20:03 +0000 (17:20 +0000)
commit 72fc3d58b87b0d622039c6299b89024fbb7b420f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/qcom/ipq6018.dtsi

index 8c285f9..264845c 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>;
                };