From c1efde3f9780ad337df1cc393f6471ac8e24f50f Mon Sep 17 00:00:00 2001 From: Zhen Lei Date: Fri, 4 Dec 2020 17:38:10 +0800 Subject: 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 Reviewed-by: Rob Herring Link: https://lore.kernel.org/r/20201204093813.1275-3-thunder.leizhen@huawei.com Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/serial/litex,liteuart.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Documentation') 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 { -- cgit v1.2.3