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

dt-bindings: interconnect: qcom: Introduce qcom,rpm-common

The current RPM interconnect bindings are messy. Start cleaning them
up with a common include.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230721-topic-icc_bindings-v2-1-e33d5acbf3bd@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>

authored by

Konrad Dybcio and committed by
Georgi Djakov
400e531b 0bb80ecc

+36 -10
+8 -10
Documentation/devicetree/bindings/interconnect/qcom,qcm2290.yaml
··· 13 13 The Qualcomm QCM2290 interconnect providers support adjusting the 14 14 bandwidth requirements between the various NoC fabrics. 15 15 16 + allOf: 17 + - $ref: qcom,rpm-common.yaml# 18 + 16 19 properties: 17 20 reg: 18 21 maxItems: 1 ··· 25 22 - qcom,qcm2290-bimc 26 23 - qcom,qcm2290-cnoc 27 24 - qcom,qcm2290-snoc 28 - 29 - '#interconnect-cells': 30 - const: 1 31 25 32 26 clock-names: 33 27 items: ··· 44 44 The interconnect providers do not have a separate QoS register space, 45 45 but share parent's space. 46 46 47 + allOf: 48 + - $ref: qcom,rpm-common.yaml# 49 + 47 50 properties: 48 51 compatible: 49 52 enum: 50 53 - qcom,qcm2290-qup-virt 51 54 - qcom,qcm2290-mmrt-virt 52 55 - qcom,qcm2290-mmnrt-virt 53 - 54 - '#interconnect-cells': 55 - const: 1 56 56 57 57 clock-names: 58 58 items: ··· 66 66 67 67 required: 68 68 - compatible 69 - - '#interconnect-cells' 70 69 - clock-names 71 70 - clocks 72 71 73 - additionalProperties: false 72 + unevaluatedProperties: false 74 73 75 74 required: 76 75 - compatible 77 76 - reg 78 - - '#interconnect-cells' 79 77 - clock-names 80 78 - clocks 81 79 82 - additionalProperties: false 80 + unevaluatedProperties: false 83 81 84 82 examples: 85 83 - |
+28
Documentation/devicetree/bindings/interconnect/qcom,rpm-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,rpm-common.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm RPMh Network-On-Chip Interconnect 8 + 9 + maintainers: 10 + - Konrad Dybcio <konradybcio@kernel.org> 11 + 12 + description: 13 + RPM interconnect providers support for managing system bandwidth requirements 14 + through manual requests based on either predefined values or as indicated by 15 + the bus monitor hardware. Each provider node represents a NoC bus master, 16 + driven by a dedicated clock source. 17 + 18 + properties: 19 + '#interconnect-cells': 20 + oneOf: 21 + - const: 2 22 + - const: 1 23 + deprecated: true 24 + 25 + required: 26 + - '#interconnect-cells' 27 + 28 + additionalProperties: true