summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2020-12-04 17:38:11 +0800
committerRob Herring <robh@kernel.org>2020-12-18 15:15:20 -0600
commitc8f054f10507dc133c9aa51f478dabe772f16288 (patch)
tree4db06fa1914c2e9c95afe706965bb8098d3c914d /Documentation/devicetree
parentc1efde3f9780ad337df1cc393f6471ac8e24f50f (diff)
downloadlinux-stable-c8f054f10507dc133c9aa51f478dabe772f16288.tar.gz
linux-stable-c8f054f10507dc133c9aa51f478dabe772f16288.tar.bz2
linux-stable-c8f054f10507dc133c9aa51f478dabe772f16288.zip
dt-bindings: soc: add the required property 'additionalProperties'
When I do dt_binding_check for any YAML file, below wanring is always reported: xxx/soc/litex/litex,soc-controller.yaml: 'additionalProperties' is a required property xxx/soc/litex/litex,soc-controller.yaml: ignoring, error in schema: warning: no schema found in file: xxx/soc/litex/litex,soc-controller.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-4-thunder.leizhen@huawei.com Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml b/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml
index e2b788796e79..c8b57c7fd08c 100644
--- a/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml
+++ b/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml
@@ -28,6 +28,8 @@ required:
- compatible
- reg
+additionalProperties: false
+
examples:
- |
soc_ctrl0: soc-controller@f0000000 {