Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Krzysztof Kozlowski and committed by
Rob Herring (Arm)
94edc3ce 52659fab

+20 -20
+5 -5
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-vic.yaml
··· 52 52 examples: 53 53 - | 54 54 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>; 60 60 }; 61 61 62 62 ...
+15 -15
Documentation/devicetree/bindings/interrupt-controller/brcm,bcm7120-l2-intc.yaml
··· 130 130 examples: 131 131 - | 132 132 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>; 141 141 }; 142 142 143 143 - | 144 144 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>; 152 152 };