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

dt-bindings: timer: 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>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20250107131024.246561-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Daniel Lezcano
53b552f1 7eb17214

+58 -58
+3 -3
Documentation/devicetree/bindings/timer/arm,twd-timer.yaml
··· 50 50 #include <dt-bindings/interrupt-controller/arm-gic.h> 51 51 52 52 timer@2c000600 { 53 - compatible = "arm,arm11mp-twd-timer"; 54 - reg = <0x2c000600 0x20>; 55 - interrupts = <GIC_PPI 13 0xf01>; 53 + compatible = "arm,arm11mp-twd-timer"; 54 + reg = <0x2c000600 0x20>; 55 + interrupts = <GIC_PPI 13 0xf01>; 56 56 };
+22 -22
Documentation/devicetree/bindings/timer/renesas,cmt.yaml
··· 178 178 #include <dt-bindings/interrupt-controller/arm-gic.h> 179 179 #include <dt-bindings/power/r8a7790-sysc.h> 180 180 cmt0: timer@ffca0000 { 181 - compatible = "renesas,r8a7790-cmt0", "renesas,rcar-gen2-cmt0"; 182 - reg = <0xffca0000 0x1004>; 183 - interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, 184 - <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; 185 - clocks = <&cpg CPG_MOD 124>; 186 - clock-names = "fck"; 187 - power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; 188 - resets = <&cpg 124>; 181 + compatible = "renesas,r8a7790-cmt0", "renesas,rcar-gen2-cmt0"; 182 + reg = <0xffca0000 0x1004>; 183 + interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, 184 + <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; 185 + clocks = <&cpg CPG_MOD 124>; 186 + clock-names = "fck"; 187 + power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; 188 + resets = <&cpg 124>; 189 189 }; 190 190 191 191 cmt1: timer@e6130000 { 192 - compatible = "renesas,r8a7790-cmt1", "renesas,rcar-gen2-cmt1"; 193 - reg = <0xe6130000 0x1004>; 194 - interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, 195 - <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, 196 - <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, 197 - <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 198 - <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, 199 - <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, 200 - <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>, 201 - <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; 202 - clocks = <&cpg CPG_MOD 329>; 203 - clock-names = "fck"; 204 - power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; 205 - resets = <&cpg 329>; 192 + compatible = "renesas,r8a7790-cmt1", "renesas,rcar-gen2-cmt1"; 193 + reg = <0xe6130000 0x1004>; 194 + interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, 195 + <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, 196 + <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, 197 + <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 198 + <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, 199 + <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, 200 + <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>, 201 + <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; 202 + clocks = <&cpg CPG_MOD 329>; 203 + clock-names = "fck"; 204 + power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; 205 + resets = <&cpg 329>; 206 206 };
+5 -5
Documentation/devicetree/bindings/timer/renesas,em-sti.yaml
··· 38 38 - | 39 39 #include <dt-bindings/interrupt-controller/arm-gic.h> 40 40 timer@e0180000 { 41 - compatible = "renesas,em-sti"; 42 - reg = <0xe0180000 0x54>; 43 - interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; 44 - clocks = <&sti_sclk>; 45 - clock-names = "sclk"; 41 + compatible = "renesas,em-sti"; 42 + reg = <0xe0180000 0x54>; 43 + interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; 44 + clocks = <&sti_sclk>; 45 + clock-names = "sclk"; 46 46 };
+7 -7
Documentation/devicetree/bindings/timer/renesas,mtu2.yaml
··· 66 66 #include <dt-bindings/clock/r7s72100-clock.h> 67 67 #include <dt-bindings/interrupt-controller/arm-gic.h> 68 68 mtu2: timer@fcff0000 { 69 - compatible = "renesas,mtu2-r7s72100", "renesas,mtu2"; 70 - reg = <0xfcff0000 0x400>; 71 - interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 72 - interrupt-names = "tgi0a"; 73 - clocks = <&mstp3_clks R7S72100_CLK_MTU2>; 74 - clock-names = "fck"; 75 - power-domains = <&cpg_clocks>; 69 + compatible = "renesas,mtu2-r7s72100", "renesas,mtu2"; 70 + reg = <0xfcff0000 0x400>; 71 + interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 72 + interrupt-names = "tgi0a"; 73 + clocks = <&mstp3_clks R7S72100_CLK_MTU2>; 74 + clock-names = "fck"; 75 + power-domains = <&cpg_clocks>; 76 76 };
+5 -5
Documentation/devicetree/bindings/timer/renesas,ostm.yaml
··· 71 71 #include <dt-bindings/clock/r7s72100-clock.h> 72 72 #include <dt-bindings/interrupt-controller/arm-gic.h> 73 73 ostm0: timer@fcfec000 { 74 - compatible = "renesas,r7s72100-ostm", "renesas,ostm"; 75 - reg = <0xfcfec000 0x30>; 76 - interrupts = <GIC_SPI 102 IRQ_TYPE_EDGE_RISING>; 77 - clocks = <&mstp5_clks R7S72100_CLK_OSTM0>; 78 - power-domains = <&cpg_clocks>; 74 + compatible = "renesas,r7s72100-ostm", "renesas,ostm"; 75 + reg = <0xfcfec000 0x30>; 76 + interrupts = <GIC_SPI 102 IRQ_TYPE_EDGE_RISING>; 77 + clocks = <&mstp5_clks R7S72100_CLK_OSTM0>; 78 + power-domains = <&cpg_clocks>; 79 79 };
+11 -11
Documentation/devicetree/bindings/timer/renesas,tmu.yaml
··· 122 122 #include <dt-bindings/interrupt-controller/arm-gic.h> 123 123 #include <dt-bindings/power/r8a7779-sysc.h> 124 124 tmu0: timer@ffd80000 { 125 - compatible = "renesas,tmu-r8a7779", "renesas,tmu"; 126 - reg = <0xffd80000 0x30>; 127 - interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>, 128 - <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>, 129 - <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>, 130 - <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 131 - interrupt-names = "tuni0", "tuni1", "tuni2", "ticpi2"; 132 - clocks = <&mstp0_clks R8A7779_CLK_TMU0>; 133 - clock-names = "fck"; 134 - power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; 135 - #renesas,channels = <3>; 125 + compatible = "renesas,tmu-r8a7779", "renesas,tmu"; 126 + reg = <0xffd80000 0x30>; 127 + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>, 128 + <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>, 129 + <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>, 130 + <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 131 + interrupt-names = "tuni0", "tuni1", "tuni2", "ticpi2"; 132 + clocks = <&mstp0_clks R8A7779_CLK_TMU0>; 133 + clock-names = "fck"; 134 + power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; 135 + #renesas,channels = <3>; 136 136 };
+4 -4
Documentation/devicetree/bindings/timer/renesas,tpu.yaml
··· 49 49 examples: 50 50 - | 51 51 tpu: tpu@ffffe0 { 52 - compatible = "renesas,tpu"; 53 - reg = <0xffffe0 16>, <0xfffff0 12>; 54 - clocks = <&pclk>; 55 - clock-names = "fck"; 52 + compatible = "renesas,tpu"; 53 + reg = <0xffffe0 16>, <0xfffff0 12>; 54 + clocks = <&pclk>; 55 + clock-names = "fck"; 56 56 };
+1 -1
Documentation/devicetree/bindings/timer/sifive,clint.yaml
··· 77 77 <&cpu2intc 3>, <&cpu2intc 7>, 78 78 <&cpu3intc 3>, <&cpu3intc 7>, 79 79 <&cpu4intc 3>, <&cpu4intc 7>; 80 - reg = <0x2000000 0x10000>; 80 + reg = <0x2000000 0x10000>; 81 81 }; 82 82 ...