dt-bindings: kbuild: Pass DT_SCHEMA_FILES to dt-validate
authorRob Herring <robh@kernel.org>
Thu, 10 Mar 2022 16:05:12 +0000 (10:05 -0600)
committerRob Herring <robh@kernel.org>
Fri, 11 Mar 2022 15:30:27 +0000 (09:30 -0600)
commit2783a7f56f9980f61ca809b826bcd14dc77eb7b9
tree961d30c04057a8e3d8d3f7ab0fd8d44755ea0f4d
parent37de81210f74c909e3d42c90fea3497a00ac618b
dt-bindings: kbuild: Pass DT_SCHEMA_FILES to dt-validate

In preparation for supporting validation of DTB files, the full
processed schema will always be needed in order to extract type
information from it. Therefore, the processed schema containing only
what DT_SCHEMA_FILES specifies won't work. Instead, dt-validate has
gained an option, -l or --limit, to specify which schema(s) to use for
validation.

As the command line option is new, we the minimum dtschema version must be
updated.

Cc: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220310160513.1708182-2-robh@kernel.org
Documentation/devicetree/bindings/Makefile
scripts/Makefile.lib