dt-bindings: hwlock: qcom-hwspinlock: add syscon to MSM8974
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 20 Sep 2022 15:04:12 +0000 (17:04 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 17 Oct 2022 22:11:17 +0000 (17:11 -0500)
The TCSR_MUTEX region contains two set of registers: mutex and halt.
Add syscon, so the TCSR mutex device (hwspinlock) can use MMIO based
method and in the same time share regmap with other devices for the halt
regs.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Tested-by: Luca Weiss <luca@z3ntu.xyz> # fairphone-fp2
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220920150414.637634-2-krzysztof.kozlowski@linaro.org
Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml

index 1a3adf7..ee27261 100644 (file)
@@ -24,9 +24,13 @@ properties:
               - qcom,apq8084-tcsr-mutex
               - qcom,ipq6018-tcsr-mutex
               - qcom,msm8226-tcsr-mutex
-              - qcom,msm8974-tcsr-mutex
               - qcom,msm8994-tcsr-mutex
           - const: qcom,tcsr-mutex
+      - items:
+          - enum:
+              - qcom,msm8974-tcsr-mutex
+          - const: qcom,tcsr-mutex
+          - const: syscon
 
   reg:
     maxItems: 1