Re: [PATCH v2 1/2] dt-bindings: kbuild: Pass DT_SCHEMA_FILES to dt-validate

From: Rob Herring
Date: Fri Mar 11 2022 - 10:30:41 EST


On Thu, 10 Mar 2022 10:05:12 -0600, Rob Herring wrote:
> 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@xxxxxxxxxx>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> v2:
> - Change DT_TMP_SCHEMA from '?=' to ':='
> ---
> Documentation/devicetree/bindings/Makefile | 28 +++-------------------
> scripts/Makefile.lib | 5 ++--
> 2 files changed, 5 insertions(+), 28 deletions(-)
>

Applied, thanks!