dt-bindings: devapc: add the required property 'additionalProperties'
authorZhen Lei <thunder.leizhen@huawei.com>
Fri, 4 Dec 2020 09:38:12 +0000 (17:38 +0800)
committerRob Herring <robh@kernel.org>
Fri, 18 Dec 2020 21:15:20 +0000 (15:15 -0600)
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>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201204093813.1275-5-thunder.leizhen@huawei.com
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/soc/mediatek/devapc.yaml

index 6c763f8..31e4d3c 100644 (file)
@@ -44,6 +44,8 @@ required:
   - clocks
   - clock-names
 
+additionalProperties: false
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>