mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
35 lines
1.6 KiB
Diff
35 lines
1.6 KiB
Diff
|
From a120815200adaf3ac28ccf3a1813c78b4be02cc4 Mon Sep 17 00:00:00 2001
|
||
|
From: Vignesh Viswanathan <quic_viswanat@quicinc.com>
|
||
|
Date: Tue, 5 Sep 2023 15:25:35 +0530
|
||
|
Subject: [PATCH v2 2/2] hwspinlock: qcom: Remove IPQ6018 SOC specific compatible
|
||
|
|
||
|
IPQ6018 has 32 tcsr_mutex hwlock registers with stride 0x1000.
|
||
|
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.
|
||
|
|
||
|
Remove IPQ6018 specific compatible string so that it fallsback to
|
||
|
of_tcsr_mutex data which maps to the correct configuration for IPQ6018.
|
||
|
|
||
|
Changes in v2:
|
||
|
- Updated commit message
|
||
|
- Added Fixes and stable tags
|
||
|
|
||
|
Cc: stable@vger.kernel.org
|
||
|
Fixes: 5d4753f741d8 ("hwspinlock: qcom: add support for MMIO on older SoCs")
|
||
|
Signed-off-by: Vignesh Viswanathan <quic_viswanat@quicinc.com>
|
||
|
---
|
||
|
drivers/hwspinlock/qcom_hwspinlock.c | 1 -
|
||
|
1 file changed, 1 deletion(-)
|
||
|
|
||
|
--- a/drivers/hwspinlock/qcom_hwspinlock.c
|
||
|
+++ b/drivers/hwspinlock/qcom_hwspinlock.c
|
||
|
@@ -115,7 +115,6 @@ static const struct of_device_id qcom_hw
|
||
|
{ .compatible = "qcom,sfpb-mutex", .data = &of_sfpb_mutex },
|
||
|
{ .compatible = "qcom,tcsr-mutex", .data = &of_tcsr_mutex },
|
||
|
{ .compatible = "qcom,apq8084-tcsr-mutex", .data = &of_msm8226_tcsr_mutex },
|
||
|
- { .compatible = "qcom,ipq6018-tcsr-mutex", .data = &of_msm8226_tcsr_mutex },
|
||
|
{ .compatible = "qcom,msm8226-tcsr-mutex", .data = &of_msm8226_tcsr_mutex },
|
||
|
{ .compatible = "qcom,msm8974-tcsr-mutex", .data = &of_msm8226_tcsr_mutex },
|
||
|
{ .compatible = "qcom,msm8994-tcsr-mutex", .data = &of_msm8226_tcsr_mutex },
|