Skip to content

Commit df78623

Browse files
konradybcioGeorgi Djakov
authored andcommitted
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: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20230721-topic-icc_bindings-v2-6-e33d5acbf3bd@linaro.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
1 parent 462baaf commit df78623

1 file changed

Lines changed: 5 additions & 57 deletions

File tree

Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml

Lines changed: 5 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Qualcomm RPM Network-On-Chip Interconnect
88

99
maintainers:
10-
- Georgi Djakov <georgi.djakov@linaro.org>
10+
- Georgi Djakov <djakov@kernel.org>
1111

1212
description: |
1313
RPM interconnect providers support system bandwidth requirements through
1414
RPM processor. The provider is able to communicate with the RPM through
1515
the RPM shared memory device.
1616
17+
allOf:
18+
- $ref: qcom,rpm-common.yaml#
19+
1720
properties:
1821
reg:
1922
maxItems: 1
@@ -27,57 +30,11 @@ properties:
2730
- qcom,qcs404-pcnoc
2831
- qcom,qcs404-snoc
2932

30-
'#interconnect-cells':
31-
description: |
32-
Value: <1> is one cell in an interconnect specifier for the
33-
interconnect node id, <2> requires the interconnect node id and an
34-
extra path tag.
35-
enum: [ 1, 2 ]
36-
37-
clocks:
38-
minItems: 2
39-
maxItems: 7
40-
41-
clock-names:
42-
minItems: 2
43-
maxItems: 7
44-
45-
power-domains:
46-
maxItems: 1
47-
4833
required:
4934
- compatible
5035
- reg
51-
- '#interconnect-cells'
52-
- clock-names
53-
- clocks
54-
55-
additionalProperties: false
56-
57-
allOf:
58-
- if:
59-
properties:
60-
compatible:
61-
contains:
62-
enum:
63-
- qcom,msm8916-bimc
64-
- qcom,msm8916-pcnoc
65-
- qcom,msm8916-snoc
66-
- qcom,qcs404-bimc
67-
- qcom,qcs404-pcnoc
68-
- qcom,qcs404-snoc
69-
70-
then:
71-
properties:
72-
clock-names:
73-
items:
74-
- const: bus
75-
- const: bus_a
7636

77-
clocks:
78-
items:
79-
- description: Bus Clock
80-
- description: Bus A Clock
37+
unevaluatedProperties: false
8138

8239
examples:
8340
- |
@@ -87,25 +44,16 @@ examples:
8744
compatible = "qcom,msm8916-bimc";
8845
reg = <0x00400000 0x62000>;
8946
#interconnect-cells = <1>;
90-
clock-names = "bus", "bus_a";
91-
clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
92-
<&rpmcc RPM_SMD_BIMC_A_CLK>;
9347
};
9448
9549
pcnoc: interconnect@500000 {
9650
compatible = "qcom,msm8916-pcnoc";
9751
reg = <0x00500000 0x11000>;
9852
#interconnect-cells = <1>;
99-
clock-names = "bus", "bus_a";
100-
clocks = <&rpmcc RPM_SMD_PCNOC_CLK>,
101-
<&rpmcc RPM_SMD_PCNOC_A_CLK>;
10253
};
10354
10455
snoc: interconnect@580000 {
10556
compatible = "qcom,msm8916-snoc";
10657
reg = <0x00580000 0x14000>;
10758
#interconnect-cells = <1>;
108-
clock-names = "bus", "bus_a";
109-
clocks = <&rpmcc RPM_SMD_SNOC_CLK>,
110-
<&rpmcc RPM_SMD_SNOC_A_CLK>;
11159
};

0 commit comments

Comments
 (0)