linux/scripts/dtc
Rob Herring 4f0e3a57d6 kbuild: Add support for DT binding schema checks
This adds the build infrastructure for checking DT binding schema
documents and validating dts files using the binding schema.

Check DT binding schema documents:
make dt_binding_check

Build dts files and check using DT binding schema:
make dtbs_check

Optionally, DT_SCHEMA_FILES can be passed in with a schema file(s) to
use for validation. This makes it easier to find and fix errors
generated by a specific schema.

Currently, the validation targets are separate from a normal build to
avoid a hard dependency on the external DT schema project and because
there are lots of warnings generated.

Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Mark Rutland <mark.rutland@arm.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: linux-doc@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
2018-12-13 09:41:32 -06:00
..
include-prefixes dts: remove cris & metag dts hard link file 2018-04-06 15:26:31 +02:00
libfdt scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00
.gitignore .gitignore: move *.lex.c *.tab.[ch] patterns to the top-level .gitignore 2018-04-07 19:04:02 +09:00
checks.c scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00
data.c scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00
dt_to_config scripts: Switch to more portable Perl shebang 2017-05-14 11:20:44 +09:00
dtc-lexer.l scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc 2018-05-14 19:45:01 -05:00
dtc-parser.y scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00
dtc.c scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00
dtc.h scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00
dtx_diff scripts/dtc: dtx_diff - 2nd update of include dts paths to match build 2017-09-20 10:13:05 -05:00
fdtdump.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fdtget.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
fdtput.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
flattree.c scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00
fstree.c scripts/dtc: Update to upstream version 0931cea3ba20 2017-01-04 10:47:53 -06:00
livetree.c scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00
Makefile kbuild: Add support for DT binding schema checks 2018-12-13 09:41:32 -06:00
Makefile.dtc scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00
srcpos.c scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-03-05 20:58:17 -06:00
srcpos.h scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-03-05 20:58:17 -06:00
treesource.c scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00
update-dtc-source.sh scripts/dtc: Add yamltree.c to dtc sources 2018-09-19 15:10:06 -07:00
util.c scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00
util.h scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00
version_gen.h scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00
yamltree.c scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4 2018-09-20 11:31:10 -07:00