xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*4882a593Smuzhiyun%YAML 1.2
3*4882a593Smuzhiyun---
4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/hwlock/qcom-hwspinlock.yaml#
5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml#
6*4882a593Smuzhiyun
7*4882a593Smuzhiyuntitle: Qualcomm Hardware Mutex Block
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunmaintainers:
10*4882a593Smuzhiyun  - Bjorn Andersson <bjorn.andersson@linaro.org>
11*4882a593Smuzhiyun
12*4882a593Smuzhiyundescription:
13*4882a593Smuzhiyun  The hardware block provides mutexes utilized between different processors on
14*4882a593Smuzhiyun  the SoC as part of the communication protocol used by these processors.
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunproperties:
17*4882a593Smuzhiyun  compatible:
18*4882a593Smuzhiyun    enum:
19*4882a593Smuzhiyun      - qcom,sfpb-mutex
20*4882a593Smuzhiyun      - qcom,tcsr-mutex
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun  reg:
23*4882a593Smuzhiyun    maxItems: 1
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun  '#hwlock-cells':
26*4882a593Smuzhiyun    const: 1
27*4882a593Smuzhiyun
28*4882a593Smuzhiyunrequired:
29*4882a593Smuzhiyun  - compatible
30*4882a593Smuzhiyun  - reg
31*4882a593Smuzhiyun  - '#hwlock-cells'
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunadditionalProperties: false
34*4882a593Smuzhiyun
35*4882a593Smuzhiyunexamples:
36*4882a593Smuzhiyun  - |
37*4882a593Smuzhiyun        tcsr_mutex: hwlock@1f40000 {
38*4882a593Smuzhiyun                compatible = "qcom,tcsr-mutex";
39*4882a593Smuzhiyun                reg = <0x01f40000 0x40000>;
40*4882a593Smuzhiyun                #hwlock-cells = <1>;
41*4882a593Smuzhiyun        };
42*4882a593Smuzhiyun...
43