[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 3 Mar 2022 09:51:06 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
To: Rob Herring <robh@...nel.org>
Cc: Masahiro Yamada <masahiroy@...nel.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: kbuild: Support partial matches with
DT_SCHEMA_FILES
On 28/02/2022 21:10, Rob Herring wrote:
> DT_SCHEMA_FILES is currently restricted to a list of exact files with
> the full source tree path (i.e. Documentation/devicetree/bindings/...).
> Loosen this requirement and let DT_SCHEMA_FILES be a partial match.
>
> With this, checking all schema files in a directory is possible:
>
> $ make DT_SCHEMA_FILES=/gpio/ dt_binding_check
>
> Or all schema files with 'qcom' in the path or filename:
>
> $ make DT_SCHEMA_FILES=qcom dt_binding_check
>
> Cc: Masahiro Yamada <masahiroy@...nel.org>
> Signed-off-by: Rob Herring <robh@...nel.org>
> ---
> Documentation/devicetree/bindings/Makefile | 15 +++++----------
> .../devicetree/bindings/writing-schema.rst | 9 +++++----
> 2 files changed, 10 insertions(+), 14 deletions(-)
>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Best regards,
Krzysztof
Powered by blists - more mailing lists