Commit 400e531b authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Georgi Djakov

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: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230721-topic-icc_bindings-v2-1-e33d5acbf3bd@linaro.orgSigned-off-by: default avatarGeorgi Djakov <djakov@kernel.org>
parent 0bb80ecc
...@@ -13,6 +13,9 @@ description: | ...@@ -13,6 +13,9 @@ description: |
The Qualcomm QCM2290 interconnect providers support adjusting the The Qualcomm QCM2290 interconnect providers support adjusting the
bandwidth requirements between the various NoC fabrics. bandwidth requirements between the various NoC fabrics.
allOf:
- $ref: qcom,rpm-common.yaml#
properties: properties:
reg: reg:
maxItems: 1 maxItems: 1
...@@ -23,9 +26,6 @@ properties: ...@@ -23,9 +26,6 @@ properties:
- qcom,qcm2290-cnoc - qcom,qcm2290-cnoc
- qcom,qcm2290-snoc - qcom,qcm2290-snoc
'#interconnect-cells':
const: 1
clock-names: clock-names:
items: items:
- const: bus - const: bus
...@@ -44,6 +44,9 @@ patternProperties: ...@@ -44,6 +44,9 @@ patternProperties:
The interconnect providers do not have a separate QoS register space, The interconnect providers do not have a separate QoS register space,
but share parent's space. but share parent's space.
allOf:
- $ref: qcom,rpm-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -51,9 +54,6 @@ patternProperties: ...@@ -51,9 +54,6 @@ patternProperties:
- qcom,qcm2290-mmrt-virt - qcom,qcm2290-mmrt-virt
- qcom,qcm2290-mmnrt-virt - qcom,qcm2290-mmnrt-virt
'#interconnect-cells':
const: 1
clock-names: clock-names:
items: items:
- const: bus - const: bus
...@@ -66,20 +66,18 @@ patternProperties: ...@@ -66,20 +66,18 @@ patternProperties:
required: required:
- compatible - compatible
- '#interconnect-cells'
- clock-names - clock-names
- clocks - clocks
additionalProperties: false unevaluatedProperties: false
required: required:
- compatible - compatible
- reg - reg
- '#interconnect-cells'
- clock-names - clock-names
- clocks - clocks
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/interconnect/qcom,rpm-common.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm RPMh Network-On-Chip Interconnect
maintainers:
- Konrad Dybcio <konradybcio@kernel.org>
description:
RPM interconnect providers support for managing system bandwidth requirements
through manual requests based on either predefined values or as indicated by
the bus monitor hardware. Each provider node represents a NoC bus master,
driven by a dedicated clock source.
properties:
'#interconnect-cells':
oneOf:
- const: 2
- const: 1
deprecated: true
required:
- '#interconnect-cells'
additionalProperties: true
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment