summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/writing-schema.rst
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2019-08-13 21:38:25 +0300
committerRob Herring <robh@kernel.org>2019-08-14 01:30:08 +0300
commit7aa8dd91da63af535b3b9153257e089254982b7e (patch)
tree5a62714d4716f48b9526967a131be211c10d6b32 /Documentation/devicetree/writing-schema.rst
parent0d530aa6894c149a0a6cd36d63b03738817b745e (diff)
downloadlinux-7aa8dd91da63af535b3b9153257e089254982b7e.tar.xz
devicetree: Expose dtbs_check and dt_binding_check some more
It wasn't obvious that this was a command to run based on 'make help', so add it to the top-level help for devicetree builds. Also, add an example to the documentation to show that db_binding_check can be run with DT_SCHEMA_FILES= to only check one schema file instead of all of them. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: <linux-kbuild@vger.kernel.org> Cc: <devicetree@vger.kernel.org> Cc: <linux-doc@vger.kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org> [robh: fix-up due to .md to .rst conversion] Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/writing-schema.rst')
-rw-r--r--Documentation/devicetree/writing-schema.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/writing-schema.rst b/Documentation/devicetree/writing-schema.rst
index 8f71d1e2ac52..f4a638072262 100644
--- a/Documentation/devicetree/writing-schema.rst
+++ b/Documentation/devicetree/writing-schema.rst
@@ -141,6 +141,7 @@ It is also possible to run checks with a single schema file by setting the
::
+ make dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/trivial-devices.yaml
make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/trivial-devices.yaml