xref: /openbmc/linux/Documentation/devicetree/bindings/interconnect/qcom,rpmh-common.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1*23c136bbSLuca Weiss# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*23c136bbSLuca Weiss%YAML 1.2
3*23c136bbSLuca Weiss---
4*23c136bbSLuca Weiss$id: http://devicetree.org/schemas/interconnect/qcom,rpmh-common.yaml#
5*23c136bbSLuca Weiss$schema: http://devicetree.org/meta-schemas/core.yaml#
6*23c136bbSLuca Weiss
7*23c136bbSLuca Weisstitle: Qualcomm RPMh Network-On-Chip Interconnect
8*23c136bbSLuca Weiss
9*23c136bbSLuca Weissmaintainers:
10*23c136bbSLuca Weiss  - Georgi Djakov <djakov@kernel.org>
11*23c136bbSLuca Weiss  - Bjorn Andersson <bjorn.andersson@linaro.org>
12*23c136bbSLuca Weiss
13*23c136bbSLuca Weissdescription:
14*23c136bbSLuca Weiss  RPMh interconnect providers support system bandwidth requirements through
15*23c136bbSLuca Weiss  RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
16*23c136bbSLuca Weiss  able to communicate with the BCM through the Resource State Coordinator (RSC)
17*23c136bbSLuca Weiss  associated with each execution environment. Provider nodes must point to at
18*23c136bbSLuca Weiss  least one RPMh device child node pertaining to their RSC and each provider
19*23c136bbSLuca Weiss  can map to multiple RPMh resources.
20*23c136bbSLuca Weiss
21*23c136bbSLuca Weissproperties:
22*23c136bbSLuca Weiss  '#interconnect-cells':
23*23c136bbSLuca Weiss    enum: [ 1, 2 ]
24*23c136bbSLuca Weiss
25*23c136bbSLuca Weiss  qcom,bcm-voters:
26*23c136bbSLuca Weiss    $ref: /schemas/types.yaml#/definitions/phandle-array
27*23c136bbSLuca Weiss    items:
28*23c136bbSLuca Weiss      maxItems: 1
29*23c136bbSLuca Weiss    maxItems: 2
30*23c136bbSLuca Weiss    description:
31*23c136bbSLuca Weiss      List of phandles to qcom,bcm-voter nodes that are required by
32*23c136bbSLuca Weiss      this interconnect to send RPMh commands.
33*23c136bbSLuca Weiss
34*23c136bbSLuca Weiss  qcom,bcm-voter-names:
35*23c136bbSLuca Weiss    maxItems: 2
36*23c136bbSLuca Weiss    description:
37*23c136bbSLuca Weiss      Names for each of the qcom,bcm-voters specified.
38*23c136bbSLuca Weiss
39*23c136bbSLuca Weissrequired:
40*23c136bbSLuca Weiss  - '#interconnect-cells'
41*23c136bbSLuca Weiss  - qcom,bcm-voters
42*23c136bbSLuca Weiss
43*23c136bbSLuca WeissadditionalProperties: true
44