diff mbox series

dt-bindings: pinctrl: renesas,pfc: align example GPIO hog name with dtschema

Message ID 20200928184515.7345-1-krzk@kernel.org (mailing list archive)
State Accepted
Delegated to: Geert Uytterhoeven
Headers show
Series dt-bindings: pinctrl: renesas,pfc: align example GPIO hog name with dtschema | expand

Commit Message

Krzysztof Kozlowski Sept. 28, 2020, 6:45 p.m. UTC
The convention for node names is to use hyphens, not underscores.
dtschema expects GPIO hogs to end with 'hog' suffix.  Adjust the example
DTS in the binding.  No changes to binding itself.

Reported-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij Sept. 29, 2020, 12:04 p.m. UTC | #1
On Mon, Sep 28, 2020 at 8:45 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:

> The convention for node names is to use hyphens, not underscores.
> dtschema expects GPIO hogs to end with 'hog' suffix.  Adjust the example
> DTS in the binding.  No changes to binding itself.
>
> Reported-by: Rob Herring <robh@kernel.org>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

Patch applied!

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml b/Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml
index 4efe117550bd..5b5b1b9d2ec7 100644
--- a/Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml
@@ -148,7 +148,7 @@  examples:
                 <&irqpin3 4 0>, <&irqpin3 5 0>, <&irqpin3 6 0>, <&irqpin3 7 0>;
             power-domains = <&pd_c5>;
 
-            lcd0_mux {
+            lcd0-mux-hog {
                     /* DBGMD/LCDC0/FSIA MUX */
                     gpio-hog;
                     gpios = <176 0>;