From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: Rob Herring <robh@kernel.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: kbuild: Support partial matches with DT_SCHEMA_FILES
Date: Thu, 3 Mar 2022 09:51:06 +0100 [thread overview]
Message-ID: <2674d7af-56cd-b2fc-74d9-ade32ada7bf9@canonical.com> (raw)
In-Reply-To: <20220228201006.1484903-1-robh@kernel.org>
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@kernel.org>
> Signed-off-by: Rob Herring <robh@kernel.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@canonical.com>
Best regards,
Krzysztof
prev parent reply other threads:[~2022-03-03 8:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-28 20:10 Rob Herring
2022-03-03 8:51 ` Krzysztof Kozlowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2674d7af-56cd-b2fc-74d9-ade32ada7bf9@canonical.com \
--to=krzysztof.kozlowski@canonical.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®