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

Message ID 20221129102225.3598044-3-j.neuschaefer@gmx.net
State New
Headers
Series nuvoton,wpcm450-fiu binding example fixes |

Commit Message

Jonathan Neuschäfer Nov. 29, 2022, 10:22 a.m. UTC
  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 <j.neuschaefer@gmx.net>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---

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

--
2.35.1
  

Comments

Geert Uytterhoeven Nov. 30, 2022, 6:11 p.m. UTC | #1
On Tue, Nov 29, 2022 at 11:27 AM Jonathan Neuschäfer
<j.neuschaefer@gmx.net> 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 <j.neuschaefer@gmx.net>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>
> v2:
> - depersonalize commit message
> - Add Krzysztof's R-b

Thanks, this fixes "make dt_binding_check" for me, so
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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
  

Patch

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>;
       };
     };