dt-bindings: Add running yamllint to dt_binding_check
authorRob Herring <robh@kernel.org>
Fri, 9 Oct 2020 17:05:57 +0000 (12:05 -0500)
committerRob Herring <robh@kernel.org>
Mon, 12 Oct 2020 14:11:04 +0000 (09:11 -0500)
commit44ec8b20d1e9ceabe49bc6af059220e099bbee20
treee628b5cf3f205a80e25e1849a6323668d8b23e0b
parent16b0b2baaf83f0fed8fa561d40a1bd3cefae454a
dt-bindings: Add running yamllint to dt_binding_check

Add a yamllint config file and support for running yamllint on DT
binding schema files. This runs on the whole tree as yamllint is Python
and suffers from Python's slow startup times.

Users can run on individual files doing:

yamllint -c Documentation/devicetree/bindings/.yamllint <binding file>

Link: https://lore.kernel.org/r/20201009170557.168785-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/.yamllint [new file with mode: 0644]
Documentation/devicetree/bindings/Makefile