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