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

Jonathan Neuschäfer j.neuschaefer at gmx.net
Tue Nov 29 21:22:25 AEDT 2022


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

Fixes: dd71cd4dd6c9b ("spi: Add Nuvoton WPCM450 Flash Interface Unit (FIU) bindings")
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at 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(+)

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 at 0 {
         compatible = "jedec,spi-nor";
+        reg = <0>;
       };
     };

--
2.35.1



More information about the openbmc mailing list