aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Neuschäfer <[email protected]>2022-11-29 11:22:24 +0100
committerMark Brown <[email protected]>2022-11-29 11:32:10 +0000
commit1e2872f5912fbc87a00d00d49af98e428f4ff8b7 (patch)
tree3dd5c6d282ae62fad730e8a09a271cc98b4e6f5d
parentc6f7874687f7027d7c4b2f53ff6e4d22850f915d (diff)
spi: dt-bindings: nuvoton,wpcm450-fiu: Fix error in example (bogus include)
The nuvoton,wpcm450-fiu binding's example includes nuvoton,wpcm450-clk.h, which has not been merged yet, thus causing a dt_binding_check error on -next. Fix this error by simply hardcoding the clock index in the example, before the breakage spreads any further. Fixes: dd71cd4dd6c9b ("spi: Add Nuvoton WPCM450 Flash Interface Unit (FIU) bindings") Reported-by: Rob Herring <[email protected]> Reported-by: Conor Dooley <[email protected]> Signed-off-by: Jonathan Neuschäfer <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml b/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml
index ef94803e75d9..e4162845fcc1 100644
--- a/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml
+++ b/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml
@@ -45,14 +45,13 @@ unevaluatedProperties: false
examples:
- |
- #include <dt-bindings/clock/nuvoton,wpcm450-clk.h>
spi@c8000000 {
compatible = "nuvoton,wpcm450-fiu";
reg = <0xc8000000 0x1000>, <0xc0000000 0x4000000>;
#address-cells = <1>;
#size-cells = <0>;
reg-names = "control", "memory";
- clocks = <&clk WPCM450_CLK_FIU>;
+ clocks = <&clk 0>;
nuvoton,shm = <&shm>;
flash@0 {