Re: [PATCH v3 20/34] dt-bindings: pinctrl: qcom,msm8909-tlmm: fix indentation in example

Stephan Gerhold
2022-09-28T18:09:56Z

On Tue, Sep 27, 2022 at 07:36:48PM +0200, Krzysztof Kozlowski wrote:
> Bindings example should be indented with 4-spaces.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Reviewed-by: Bjorn Andersson <andersson@kernel.org>

Reviewed-by: Stephan Gerhold <stephan@gerhold.net>

> ---
> .../bindings/pinctrl/qcom,msm8909-tlmm.yaml | 60 +++++++++----------
> 1 file changed, 30 insertions(+), 30 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml
> index 08e2dd5cbebe..9c647e24fa9a 100644
> --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml
> @@ -118,35 +118,35 @@ $defs:
>
> examples:
> - |
> - #include <dt-bindings/interrupt-controller/arm-gic.h>
> -
> - pinctrl@1000000 {
> - compatible = "qcom,msm8909-tlmm";
> - reg = <0x1000000 0x300000>;
> - interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
> - gpio-controller;
> - #gpio-cells = <2>;
> - gpio-ranges = <&tlmm 0 0 117>;
> - interrupt-controller;
> - #interrupt-cells = <2>;
> -
> - gpio-wo-subnode-state {
> - pins = "gpio1";
> - function = "gpio";
> - };
> -
> - uart-w-subnodes-state {
> - rx-pins {
> - pins = "gpio4";
> - function = "blsp_uart1";
> - bias-pull-up;
> - };
> -
> - tx-pins {
> - pins = "gpio5";
> - function = "blsp_uart1";
> - bias-disable;
> - };
> - };
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> + pinctrl@1000000 {
> + compatible = "qcom,msm8909-tlmm";
> + reg = <0x1000000 0x300000>;
> + interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + gpio-ranges = <&tlmm 0 0 117>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> +
> + gpio-wo-subnode-state {
> + pins = "gpio1";
> + function = "gpio";
> };
> +
> + uart-w-subnodes-state {
> + rx-pins {
> + pins = "gpio4";
> + function = "blsp_uart1";
> + bias-pull-up;
> + };
> +
> + tx-pins {
> + pins = "gpio5";
> + function = "blsp_uart1";
> + bias-disable;
> + };
> + };
> + };
> ...
> --
> 2.34.1
>