aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGravatar Zhen Lei <thunder.leizhen@huawei.com> 2020-12-04 17:38:10 +0800
committerGravatar Rob Herring <robh@kernel.org> 2020-12-18 15:15:20 -0600
commitc1efde3f9780ad337df1cc393f6471ac8e24f50f (patch)
treedc252162d6b5ed9ab7222395af10bbac58f14907 /Documentation
parentdt-bindings: xlnx,vcu-settings: fix dt_binding_check warnings (diff)
downloadlinux-c1efde3f9780ad337df1cc393f6471ac8e24f50f.tar.gz
linux-c1efde3f9780ad337df1cc393f6471ac8e24f50f.tar.bz2
linux-c1efde3f9780ad337df1cc393f6471ac8e24f50f.zip
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: Zhen Lei <thunder.leizhen@huawei.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20201204093813.1275-3-thunder.leizhen@huawei.com Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/serial/litex,liteuart.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/litex,liteuart.yaml b/Documentation/devicetree/bindings/serial/litex,liteuart.yaml
index bc79b3cca542..c4f1f489dc2d 100644
--- a/Documentation/devicetree/bindings/serial/litex,liteuart.yaml
+++ b/Documentation/devicetree/bindings/serial/litex,liteuart.yaml
@@ -29,6 +29,8 @@ required:
- compatible
- reg
+additionalProperties: false
+
examples:
- |
uart0: serial@e0001800 {