2022-11-29 10:30:24

by Jonathan Neuschäfer

[permalink] [raw]
Subject: [PATCH v2 2/2] spi: dt-bindings: nuvoton,wpcm450-fiu: Fix warning in example (missing reg property)

Add missing "reg = <0>;" property to the flash@0 node in the example.

Fixes: dd71cd4dd6c9b ("spi: Add Nuvoton WPCM450 Flash Interface Unit (FIU) bindings")
Signed-off-by: Jonathan Neuschäfer <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
---

v2:
- depersonalize commit message
- Add Krzysztof's R-b
---
Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml b/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml
index e4162845fcc1d..4e0d391e1d697 100644
--- a/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml
+++ b/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml
@@ -56,6 +56,7 @@ examples:

flash@0 {
compatible = "jedec,spi-nor";
+ reg = <0>;
};
};

--
2.35.1


2022-11-30 18:29:31

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH v2 2/2] spi: dt-bindings: nuvoton,wpcm450-fiu: Fix warning in example (missing reg property)

On Tue, Nov 29, 2022 at 11:27 AM Jonathan Neuschäfer
<[email protected]> wrote:
> Add missing "reg = <0>;" property to the flash@0 node in the example.
>
> Fixes: dd71cd4dd6c9b ("spi: Add Nuvoton WPCM450 Flash Interface Unit (FIU) bindings")
> Signed-off-by: Jonathan Neuschäfer <[email protected]>
> Reviewed-by: Krzysztof Kozlowski <[email protected]>
> ---
>
> v2:
> - depersonalize commit message
> - Add Krzysztof's R-b

Thanks, this fixes "make dt_binding_check" for me, so
Tested-by: Geert Uytterhoeven <[email protected]>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds