diff mbox series

[4/5] dt-bindings: devapc: add the required property 'additionalProperties'

Message ID 20201204093813.1275-5-thunder.leizhen@huawei.com
State Accepted
Commit d73982be2b00bbe76b53433cc56a1cd9555b9091
Headers show
Series fix dt_binding_check warnings | expand

Commit Message

Leizhen (ThunderTown) Dec. 4, 2020, 9:38 a.m. UTC
When I do dt_binding_check for any YAML file, below wanring is always
reported:

xxx/soc/mediatek/devapc.yaml: 'additionalProperties' is a required property
xxx/soc/mediatek/devapc.yaml: ignoring, error in schema:
warning: no schema found in file: xxx/soc/mediatek/devapc.yaml

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
 Documentation/devicetree/bindings/soc/mediatek/devapc.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring Dec. 7, 2020, 10:59 p.m. UTC | #1
On Fri, 04 Dec 2020 17:38:12 +0800, Zhen Lei wrote:
> When I do dt_binding_check for any YAML file, below wanring is always

> reported:

> 

> xxx/soc/mediatek/devapc.yaml: 'additionalProperties' is a required property

> xxx/soc/mediatek/devapc.yaml: ignoring, error in schema:

> warning: no schema found in file: xxx/soc/mediatek/devapc.yaml

> 

> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>

> ---

>  Documentation/devicetree/bindings/soc/mediatek/devapc.yaml | 2 ++

>  1 file changed, 2 insertions(+)

> 


Reviewed-by: Rob Herring <robh@kernel.org>
Rob Herring Dec. 18, 2020, 9:17 p.m. UTC | #2
On Fri, 04 Dec 2020 17:38:12 +0800, Zhen Lei wrote:
> When I do dt_binding_check for any YAML file, below wanring is always

> reported:

> 

> xxx/soc/mediatek/devapc.yaml: 'additionalProperties' is a required property

> xxx/soc/mediatek/devapc.yaml: ignoring, error in schema:

> warning: no schema found in file: xxx/soc/mediatek/devapc.yaml

> 

> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>

> ---

>  Documentation/devicetree/bindings/soc/mediatek/devapc.yaml | 2 ++

>  1 file changed, 2 insertions(+)

> 


Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml b/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml
index 6c763f873a632d2..31e4d3c339bfe72 100644
--- a/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml
+++ b/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml
@@ -44,6 +44,8 @@  required:
   - clocks
   - clock-names
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>