Re: [PATCH] dt-bindings: kbuild: Support partial matches with DT_SCHEMA_FILES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
>  Documentation/devicetree/bindings/Makefile        | 15 +++++----------
>  .../devicetree/bindings/writing-schema.rst        |  9 +++++----
>  2 files changed, 10 insertions(+), 14 deletions(-)
> 


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>


Best regards,
Krzysztof



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux