Re: [PATCH v3 2/4] dt-bindings: remoteproc: qcom: Convert wcnss documentation to YAML

From: Krzysztof Kozlowski
Date: Tue Sep 20 2022 - 04:21:41 EST


On Tue, 20 Sep 2022 08:33:14 +0530, Sireesh Kodali wrote:
> This is a direct conversion of the existing txt documentation to YAML.
> It is in preparation for the addition of pronto-v3 to the docs. This
> patch doesn't document any of the existing subnodes/properties that are
> not documented in the existing txt file. That is done in a separate
> patch.
>
> Signed-off-by: Sireesh Kodali <sireeshkodali1@xxxxxxxxx>
> ---
> .../bindings/remoteproc/qcom,wcnss-pil.txt | 177 ------------
> .../bindings/remoteproc/qcom,wcnss-pil.yaml | 267 ++++++++++++++++++
> 2 files changed, 267 insertions(+), 177 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.txt
> create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml
>

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.example.dtb: pronto@a21b000: compatible: ['qcom,pronto-v2-pil', 'qcom,pronto'] is too long
From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml
Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.example.dtb:0:0: /example-0/pronto@a21b000: failed to match any schema with compatible: ['qcom,pronto-v2-pil', 'qcom,pronto']

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/patch/

This check can fail if there are any dependencies. The base for a patch
series is generally the most recent rc1.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit.