Merge tag 'drm-intel-next-queued-2020-11-03' of git://anongit.freedesktop.org/drm...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / interconnect / qcom,rpmh.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/interconnect/qcom,rpmh.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm RPMh Network-On-Chip Interconnect
8
9 maintainers:
10   - Georgi Djakov <georgi.djakov@linaro.org>
11   - Odelu Kukatla <okukatla@codeaurora.org>
12
13 description: |
14    RPMh interconnect providers support system bandwidth requirements through
15    RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
16    able to communicate with the BCM through the Resource State Coordinator (RSC)
17    associated with each execution environment. Provider nodes must point to at
18    least one RPMh device child node pertaining to their RSC and each provider
19    can map to multiple RPMh resources.
20
21 properties:
22   reg:
23     maxItems: 1
24
25   compatible:
26     enum:
27       - qcom,sc7180-aggre1-noc
28       - qcom,sc7180-aggre2-noc
29       - qcom,sc7180-camnoc-virt
30       - qcom,sc7180-compute-noc
31       - qcom,sc7180-config-noc
32       - qcom,sc7180-dc-noc
33       - qcom,sc7180-gem-noc
34       - qcom,sc7180-ipa-virt
35       - qcom,sc7180-mc-virt
36       - qcom,sc7180-mmss-noc
37       - qcom,sc7180-npu-noc
38       - qcom,sc7180-qup-virt
39       - qcom,sc7180-system-noc
40       - qcom,sdm845-aggre1-noc
41       - qcom,sdm845-aggre2-noc
42       - qcom,sdm845-config-noc
43       - qcom,sdm845-dc-noc
44       - qcom,sdm845-gladiator-noc
45       - qcom,sdm845-mem-noc
46       - qcom,sdm845-mmss-noc
47       - qcom,sdm845-system-noc
48       - qcom,sm8150-aggre1-noc
49       - qcom,sm8150-aggre2-noc
50       - qcom,sm8150-camnoc-noc
51       - qcom,sm8150-compute-noc
52       - qcom,sm8150-config-noc
53       - qcom,sm8150-dc-noc
54       - qcom,sm8150-gem-noc
55       - qcom,sm8150-ipa-virt
56       - qcom,sm8150-mc-virt
57       - qcom,sm8150-mmss-noc
58       - qcom,sm8150-system-noc
59       - qcom,sm8250-aggre1-noc
60       - qcom,sm8250-aggre2-noc
61       - qcom,sm8250-compute-noc
62       - qcom,sm8250-config-noc
63       - qcom,sm8250-dc-noc
64       - qcom,sm8250-gem-noc
65       - qcom,sm8250-ipa-virt
66       - qcom,sm8250-mc-virt
67       - qcom,sm8250-mmss-noc
68       - qcom,sm8250-npu-noc
69       - qcom,sm8250-system-noc
70
71   '#interconnect-cells':
72     const: 1
73
74   qcom,bcm-voters:
75     $ref: /schemas/types.yaml#/definitions/phandle-array
76     description: |
77       List of phandles to qcom,bcm-voter nodes that are required by
78       this interconnect to send RPMh commands.
79
80   qcom,bcm-voter-names:
81     $ref: /schemas/types.yaml#/definitions/string-array
82     description: |
83       Names for each of the qcom,bcm-voters specified.
84
85 required:
86   - compatible
87   - reg
88   - '#interconnect-cells'
89   - qcom,bcm-voters
90
91 additionalProperties: false
92
93 examples:
94   - |
95       #include <dt-bindings/interconnect/qcom,sdm845.h>
96
97       mem_noc: interconnect@1380000 {
98              compatible = "qcom,sdm845-mem-noc";
99              reg = <0x01380000 0x27200>;
100              #interconnect-cells = <1>;
101              qcom,bcm-voters = <&apps_bcm_voter>;
102       };
103
104       mmss_noc: interconnect@1740000 {
105              compatible = "qcom,sdm845-mmss-noc";
106              reg = <0x01740000 0x1c1000>;
107              #interconnect-cells = <1>;
108              qcom,bcm-voter-names = "apps", "disp";
109              qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
110       };