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)
commite400edb141d74aa2f04d0071aadb47fdb8f7ae55
treeaad728e38b34ef0f1af47b655851b743954106ee
parenta4dc1ca607e47e3ab342fb1a78b98bdc15088e7f
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