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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: pwm: 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: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20250107125831.225068-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Uwe Kleine-König
78dcad6d cce16e7f

+12 -12
+4 -4
Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml
··· 41 41 examples: 42 42 - | 43 43 pwm@44b00000 { 44 - compatible = "adi,axi-pwmgen-2.00.a"; 45 - reg = <0x44b00000 0x1000>; 46 - clocks = <&spi_clk>; 47 - #pwm-cells = <3>; 44 + compatible = "adi,axi-pwmgen-2.00.a"; 45 + reg = <0x44b00000 0x1000>; 46 + clocks = <&spi_clk>; 47 + #pwm-cells = <3>; 48 48 };
+4 -4
Documentation/devicetree/bindings/pwm/brcm,bcm7038-pwm.yaml
··· 35 35 examples: 36 36 - | 37 37 pwm: pwm@f0408000 { 38 - compatible = "brcm,bcm7038-pwm"; 39 - reg = <0xf0408000 0x28>; 40 - #pwm-cells = <2>; 41 - clocks = <&upg_fixed>; 38 + compatible = "brcm,bcm7038-pwm"; 39 + reg = <0xf0408000 0x28>; 40 + #pwm-cells = <2>; 41 + clocks = <&upg_fixed>; 42 42 };
+4 -4
Documentation/devicetree/bindings/pwm/brcm,kona-pwm.yaml
··· 43 43 #include <dt-bindings/clock/bcm281xx.h> 44 44 45 45 pwm@3e01a000 { 46 - compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm"; 47 - reg = <0x3e01a000 0xcc>; 48 - clocks = <&slave_ccu BCM281XX_SLAVE_CCU_PWM>; 49 - #pwm-cells = <3>; 46 + compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm"; 47 + reg = <0x3e01a000 0xcc>; 48 + clocks = <&slave_ccu BCM281XX_SLAVE_CCU_PWM>; 49 + #pwm-cells = <3>; 50 50 }; 51 51 ...