Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: xlnx,vcu-settings: fix dt_binding_check warnings

When running make dt_binding_check, the xlnx,vcu-settings binding
triggers the following two warnings:

'additionalProperties' is a required property

example-0: vcu@a0041000:reg:0: [0, 2684620800, 0, 4096] is too long

Fix the binding and make the checker happy.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201202090522.251607-1-m.tretter@pengutronix.de
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Michael Tretter and committed by
Rob Herring
64a21a18 479a4174

+12 -3
+12 -3
Documentation/devicetree/bindings/soc/xilinx/xlnx,vcu-settings.yaml
··· 26 26 - compatible 27 27 - reg 28 28 29 + additionalProperties: false 30 + 29 31 examples: 30 32 - | 31 - xlnx_vcu: vcu@a0041000 { 32 - compatible = "xlnx,vcu-settings", "syscon"; 33 - reg = <0x0 0xa0041000 0x0 0x1000>; 33 + fpga { 34 + #address-cells = <2>; 35 + #size-cells = <2>; 36 + 37 + xlnx_vcu: vcu@a0041000 { 38 + compatible = "xlnx,vcu-settings", "syscon"; 39 + reg = <0x0 0xa0041000 0x0 0x1000>; 40 + }; 34 41 }; 42 + 43 + ...