Commit df786235 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Georgi Djakov

dt-bindings: interconnect: qcom: rpm: Clean up the file

Following the recent cleanups and untanglements, remove abusive
direct references to RPM bus clocks, include the rpm-common YAML and
update Georgi's email.
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230721-topic-icc_bindings-v2-6-e33d5acbf3bd@linaro.orgSigned-off-by: default avatarGeorgi Djakov <djakov@kernel.org>
parent 462baaf4
...@@ -7,13 +7,16 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# ...@@ -7,13 +7,16 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm RPM Network-On-Chip Interconnect title: Qualcomm RPM Network-On-Chip Interconnect
maintainers: maintainers:
- Georgi Djakov <georgi.djakov@linaro.org> - Georgi Djakov <djakov@kernel.org>
description: | description: |
RPM interconnect providers support system bandwidth requirements through RPM interconnect providers support system bandwidth requirements through
RPM processor. The provider is able to communicate with the RPM through RPM processor. The provider is able to communicate with the RPM through
the RPM shared memory device. the RPM shared memory device.
allOf:
- $ref: qcom,rpm-common.yaml#
properties: properties:
reg: reg:
maxItems: 1 maxItems: 1
...@@ -27,57 +30,11 @@ properties: ...@@ -27,57 +30,11 @@ properties:
- qcom,qcs404-pcnoc - qcom,qcs404-pcnoc
- qcom,qcs404-snoc - qcom,qcs404-snoc
'#interconnect-cells':
description: |
Value: <1> is one cell in an interconnect specifier for the
interconnect node id, <2> requires the interconnect node id and an
extra path tag.
enum: [ 1, 2 ]
clocks:
minItems: 2
maxItems: 7
clock-names:
minItems: 2
maxItems: 7
power-domains:
maxItems: 1
required: required:
- compatible - compatible
- reg - reg
- '#interconnect-cells'
- clock-names
- clocks
additionalProperties: false
allOf:
- if:
properties:
compatible:
contains:
enum:
- qcom,msm8916-bimc
- qcom,msm8916-pcnoc
- qcom,msm8916-snoc
- qcom,qcs404-bimc
- qcom,qcs404-pcnoc
- qcom,qcs404-snoc
then:
properties:
clock-names:
items:
- const: bus
- const: bus_a
clocks: unevaluatedProperties: false
items:
- description: Bus Clock
- description: Bus A Clock
examples: examples:
- | - |
...@@ -87,25 +44,16 @@ examples: ...@@ -87,25 +44,16 @@ examples:
compatible = "qcom,msm8916-bimc"; compatible = "qcom,msm8916-bimc";
reg = <0x00400000 0x62000>; reg = <0x00400000 0x62000>;
#interconnect-cells = <1>; #interconnect-cells = <1>;
clock-names = "bus", "bus_a";
clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
<&rpmcc RPM_SMD_BIMC_A_CLK>;
}; };
pcnoc: interconnect@500000 { pcnoc: interconnect@500000 {
compatible = "qcom,msm8916-pcnoc"; compatible = "qcom,msm8916-pcnoc";
reg = <0x00500000 0x11000>; reg = <0x00500000 0x11000>;
#interconnect-cells = <1>; #interconnect-cells = <1>;
clock-names = "bus", "bus_a";
clocks = <&rpmcc RPM_SMD_PCNOC_CLK>,
<&rpmcc RPM_SMD_PCNOC_A_CLK>;
}; };
snoc: interconnect@580000 { snoc: interconnect@580000 {
compatible = "qcom,msm8916-snoc"; compatible = "qcom,msm8916-snoc";
reg = <0x00580000 0x14000>; reg = <0x00580000 0x14000>;
#interconnect-cells = <1>; #interconnect-cells = <1>;
clock-names = "bus", "bus_a";
clocks = <&rpmcc RPM_SMD_SNOC_CLK>,
<&rpmcc RPM_SMD_SNOC_A_CLK>;
}; };
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