devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix tcsr_mutex register for IPQ6018
@ 2023-09-04  5:50 Vignesh Viswanathan
  2023-09-04  5:50 ` [PATCH 1/3] arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size Vignesh Viswanathan
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Vignesh Viswanathan @ 2023-09-04  5:50 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
	conor+dt, linux-arm-msm, devicetree, linux-kernel, ohad,
	baolin.wang, linux-remoteproc
  Cc: quic_kathirav, quic_anusha, quic_sjaganat, quic_srichara,
	quic_varada, Vignesh Viswanathan

IPQ6018 has 32 tcsr_mutext hwlock registers of 0x1000 size each.
The compatible string qcom,ipq6018-tcsr-mutex is mapped to
of_msm8226_tcsr_mutex which has 32 locks configured with stride of 0x80
and doesn't match the HW present in IPQ6018.

This series fixes the following:
1. Fix the tcsr_mutex hwlock register size to 0x20000 in ipq6018.dtsi.
2. Remove qcom,ipq6018-tcsr-mutex compatible string for tcsr_mutex in
ipq6018.dtsi.
3. Drop unused qcom,ipq6018-tcsr-mutex compatible string from
qcom_hwspinlock driver and dt-bindings.

Vignesh Viswanathan (3):
  arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
  hwspinlock: qcom: Drop unused qcom,ipq6018-tcsr-mutex
  dt-bindings: hwlock: Drop unused qcom,ipq6018-tcsr-mutex

 Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml | 1 -
 arch/arm64/boot/dts/qcom/ipq6018.dtsi                         | 4 ++--
 drivers/hwspinlock/qcom_hwspinlock.c                          | 1 -
 3 files changed, 2 insertions(+), 4 deletions(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-09-05 16:25 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-04  5:50 [PATCH 0/3] Fix tcsr_mutex register for IPQ6018 Vignesh Viswanathan
2023-09-04  5:50 ` [PATCH 1/3] arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size Vignesh Viswanathan
2023-09-04  6:40   ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).