]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: Warn if DT bindings are not in schema format
authorRob Herring <robh@kernel.org>
Thu, 12 Sep 2019 14:18:20 +0000 (15:18 +0100)
committerRob Herring <robh@kernel.org>
Fri, 11 Oct 2019 19:33:02 +0000 (14:33 -0500)
commit8152beb91a2e0d86684d61f362f68119d57565a4
treeaad728e38b34ef0f1af47b655851b743954106ee
parentb9edfc06335e00a5e76233b2b04762be5c5309e8
checkpatch: Warn if DT bindings are not in schema format

DT bindings are moving to using a json-schema based schema format
instead of freeform text. Add a checkpatch.pl check to encourage using
the schema for new bindings. It's not yet a requirement, but is
progressively being required by some maintainers.

Cc: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Rob Herring <robh@kernel.org>
scripts/checkpatch.pl