linux/scripts/dtc
Rob Herring b6acf80735 dt: Add a check for undocumented compatible strings in kernel
Add a make target, dt_compatible_check, to extract compatible strings
from kernel sources and check if they are documented by a schema.
At least version v2022.08 of dtschema with dt-check-compatible is
required.

This check can also be run manually on specific files or directories:

scripts/dtc/dt-extract-compatibles drivers/clk/ | \
  xargs dt-check-compatible -v -s Documentation/devicetree/bindings/processed-schema.json

Currently, there are about 3800 undocumented compatible strings. Most of
these are cases where the binding is not yet converted (given there
are 1900 .txt binding files remaining).

Link: https://lore.kernel.org/all/20220916012510.2718170-1-robh@kernel.org/
Signed-off-by: Rob Herring <robh@kernel.org>
2022-09-27 10:36:16 -05:00
..
include-prefixes h8300: remove stale bindings and symlink 2022-05-20 22:40:56 +02:00
libfdt treewide: Replace zero-length arrays with flexible-array members 2022-02-17 07:00:39 -06:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
checks.c scripts/dtc: Update to upstream version v1.6.1-19-g0a3a9d3449c8 2021-10-29 08:55:38 -05:00
data.c scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9 2021-02-04 09:00:04 -06:00
dt_to_config treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 473 2019-06-19 17:09:11 +02:00
dt-extract-compatibles dt: Add a check for undocumented compatible strings in kernel 2022-09-27 10:36:16 -05:00
dtc-lexer.l scripts/dtc: Update to upstream version v1.6.1-19-g0a3a9d3449c8 2021-10-29 08:55:38 -05:00
dtc-parser.y scripts/dtc: Update to upstream version v1.6.0-31-gcbca977ea121 2020-10-12 09:58:15 -05:00
dtc.c scripts/dtc: Update to upstream version v1.6.1-19-g0a3a9d3449c8 2021-10-29 08:55:38 -05:00
dtc.h scripts/dtc: Update to upstream version v1.6.1-19-g0a3a9d3449c8 2021-10-29 08:55:38 -05:00
dtx_diff scripts/dtc: dtx_diff: remove broken example from help text 2022-01-17 16:26:44 -06:00
fdtget.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
fdtoverlay.c scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9 2021-02-04 09:00:04 -06:00
fdtput.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
flattree.c scripts/dtc: Update to upstream version v1.6.1-19-g0a3a9d3449c8 2021-10-29 08:55:38 -05:00
fstree.c scripts/dtc: Update to upstream version v1.5.1-22-gc40aeb60b47a 2019-12-26 15:39:13 -07:00
livetree.c scripts/dtc: Update to upstream version v1.6.1-19-g0a3a9d3449c8 2021-10-29 08:55:38 -05:00
Makefile dt-bindings: kbuild: Use DTB files for validation 2022-03-11 11:16:16 -06:00
of_unittest_expect of: unittest: add program to process EXPECT messages 2022-02-28 15:20:32 -06:00
srcpos.c scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9 2021-02-04 09:00:04 -06:00
srcpos.h scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73 2019-06-21 12:53:52 -06:00
treesource.c scripts/dtc: Update to upstream version v1.6.1-19-g0a3a9d3449c8 2021-10-29 08:55:38 -05:00
update-dtc-source.sh dt-bindings: kbuild: Use DTB files for validation 2022-03-11 11:16:16 -06:00
util.c scripts/dtc: Update to upstream version v1.5.1-22-gc40aeb60b47a 2019-12-26 15:39:13 -07:00
util.h scripts/dtc: Update to upstream version v1.6.1-19-g0a3a9d3449c8 2021-10-29 08:55:38 -05:00
version_gen.h scripts/dtc: Update to upstream version v1.6.1-19-g0a3a9d3449c8 2021-10-29 08:55:38 -05:00
yamltree.c scripts/dtc: Update to upstream version v1.6.1-19-g0a3a9d3449c8 2021-10-29 08:55:38 -05:00