nuvoton,wpcm450-fiu binding example fixes
Subsystems (3)
Jonathan Neuschäfer
maintainerv2 cover nuvoton,wpcm450-fiu binding example fixes
My recently merged nuvoton,wpcm450-fiu DT binding caused some dt_binding_check issues in linux-next. This series attempts to fix them before the breakage spreads any further.
Thanks to Rob Herring for running his dt_binding_check bot, and Conor Dooley who notified me that the issue has reached linux-next.
v2:
- Some commit message improvements, as suggested by Krzysztof Kozlowski
Jonathan Neuschäfer (2):
spi: dt-bindings: nuvoton,wpcm450-fiu: Fix error in example (bogus
include)
spi: dt-bindings: nuvoton,wpcm450-fiu: Fix warning in example (missing
reg property)
.../devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
--
2.35.1
Jonathan Neuschäfer
maintainerPATCH v2 1/2 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.
---
v2:
- Credit Rob Herring as well (Rob's bot reported the issue, Conor made me aware that it is a problem that has found its way into linux-next)
--- Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml +1 -2
@@ -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 {
--
2.35.1
Jonathan Neuschäfer
maintainerPATCH v2 2/2 spi: dt-bindings: nuvoton,wpcm450-fiu: Fix warning in example (missing reg property)
In reply to Jonathan NeuschäferAdd missing "reg = <0>;" property to the flash@0 node in the example.
---
v2:
- depersonalize commit message
- Add Krzysztof's R-b
--- Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml +1 -0
@@ -56,6 +56,7 @@ examples: flash@0 { compatible = "jedec,spi-nor"; + reg = <0>; }; };
--
2.35.1
Re: [PATCH v2 2/2] spi: dt-bindings: nuvoton,wpcm450-fiu: Fix warning in example (missing reg property)
Quoted 10 lines · Jonathan Neuschäfer
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
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
Mark Brown
maintainerQuoted 8 lines · Jonathan Neuschäfer
My recently merged nuvoton,wpcm450-fiu DT binding caused some
dt_binding_checkissues in linux-next. This series attempts to fix them before the breakage spreads any further.Thanks to Rob Herring for running his
dt_binding_checkbot, and Conor Dooley who notified me that the issue has reached linux-next.[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/2] spi: dt-bindings: nuvoton,wpcm450-fiu: Fix error in example (bogus include)
commit: 1e2872f5912fbc87a00d00d49af98e428f4ff8b7
[2/2] spi: dt-bindings: nuvoton,wpcm450-fiu: Fix warning in example (missing reg property)
commit: c771b4eabd6a52afff0b6f01c361a9d04fa8cd9dAll being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark