mirror of https://github.com/torvalds/linux.git
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>
This commit is contained in:
parent
cce16e7f62
commit
78dcad6daa
|
|
@ -41,8 +41,8 @@ unevaluatedProperties: false
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
pwm@44b00000 {
|
pwm@44b00000 {
|
||||||
compatible = "adi,axi-pwmgen-2.00.a";
|
compatible = "adi,axi-pwmgen-2.00.a";
|
||||||
reg = <0x44b00000 0x1000>;
|
reg = <0x44b00000 0x1000>;
|
||||||
clocks = <&spi_clk>;
|
clocks = <&spi_clk>;
|
||||||
#pwm-cells = <3>;
|
#pwm-cells = <3>;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -35,8 +35,8 @@ additionalProperties: false
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
pwm: pwm@f0408000 {
|
pwm: pwm@f0408000 {
|
||||||
compatible = "brcm,bcm7038-pwm";
|
compatible = "brcm,bcm7038-pwm";
|
||||||
reg = <0xf0408000 0x28>;
|
reg = <0xf0408000 0x28>;
|
||||||
#pwm-cells = <2>;
|
#pwm-cells = <2>;
|
||||||
clocks = <&upg_fixed>;
|
clocks = <&upg_fixed>;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -43,9 +43,9 @@ examples:
|
||||||
#include <dt-bindings/clock/bcm281xx.h>
|
#include <dt-bindings/clock/bcm281xx.h>
|
||||||
|
|
||||||
pwm@3e01a000 {
|
pwm@3e01a000 {
|
||||||
compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm";
|
compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm";
|
||||||
reg = <0x3e01a000 0xcc>;
|
reg = <0x3e01a000 0xcc>;
|
||||||
clocks = <&slave_ccu BCM281XX_SLAVE_CCU_PWM>;
|
clocks = <&slave_ccu BCM281XX_SLAVE_CCU_PWM>;
|
||||||
#pwm-cells = <3>;
|
#pwm-cells = <3>;
|
||||||
};
|
};
|
||||||
...
|
...
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue