Re: [PATCH 1/4] dt-bindings: input: add Qualcomm QPNP haptics driver

From: Rob Herring
Date: Mon Jun 14 2021 - 09:40:23 EST


On Sat, 12 Jun 2021 20:54:31 +0000, Caleb Connolly wrote:
> Add bindings for pmi8998 qpnp haptics driver.
>
> Signed-off-by: Caleb Connolly <caleb@xxxxxxxxxxxxx>
> ---
> .../bindings/input/qcom,qpnp-haptics.yaml | 123 ++++++++++++++++++
> include/dt-bindings/input/qcom,qpnp-haptics.h | 31 +++++
> 2 files changed, 154 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/input/qcom,qpnp-haptics.yaml
> create mode 100644 include/dt-bindings/input/qcom,qpnp-haptics.h
>

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/input/qcom,qpnp-haptics.example.dt.yaml:0:0: /example-0/pmic@3: failed to match any schema with compatible: ['qcom,pmi8998', 'qcom,spmi-pmic']
Documentation/devicetree/bindings/input/qcom,qpnp-haptics.example.dt.yaml:0:0: /example-0/pmic@3: failed to match any schema with compatible: ['qcom,pmi8998', 'qcom,spmi-pmic']
\ndoc reference errors (make refcheckdocs):

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

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.