Commit c1efde3f authored by Zhen Lei's avatar Zhen Lei Committed by Rob Herring

dt-bindings: serial: add the required property 'additionalProperties'

When I do dt_binding_check for any YAML file, below wanring is always
reported:

xxx/serial/litex,liteuart.yaml: 'additionalProperties' is a required property
xxx/serial/litex,liteuart.yaml: ignoring, error in schema:
warning: no schema found in file: xxx/serial/litex,liteuart.yaml
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201204093813.1275-3-thunder.leizhen@huawei.comSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 64a21a18
...@@ -29,6 +29,8 @@ required: ...@@ -29,6 +29,8 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false
examples: examples:
- | - |
uart0: serial@e0001800 { uart0: serial@e0001800 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment