Skip to content

Commit af73692

Browse files
krzkGeorgi Djakov
authored andcommitted
dt-bindings: interconnect: Correct indentation and style in DTS example
DTS example in the bindings should be indented with 2- or 4-spaces and aligned with opening '- |', so correct any differences like 3-spaces or mixtures 2- and 4-spaces in one binding. While re-indenting, drop unused labels. No functional changes here, but saves some comments during reviews of new patches built on existing code. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: "Rob Herring (Arm)" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
1 parent 0af2f6b commit af73692

File tree

6 files changed

+52
-52
lines changed

6 files changed

+52
-52
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ examples:
7070
reg = <0x00580000 0x14000>;
7171
#interconnect-cells = <1>;
7272
73-
snoc_mm: interconnect-snoc {
74-
compatible = "qcom,msm8939-snoc-mm";
75-
#interconnect-cells = <1>;
76-
};
73+
snoc_mm: interconnect-snoc {
74+
compatible = "qcom,msm8939-snoc-mm";
75+
#interconnect-cells = <1>;
76+
};
7777
};

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ additionalProperties: false
8484

8585
examples:
8686
- |
87-
#include <dt-bindings/clock/qcom,gcc-msm8953.h>
87+
#include <dt-bindings/clock/qcom,gcc-msm8953.h>
8888
89-
snoc: interconnect@580000 {
90-
compatible = "qcom,msm8953-snoc";
91-
reg = <0x580000 0x16080>;
89+
interconnect@580000 {
90+
compatible = "qcom,msm8953-snoc";
91+
reg = <0x580000 0x16080>;
9292
93-
#interconnect-cells = <2>;
93+
#interconnect-cells = <2>;
9494
95-
snoc_mm: interconnect-snoc {
96-
compatible = "qcom,msm8953-snoc-mm";
95+
interconnect-snoc {
96+
compatible = "qcom,msm8953-snoc-mm";
9797
98-
#interconnect-cells = <2>;
99-
};
100-
};
98+
#interconnect-cells = <2>;
99+
};
100+
};

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ additionalProperties: false
5050

5151
examples:
5252
- |
53-
#include <dt-bindings/clock/qcom,rpmcc.h>
54-
55-
bimc: interconnect@fc380000 {
56-
reg = <0xfc380000 0x6a000>;
57-
compatible = "qcom,msm8974-bimc";
58-
#interconnect-cells = <1>;
59-
clock-names = "bus", "bus_a";
60-
clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
61-
<&rpmcc RPM_SMD_BIMC_A_CLK>;
62-
};
53+
#include <dt-bindings/clock/qcom,rpmcc.h>
54+
55+
interconnect@fc380000 {
56+
reg = <0xfc380000 0x6a000>;
57+
compatible = "qcom,msm8974-bimc";
58+
#interconnect-cells = <1>;
59+
clock-names = "bus", "bus_a";
60+
clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
61+
<&rpmcc RPM_SMD_BIMC_A_CLK>;
62+
};

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ unevaluatedProperties: false
4141

4242
examples:
4343
- |
44-
#include <dt-bindings/clock/qcom,rpmcc.h>
44+
#include <dt-bindings/clock/qcom,rpmcc.h>
4545
46-
bimc: interconnect@400000 {
47-
compatible = "qcom,msm8916-bimc";
48-
reg = <0x00400000 0x62000>;
49-
#interconnect-cells = <1>;
50-
};
46+
interconnect@400000 {
47+
compatible = "qcom,msm8916-bimc";
48+
reg = <0x00400000 0x62000>;
49+
#interconnect-cells = <1>;
50+
};

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -127,19 +127,19 @@ unevaluatedProperties: false
127127

128128
examples:
129129
- |
130-
#include <dt-bindings/interconnect/qcom,sdm845.h>
130+
#include <dt-bindings/interconnect/qcom,sdm845.h>
131131
132-
mem_noc: interconnect@1380000 {
133-
compatible = "qcom,sdm845-mem-noc";
134-
reg = <0x01380000 0x27200>;
135-
#interconnect-cells = <1>;
136-
qcom,bcm-voters = <&apps_bcm_voter>;
137-
};
132+
interconnect@1380000 {
133+
compatible = "qcom,sdm845-mem-noc";
134+
reg = <0x01380000 0x27200>;
135+
#interconnect-cells = <1>;
136+
qcom,bcm-voters = <&apps_bcm_voter>;
137+
};
138138
139-
mmss_noc: interconnect@1740000 {
140-
compatible = "qcom,sdm845-mmss-noc";
141-
reg = <0x01740000 0x1c1000>;
142-
#interconnect-cells = <1>;
143-
qcom,bcm-voter-names = "apps", "disp";
144-
qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
145-
};
139+
interconnect@1740000 {
140+
compatible = "qcom,sdm845-mmss-noc";
141+
reg = <0x01740000 0x1c1000>;
142+
#interconnect-cells = <1>;
143+
qcom,bcm-voter-names = "apps", "disp";
144+
qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
145+
};

Documentation/devicetree/bindings/interconnect/qcom,sdx75-rpmh.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ examples:
7878
#include <dt-bindings/clock/qcom,rpmh.h>
7979
8080
clk_virt: interconnect-0 {
81-
compatible = "qcom,sdx75-clk-virt";
82-
#interconnect-cells = <2>;
83-
qcom,bcm-voters = <&apps_bcm_voter>;
84-
clocks = <&rpmhcc RPMH_QPIC_CLK>;
81+
compatible = "qcom,sdx75-clk-virt";
82+
#interconnect-cells = <2>;
83+
qcom,bcm-voters = <&apps_bcm_voter>;
84+
clocks = <&rpmhcc RPMH_QPIC_CLK>;
8585
};
8686
8787
system_noc: interconnect@1640000 {
88-
compatible = "qcom,sdx75-system-noc";
89-
reg = <0x1640000 0x4b400>;
90-
#interconnect-cells = <2>;
91-
qcom,bcm-voters = <&apps_bcm_voter>;
88+
compatible = "qcom,sdx75-system-noc";
89+
reg = <0x1640000 0x4b400>;
90+
#interconnect-cells = <2>;
91+
qcom,bcm-voters = <&apps_bcm_voter>;
9292
};

0 commit comments

Comments
 (0)