2022-01-07 18:04:16

by Marcel Ziswiler

[permalink] [raw]
Subject: [PATCH v1 02/14] dt-bindings: gpio: fix gpio-hog example

From: Marcel Ziswiler <[email protected]>

Even if this is no yaml yet at least fix the example to be compliant to
later schema as e.g. found in gpio-pca95xx.yaml, fairchild,74hc595.yaml
and gpio/fsl-imx-gpio.yaml.

Signed-off-by: Marcel Ziswiler <[email protected]>
---

Documentation/devicetree/bindings/gpio/gpio.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt
index a8895d339bfe..5663e71b751f 100644
--- a/Documentation/devicetree/bindings/gpio/gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio.txt
@@ -213,7 +213,7 @@ Example of two SOC GPIO banks defined as gpio-controller nodes:
gpio-controller;
#gpio-cells = <2>;

- line_b {
+ line_b-hog {
gpio-hog;
gpios = <6 0>;
output-low;
--
2.33.1



2022-01-12 01:58:17

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v1 02/14] dt-bindings: gpio: fix gpio-hog example

On Fri, 07 Jan 2022 19:03:02 +0100, Marcel Ziswiler wrote:
> From: Marcel Ziswiler <[email protected]>
>
> Even if this is no yaml yet at least fix the example to be compliant to
> later schema as e.g. found in gpio-pca95xx.yaml, fairchild,74hc595.yaml
> and gpio/fsl-imx-gpio.yaml.
>
> Signed-off-by: Marcel Ziswiler <[email protected]>
> ---
>
> Documentation/devicetree/bindings/gpio/gpio.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Acked-by: Rob Herring <[email protected]>