diff mbox series

[2/5] dt-bindings: serial: add the required property 'additionalProperties'

Message ID 20201204093813.1275-3-thunder.leizhen@huawei.com
State New
Headers show
Series fix dt_binding_check warnings | expand

Commit Message

Zhen Lei Dec. 4, 2020, 9:38 a.m. UTC
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>
---
 Documentation/devicetree/bindings/serial/litex,liteuart.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring Dec. 7, 2020, 10:58 p.m. UTC | #1
On Fri, 04 Dec 2020 17:38:10 +0800, Zhen Lei wrote:
> 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>

> ---

>  Documentation/devicetree/bindings/serial/litex,liteuart.yaml | 2 ++

>  1 file changed, 2 insertions(+)

> 


Reviewed-by: Rob Herring <robh@kernel.org>
Rob Herring Dec. 18, 2020, 9:16 p.m. UTC | #2
On Fri, 04 Dec 2020 17:38:10 +0800, Zhen Lei wrote:
> 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>
> ---
>  Documentation/devicetree/bindings/serial/litex,liteuart.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/serial/litex,liteuart.yaml b/Documentation/devicetree/bindings/serial/litex,liteuart.yaml
index bc79b3cca542437..c4f1f489dc2d091 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 {