Skip to content

Commit 94edc3c

Browse files
krzkrobherring
authored andcommitted
dt-bindings: interrupt-controller: 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. No functional changes here, but saves some comments during reviews of new patches built on existing code. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Andrew Jeffery <andrew@codeconstruct.com.au> # aspeed,ast2400-vic.yaml Acked-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://lore.kernel.org/r/20250107131108.246898-1-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 52659fa commit 94edc3c

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-vic.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ additionalProperties: false
5252
examples:
5353
- |
5454
interrupt-controller@1e6c0080 {
55-
compatible = "aspeed,ast2400-vic";
56-
reg = <0x1e6c0080 0x80>;
57-
interrupt-controller;
58-
#interrupt-cells = <1>;
59-
valid-sources = <0xffffffff 0x0007ffff>;
55+
compatible = "aspeed,ast2400-vic";
56+
reg = <0x1e6c0080 0x80>;
57+
interrupt-controller;
58+
#interrupt-cells = <1>;
59+
valid-sources = <0xffffffff 0x0007ffff>;
6060
};
6161
6262
...

Documentation/devicetree/bindings/interrupt-controller/brcm,bcm7120-l2-intc.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -130,23 +130,23 @@ required:
130130
examples:
131131
- |
132132
irq0_intc: interrupt-controller@f0406800 {
133-
compatible = "brcm,bcm7120-l2-intc";
134-
interrupt-parent = <&intc>;
135-
#interrupt-cells = <1>;
136-
reg = <0xf0406800 0x8>;
137-
interrupt-controller;
138-
interrupts = <0x0 0x42 0x0>, <0x0 0x40 0x0>;
139-
brcm,int-map-mask = <0xeb8>, <0x140>;
140-
brcm,int-fwd-mask = <0x7>;
133+
compatible = "brcm,bcm7120-l2-intc";
134+
interrupt-parent = <&intc>;
135+
#interrupt-cells = <1>;
136+
reg = <0xf0406800 0x8>;
137+
interrupt-controller;
138+
interrupts = <0x0 0x42 0x0>, <0x0 0x40 0x0>;
139+
brcm,int-map-mask = <0xeb8>, <0x140>;
140+
brcm,int-fwd-mask = <0x7>;
141141
};
142142
143143
- |
144144
irq1_intc: interrupt-controller@10000020 {
145-
compatible = "brcm,bcm3380-l2-intc";
146-
reg = <0x10000024 0x4>, <0x1000002c 0x4>,
147-
<0x10000020 0x4>, <0x10000028 0x4>;
148-
interrupt-controller;
149-
#interrupt-cells = <1>;
150-
interrupt-parent = <&cpu_intc>;
151-
interrupts = <2>;
145+
compatible = "brcm,bcm3380-l2-intc";
146+
reg = <0x10000024 0x4>, <0x1000002c 0x4>,
147+
<0x10000020 0x4>, <0x10000028 0x4>;
148+
interrupt-controller;
149+
#interrupt-cells = <1>;
150+
interrupt-parent = <&cpu_intc>;
151+
interrupts = <2>;
152152
};

0 commit comments

Comments
 (0)