Skip to content

Commit 78dcad6

Browse files
krzkUwe Kleine-König
authored andcommitted
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 <[email protected]> Acked-by: Nuno Sa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]>
1 parent cce16e7 commit 78dcad6

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ unevaluatedProperties: false
4141
examples:
4242
- |
4343
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>;
4848
};

Documentation/devicetree/bindings/pwm/brcm,bcm7038-pwm.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ additionalProperties: false
3535
examples:
3636
- |
3737
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>;
4242
};

Documentation/devicetree/bindings/pwm/brcm,kona-pwm.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ examples:
4343
#include <dt-bindings/clock/bcm281xx.h>
4444
4545
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>;
5050
};
5151
...

0 commit comments

Comments
 (0)