Re: [PATCH 08/10] dt-bindings: soc: qcom,smd: convert to dtschema

From: Rob Herring
Date: Sat Apr 02 2022 - 09:47:04 EST


On Fri, 01 Apr 2022 22:10:33 +0200, Krzysztof Kozlowski wrote:
> Convert the Qualcomm Shared Memory Driver bindings to DT Schema.
>
> Changes against original bindings: enforce only specific names of child
> nodes, instead of any names.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
> .../regulator/qcom,smd-rpm-regulator.yaml | 2 +-
> .../bindings/remoteproc/qcom,q6v5.txt | 2 +-
> .../bindings/remoteproc/qcom,wcnss-pil.txt | 2 +-
> .../bindings/soc/qcom/qcom,smd-rpm.yaml | 4 +-
> .../devicetree/bindings/soc/qcom/qcom,smd.txt | 98 -------------
> .../bindings/soc/qcom/qcom,smd.yaml | 137 ++++++++++++++++++
> 6 files changed, 142 insertions(+), 103 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,smd.txt
> create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,smd.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/linux-dt-review/Documentation/devicetree/bindings/soc/qcom/qcom,smd.example.dt.yaml: rpm-requests: 'clock-controller' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
Documentation/devicetree/bindings/soc/qcom/qcom,smd.example.dt.yaml:0:0: /example-0/shared-memory/rpm/rpm-requests/clock-controller: failed to match any schema with compatible: ['qcom,rpmcc-msm8974', 'qcom,rpmcc']
Documentation/devicetree/bindings/soc/qcom/qcom,smd.example.dt.yaml:0:0: /example-0/shared-memory/rpm/rpm-requests/clock-controller: failed to match any schema with compatible: ['qcom,rpmcc-msm8974', 'qcom,rpmcc']

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.