Re: [PATCH v2] dt-bindings: misc: fastrpc convert bindings to yaml

From: Rob Herring
Date: Mon Nov 29 2021 - 10:32:53 EST


On Mon, 29 Nov 2021 10:19:30 +0000, Srinivas Kandagatla wrote:
> Convert Qualcomm FastRPC bindings to yaml format, so that we could validate
> dt-entries correctly and any future additions can go into yaml format.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
> ---
> .../devicetree/bindings/misc/qcom,fastrpc.txt | 78 ----------------
> .../bindings/misc/qcom,fastrpc.yaml | 92 +++++++++++++++++++
> 2 files changed, 92 insertions(+), 78 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.txt
> create mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.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:
Documentation/devicetree/bindings/misc/qcom,fastrpc.example.dt.yaml:0:0: /example-0/adsp-pil: failed to match any schema with compatible: ['qqcom,msm8996-adsp-pil']

doc reference errors (make refcheckdocs):

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

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.