Commit 9e766509 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Linus Walleij
Browse files

dt-bindings: pinctrl: 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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarManikandan Muralidharan <manikandan.m@microchip.com>
Acked-by: default avatarRob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/20250107125836.225447-1-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f31f33db
Loading
Loading
Loading
Loading
+36 −36
Original line number Diff line number Diff line
@@ -163,14 +163,14 @@ examples:
          >;

        dbgu {
         pinctrl_dbgu: dbgu-0 {
            dbgu-0 {
                atmel,pins =
                  <AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
                   AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>;
            };
        };

       pioA: gpio@fffff400 {
        gpio@fffff400 {
            compatible = "atmel,at91rm9200-gpio";
            reg = <0xfffff400 0x200>;
            interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
+27 −34
Original line number Diff line number Diff line
@@ -180,12 +180,12 @@ additionalProperties: false
examples:
  - |
    #include <dt-bindings/pinctrl/pinctrl-zynq.h>
    pinctrl0: pinctrl@700 {
    pinctrl@700 {
        compatible = "xlnx,pinctrl-zynq";
        reg = <0x700 0x200>;
        syscon = <&slcr>;

       pinctrl_uart1_default: uart1-default {
        uart1-default {
            mux {
                groups = "uart1_10_grp";
                function = "uart1";
@@ -208,10 +208,3 @@ examples:
            };
        };
    };

    uart1 {
         pinctrl-names = "default";
         pinctrl-0 = <&pinctrl_uart1_default>;
    };

...
+27 −27

File changed.

Contains only whitespace changes.

+27 −27

File changed.

Contains only whitespace changes.

+27 −27

File changed.

Contains only whitespace changes.