diff mbox series

[03/40] dt-bindings: pinctrl: qcom,sm6115-pinctrl: fix indentation in example

Message ID 20220911111200.199182-4-krzysztof.kozlowski@linaro.org
State Superseded, archived
Headers show
Series pinctrl/arm64: qcom: fix some of Qualcomm pinctrl schema warnings | expand

Checks

Context Check Description
robh/checkpatch success
robh/patch-applied success
robh/dtbs-check warning build log
robh/dt-meta-schema success

Commit Message

Krzysztof Kozlowski Sept. 11, 2022, 11:11 a.m. UTC
Bindings example should be indented with 4-spaces.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../bindings/pinctrl/qcom,sm6115-pinctrl.yaml | 80 +++++++++----------
 1 file changed, 40 insertions(+), 40 deletions(-)

Comments

Iskren Chernev Sept. 11, 2022, 1:02 p.m. UTC | #1
On 9/11/22 14:11, Krzysztof Kozlowski wrote:
> Bindings example should be indented with 4-spaces.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Iskren Chernev <iskren.chernev@gmail.com>

> ---
>  .../bindings/pinctrl/qcom,sm6115-pinctrl.yaml | 80 +++++++++----------
>  1 file changed, 40 insertions(+), 40 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-pinctrl.yaml
> index 28b29bf714b4..e39fbb36d8c1 100644
> --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-pinctrl.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-pinctrl.yaml
> @@ -150,44 +150,44 @@ additionalProperties: false
>
>  examples:
>    - |
> -        #include <dt-bindings/interrupt-controller/arm-gic.h>
> -        tlmm: pinctrl@500000 {
> -                compatible = "qcom,sm6115-tlmm";
> -                reg = <0x500000 0x400000>,
> -                        <0x900000 0x400000>,
> -                        <0xd00000 0x400000>;
> -                reg-names = "west", "south", "east";
> -                interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>;
> -                gpio-controller;
> -                #gpio-cells = <2>;
> -                interrupt-controller;
> -                #interrupt-cells = <2>;
> -                gpio-ranges = <&tlmm 0 0 114>;
> -
> -                sdc2_on_state: sdc2-on-state {
> -                        clk-pins {
> -                                pins = "sdc2_clk";
> -                                bias-disable;
> -                                drive-strength = <16>;
> -                        };
> -
> -                        cmd-pins {
> -                                pins = "sdc2_cmd";
> -                                bias-pull-up;
> -                                drive-strength = <10>;
> -                        };
> -
> -                        data-pins {
> -                                pins = "sdc2_data";
> -                                bias-pull-up;
> -                                drive-strength = <10>;
> -                        };
> -
> -                        sd-cd-pins {
> -                                pins = "gpio88";
> -                                function = "gpio";
> -                                bias-pull-up;
> -                                drive-strength = <2>;
> -                        };
> -                };
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +    tlmm: pinctrl@500000 {
> +        compatible = "qcom,sm6115-tlmm";
> +        reg = <0x500000 0x400000>,
> +              <0x900000 0x400000>,
> +              <0xd00000 0x400000>;
> +        reg-names = "west", "south", "east";
> +        interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>;
> +        gpio-controller;
> +        #gpio-cells = <2>;
> +        interrupt-controller;
> +        #interrupt-cells = <2>;
> +        gpio-ranges = <&tlmm 0 0 114>;
> +
> +        sdc2_on_state: sdc2-on-state {
> +            clk-pins {
> +                pins = "sdc2_clk";
> +                bias-disable;
> +                drive-strength = <16>;
> +            };
> +
> +            cmd-pins {
> +                pins = "sdc2_cmd";
> +                bias-pull-up;
> +                drive-strength = <10>;
> +            };
> +
> +            data-pins {
> +                pins = "sdc2_data";
> +                bias-pull-up;
> +                drive-strength = <10>;
> +            };
> +
> +            sd-cd-pins {
> +                pins = "gpio88";
> +                function = "gpio";
> +                bias-pull-up;
> +                drive-strength = <2>;
> +            };
>          };
> +    };
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-pinctrl.yaml
index 28b29bf714b4..e39fbb36d8c1 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-pinctrl.yaml
@@ -150,44 +150,44 @@  additionalProperties: false
 
 examples:
   - |
-        #include <dt-bindings/interrupt-controller/arm-gic.h>
-        tlmm: pinctrl@500000 {
-                compatible = "qcom,sm6115-tlmm";
-                reg = <0x500000 0x400000>,
-                        <0x900000 0x400000>,
-                        <0xd00000 0x400000>;
-                reg-names = "west", "south", "east";
-                interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>;
-                gpio-controller;
-                #gpio-cells = <2>;
-                interrupt-controller;
-                #interrupt-cells = <2>;
-                gpio-ranges = <&tlmm 0 0 114>;
-
-                sdc2_on_state: sdc2-on-state {
-                        clk-pins {
-                                pins = "sdc2_clk";
-                                bias-disable;
-                                drive-strength = <16>;
-                        };
-
-                        cmd-pins {
-                                pins = "sdc2_cmd";
-                                bias-pull-up;
-                                drive-strength = <10>;
-                        };
-
-                        data-pins {
-                                pins = "sdc2_data";
-                                bias-pull-up;
-                                drive-strength = <10>;
-                        };
-
-                        sd-cd-pins {
-                                pins = "gpio88";
-                                function = "gpio";
-                                bias-pull-up;
-                                drive-strength = <2>;
-                        };
-                };
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+    tlmm: pinctrl@500000 {
+        compatible = "qcom,sm6115-tlmm";
+        reg = <0x500000 0x400000>,
+              <0x900000 0x400000>,
+              <0xd00000 0x400000>;
+        reg-names = "west", "south", "east";
+        interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>;
+        gpio-controller;
+        #gpio-cells = <2>;
+        interrupt-controller;
+        #interrupt-cells = <2>;
+        gpio-ranges = <&tlmm 0 0 114>;
+
+        sdc2_on_state: sdc2-on-state {
+            clk-pins {
+                pins = "sdc2_clk";
+                bias-disable;
+                drive-strength = <16>;
+            };
+
+            cmd-pins {
+                pins = "sdc2_cmd";
+                bias-pull-up;
+                drive-strength = <10>;
+            };
+
+            data-pins {
+                pins = "sdc2_data";
+                bias-pull-up;
+                drive-strength = <10>;
+            };
+
+            sd-cd-pins {
+                pins = "gpio88";
+                function = "gpio";
+                bias-pull-up;
+                drive-strength = <2>;
+            };
         };
+    };