[PATCH] docs: dt: writing-schema: mention yamllint

Krzysztof Kozlowski posted 1 patch 4 years ago
Documentation/devicetree/bindings/writing-schema.rst | 2 ++
1 file changed, 2 insertions(+)
[PATCH] docs: dt: writing-schema: mention yamllint
Posted by Krzysztof Kozlowski 4 years ago
The dtschema uses yamllint, if present, to check the syntax of the
files, so document this.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/writing-schema.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/writing-schema.rst b/Documentation/devicetree/bindings/writing-schema.rst
index 2916edf829db..4a381d20f2b4 100644
--- a/Documentation/devicetree/bindings/writing-schema.rst
+++ b/Documentation/devicetree/bindings/writing-schema.rst
@@ -134,6 +134,8 @@ installed first. On Debian/Ubuntu systems::
 Several executables (dt-doc-validate, dt-mk-schema, dt-validate) will be
 installed. Ensure they are in your PATH (~/.local/bin by default).
 
+Recommended is also to install yamllint (used by dtschema when present).
+
 Running checks
 ~~~~~~~~~~~~~~
 
-- 
2.32.0
Re: [PATCH] docs: dt: writing-schema: mention yamllint
Posted by Rob Herring 4 years ago
On Tue, 19 Apr 2022 10:49:42 +0200, Krzysztof Kozlowski wrote:
> The dtschema uses yamllint, if present, to check the syntax of the
> files, so document this.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/writing-schema.rst | 2 ++
>  1 file changed, 2 insertions(+)
> 

Applied, thanks!