All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vignesh Viswanathan <quic_viswanat@quicinc.com>
To: <agross@kernel.org>, <andersson@kernel.org>,
	<konrad.dybcio@linaro.org>, <robh+dt@kernel.org>,
	<krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>,
	<linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <ohad@wizery.com>,
	<baolin.wang@linux.alibaba.com>,
	<linux-remoteproc@vger.kernel.org>
Cc: <quic_kathirav@quicinc.com>, <quic_anusha@quicinc.com>,
	<quic_sjaganat@quicinc.com>, <quic_srichara@quicinc.com>,
	<quic_varada@quicinc.com>,
	Vignesh Viswanathan <quic_viswanat@quicinc.com>
Subject: [PATCH 1/3] arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
Date: Mon, 4 Sep 2023 11:20:08 +0530	[thread overview]
Message-ID: <20230904055010.4118982-2-quic_viswanat@quicinc.com> (raw)
In-Reply-To: <20230904055010.4118982-1-quic_viswanat@quicinc.com>

IPQ6018 has 32 tcsr_mutex hwlock registers and size of each is 0x1000.

Fix size of the tcsr_mutex hwlock register to 0x20000.
Also, remove the qcom,ipq6018-tcsr-mutex compatible as this maps to
incorrect stride and mutex config for IPQ6018 in hwspinlock driver.

Signed-off-by: Vignesh Viswanathan <quic_viswanat@quicinc.com>
---
 arch/arm64/boot/dts/qcom/ipq6018.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
index 47b8b1d6730a..56537cf8243f 100644
--- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
@@ -392,8 +392,8 @@ gcc: gcc@1800000 {
 		};
 
 		tcsr_mutex: hwlock@1905000 {
-			compatible = "qcom,ipq6018-tcsr-mutex", "qcom,tcsr-mutex";
-			reg = <0x0 0x01905000 0x0 0x1000>;
+			compatible = "qcom,tcsr-mutex";
+			reg = <0x0 0x01905000 0x0 0x20000>;
 			#hwlock-cells = <1>;
 		};
 
-- 
2.41.0


  reply	other threads:[~2023-09-04  5:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-04  5:50 [PATCH 0/3] Fix tcsr_mutex register for IPQ6018 Vignesh Viswanathan
2023-09-04  5:50 ` Vignesh Viswanathan [this message]
2023-09-04  6:40   ` [PATCH 1/3] arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size Krzysztof Kozlowski
2023-09-04  6:57     ` Vignesh Viswanathan
2023-09-04  5:50 ` [PATCH 2/3] hwspinlock: qcom: Drop unused qcom,ipq6018-tcsr-mutex Vignesh Viswanathan
2023-09-04  6:42   ` Krzysztof Kozlowski
2023-09-04 16:01     ` Konrad Dybcio
2023-09-04 16:09       ` Vignesh Viswanathan
2023-09-04 18:16         ` Krzysztof Kozlowski
2023-09-05  9:56           ` Vignesh Viswanathan
2023-09-04  5:50 ` [PATCH 3/3] dt-bindings: hwlock: " Vignesh Viswanathan
2023-09-04  6:42   ` Krzysztof Kozlowski
2023-09-04 15:58 ` [PATCH 0/3] Fix tcsr_mutex register for IPQ6018 Konrad Dybcio
2023-09-04 17:27   ` Vignesh Viswanathan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230904055010.4118982-2-quic_viswanat@quicinc.com \
    --to=quic_viswanat@quicinc.com \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=baolin.wang@linux.alibaba.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=ohad@wizery.com \
    --cc=quic_anusha@quicinc.com \
    --cc=quic_kathirav@quicinc.com \
    --cc=quic_sjaganat@quicinc.com \
    --cc=quic_srichara@quicinc.com \
    --cc=quic_varada@quicinc.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.