[PATCH v2 0/2] Fix tcsr_mutex register for IPQ6018

From: Vignesh Viswanathan
Date: Tue Sep 05 2023 - 12:22:44 EST


IPQ6018 has 32 tcsr_mutex 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 register size to 0x20000 in IPQ6018 DTSI.
2. Remove IPQ6018 specific compatible in hwspinlock driver so that it
falls back to pick of_tcsr_mutex data.

Changes in v2:
- Drop changes to remove qcom,ipq6018-tcsr-mutex from dt-bindings
- Drop changes to remove qcom,ipq6018-tcsr-mutex compatible from
ipq6018.dtsi
- Add Fixes and stable tags

Vignesh Viswanathan (2):
arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
hwspinlock: qcom: Remove IPQ6018 SOC specific compatible

arch/arm64/boot/dts/qcom/ipq6018.dtsi | 2 +-
drivers/hwspinlock/qcom_hwspinlock.c | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)

--
2.41.0