Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: interconnect: qcom: Split out rpmh-common bindings

In preparation for the platforms, split out common definitions used in
rpmh-based interconnects.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220525144404.200390-3-luca.weiss@fairphone.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>

authored by

Luca Weiss and committed by
Georgi Djakov
23c136bb 57eb1477

+48 -17
+43
Documentation/devicetree/bindings/interconnect/qcom,rpmh-common.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-common.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 <djakov@kernel.org> 11 + - Bjorn Andersson <bjorn.andersson@linaro.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 + '#interconnect-cells': 23 + enum: [ 1, 2 ] 24 + 25 + qcom,bcm-voters: 26 + $ref: /schemas/types.yaml#/definitions/phandle-array 27 + items: 28 + maxItems: 1 29 + maxItems: 2 30 + description: 31 + List of phandles to qcom,bcm-voter nodes that are required by 32 + this interconnect to send RPMh commands. 33 + 34 + qcom,bcm-voter-names: 35 + maxItems: 2 36 + description: 37 + Names for each of the qcom,bcm-voters specified. 38 + 39 + required: 40 + - '#interconnect-cells' 41 + - qcom,bcm-voters 42 + 43 + additionalProperties: true
+5 -17
Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml
··· 18 18 least one RPMh device child node pertaining to their RSC and each provider 19 19 can map to multiple RPMh resources. 20 20 21 + allOf: 22 + - $ref: qcom,rpmh-common.yaml# 23 + 21 24 properties: 22 25 reg: 23 26 maxItems: 1 ··· 133 130 - qcom,sm8450-pcie-anoc 134 131 - qcom,sm8450-system-noc 135 132 136 - '#interconnect-cells': 137 - enum: [ 1, 2 ] 138 - 139 - qcom,bcm-voters: 140 - $ref: /schemas/types.yaml#/definitions/phandle-array 141 - items: 142 - maxItems: 1 143 - description: | 144 - List of phandles to qcom,bcm-voter nodes that are required by 145 - this interconnect to send RPMh commands. 146 - 147 - qcom,bcm-voter-names: 148 - description: | 149 - Names for each of the qcom,bcm-voters specified. 133 + '#interconnect-cells': true 150 134 151 135 required: 152 136 - compatible 153 137 - reg 154 - - '#interconnect-cells' 155 - - qcom,bcm-voters 156 138 157 - additionalProperties: false 139 + unevaluatedProperties: false 158 140 159 141 examples: 160 142 - |