dt-bindings: hwlock: qcom-hwspinlock: add support for MMIO on older SoCs
[platform/kernel/linux-starfive.git] / Documentation / devicetree / bindings / hwlock / qcom-hwspinlock.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/hwlock/qcom-hwspinlock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Hardware Mutex Block
8
9 maintainers:
10   - Bjorn Andersson <bjorn.andersson@linaro.org>
11
12 description:
13   The hardware block provides mutexes utilized between different processors on
14   the SoC as part of the communication protocol used by these processors.
15
16 properties:
17   compatible:
18     oneOf:
19       - enum:
20           - qcom,sfpb-mutex
21           - qcom,tcsr-mutex
22       - items:
23           - enum:
24               - qcom,apq8084-tcsr-mutex
25               - qcom,ipq6018-tcsr-mutex
26               - qcom,msm8226-tcsr-mutex
27               - qcom,msm8974-tcsr-mutex
28               - qcom,msm8994-tcsr-mutex
29           - const: qcom,tcsr-mutex
30
31   reg:
32     maxItems: 1
33
34   '#hwlock-cells':
35     const: 1
36
37 required:
38   - compatible
39   - reg
40   - '#hwlock-cells'
41
42 additionalProperties: false
43
44 examples:
45   - |
46         tcsr_mutex: hwlock@1f40000 {
47                 compatible = "qcom,tcsr-mutex";
48                 reg = <0x01f40000 0x40000>;
49                 #hwlock-cells = <1>;
50         };
51 ...