Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: writing-schema: add example for multiple DT_SCHEMA_FILES

Variable DT_SCHEMA_FILES can specify multiple files or patterns, but the
documentation does not indicate how to do it. Each entry needs to be
separated by a column symbol ':'.

Add an example to make it more obvious how to specify multiple
DT_SCHEMA_FILES.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20231002183813.1702052-1-hugo@hugovil.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Hugo Villeneuve and committed by
Rob Herring
00d589ac 482b9626

+4 -1
+4 -1
Documentation/devicetree/bindings/writing-schema.rst
··· 159 159 make dt_binding_check dtbs_check 160 160 161 161 It is also possible to run checks with a subset of matching schema files by 162 - setting the ``DT_SCHEMA_FILES`` variable to a specific schema file or pattern. 162 + setting the ``DT_SCHEMA_FILES`` variable to 1 or more specific schema files or 163 + patterns (partial match of a fixed string). Each file or pattern should be 164 + separated by ':'. 163 165 164 166 :: 165 167 166 168 make dt_binding_check DT_SCHEMA_FILES=trivial-devices.yaml 169 + make dt_binding_check DT_SCHEMA_FILES=trivial-devices.yaml:rtc.yaml 167 170 make dt_binding_check DT_SCHEMA_FILES=/gpio/ 168 171 make dtbs_check DT_SCHEMA_FILES=trivial-devices.yaml 169 172