Re: [PATCH v3 1/2] bindings: pm8941-misc: Convert to YAML and add support for VBUS detection

From: Rob Herring
Date: Fri Oct 23 2020 - 12:07:00 EST


On Thu, 22 Oct 2020 14:47:43 -0700, Guru Das Srinagesh wrote:
> From: Anirudh Ghayal <aghayal@xxxxxxxxxxxxxx>
>
> Convert bindings to YAML. Also add compatible string that adds support
> for reporting the VBUS status that can be detected via a dedicated PMIC
> pin.
>
> Signed-off-by: Anirudh Ghayal <aghayal@xxxxxxxxxxxxxx>
> Signed-off-by: Guru Das Srinagesh <gurus@xxxxxxxxxxxxxx>
> ---
> .../bindings/extcon/qcom,pm8941-misc.txt | 41 --------------
> .../bindings/extcon/qcom,pm8941-misc.yaml | 65 ++++++++++++++++++++++
> 2 files changed, 65 insertions(+), 41 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt
> create mode 100644 Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml
>


My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.example.dt.yaml: misc@900: interrupts: [[0, 9, 0, 3]] is too short
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml


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

The base for the patch is generally the last rc1. Any dependencies
should be noted.

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.