Message ID | 20201204093813.1275-5-thunder.leizhen@huawei.com |
---|---|
State | New |
Headers | show |
Series | fix dt_binding_check warnings | expand |
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>
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 --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>
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(+)