Option in dtbs_check to filter a single dtb

From: Nícolas F. R. A. Prado <hidden>
Date: 2022-02-10 16:59:27

Hi,

when reviewing changes in a dts, it is necessary to not only verify that the
build is clean, but also to run dtbs_check to make sure that the changes comply
to the related dt-bindings.

However this process can take a long time since it checks all the dtbs against
all dt-bindings. The workflow could be significantly improved if a flag could be
passed to compile and validate a single dts against all appropriate dt-bindings.
The documentation [1] shows DT_SCHEMA_FILES, which does the opposite, validating
all dtbs against a single (or few) schema files. This flag is useful when
validating a change in a dt-binding, but for validating a change in a dts, the
complete opposite is required.

So I'm writing this to ask if there's really nothing like this available, and in
that case, consider this a feature suggestion for improving the workflow for
reviewing dts changes and ensuring they don't create new dt-binding warnings.

Thanks,
Nícolas

[1] https://www.kernel.org/doc/html/latest/devicetree/bindings/writing-schema.html#running-checks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help