Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: hwlock: qcom-hwspinlock: add syscon to MSM8974

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

authored by

Krzysztof Kozlowski and committed by
Bjorn Andersson
c29f4461 5d4753f7

+5 -1
+5 -1
Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
··· 24 24 - qcom,apq8084-tcsr-mutex 25 25 - qcom,ipq6018-tcsr-mutex 26 26 - qcom,msm8226-tcsr-mutex 27 - - qcom,msm8974-tcsr-mutex 28 27 - qcom,msm8994-tcsr-mutex 29 28 - const: qcom,tcsr-mutex 29 + - items: 30 + - enum: 31 + - qcom,msm8974-tcsr-mutex 32 + - const: qcom,tcsr-mutex 33 + - const: syscon 30 34 31 35 reg: 32 36 maxItems: 1