kbuild: Always validate DT binding examples
authorRob Herring <robh@kernel.org>
Sat, 29 Feb 2020 00:37:30 +0000 (18:37 -0600)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 3 Mar 2020 11:49:21 +0000 (20:49 +0900)
commit2ba06cd8565b5b3dee33a9ca24cf86a906d051d1
treee397209d126efb5cf91831cc0baa7ebc4468ccfe
parent88694cff4952dba60227f421884ff4140d296900
kbuild: Always validate DT binding examples

Most folks only run dt_binding_check on the single schema they care about
by setting DT_SCHEMA_FILES. That means example is only checked against
that one schema which is not always sufficient.

Let's address this by splitting processed-schema.yaml into 2 files: one
that's always all schemas for the examples and one that's just the schema
in DT_SCHEMA_FILES for dtbs.

Co-developed-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Documentation/devicetree/bindings/.gitignore
Documentation/devicetree/bindings/Makefile
scripts/Makefile.lib