]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
dt-bindings: Check the examples against the schemas
authorRob Herring <robh@kernel.org>
Fri, 17 May 2019 21:17:08 +0000 (16:17 -0500)
committerRob Herring <robh@kernel.org>
Thu, 13 Jun 2019 17:00:14 +0000 (11:00 -0600)
Currently, the binding examples are just built with dtc. dtc recently
gained the support necessary to output the examples in YAML format
(commit 87963ee20693 ("livetree: add missing type markers in generated
overlay properties"). Now just switch the output format and the examples
will be checked against the schema.

Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/Makefile

index 8a2774b5834b5bd07d30ac3c544d5672b57ec835..6b0dfd5c17baccb3232f032738a7a5c53efd28c9 100644 (file)
@@ -25,7 +25,7 @@ DT_DOCS = $(shell \
 DT_SCHEMA_FILES ?= $(addprefix $(src)/,$(DT_DOCS))
 
 extra-y += $(patsubst $(src)/%.yaml,%.example.dts, $(DT_SCHEMA_FILES))
-extra-y += $(patsubst $(src)/%.yaml,%.example.dtb, $(DT_SCHEMA_FILES))
+extra-y += $(patsubst $(src)/%.yaml,%.example.dt.yaml, $(DT_SCHEMA_FILES))
 
 $(obj)/$(DT_TMP_SCHEMA): $(DT_SCHEMA_FILES) FORCE
        $(call if_changed,mk_schema)