Re: [PATCH v2 1/5] dt-bindings: display: mediatek, hdmi: Convert to use graph schema

From: Rob Herring
Date: Mon Apr 12 2021 - 09:20:12 EST


On Mon, 12 Apr 2021 11:39:24 +0200, Neil Armstrong wrote:
> Update the mediatek,dpi binding to use the graph schema.
>
> Signed-off-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
> ---
> .../display/mediatek/mediatek,cec.yaml | 51 +++++++
> .../display/mediatek/mediatek,hdmi-ddc.yaml | 57 ++++++++
> .../display/mediatek/mediatek,hdmi.txt | 136 ------------------
> .../display/mediatek/mediatek,hdmi.yaml | 131 +++++++++++++++++
> 4 files changed, 239 insertions(+), 136 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,cec.yaml
> create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,hdmi-ddc.yaml
> delete mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,hdmi.txt
> create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,hdmi.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/display/mediatek/mediatek,hdmi-ddc.example.dt.yaml:0:0: /example-0/i2c@11012000: failed to match any schema with compatible: ['mediatek,mt8173-hdmi-ddc']
Documentation/devicetree/bindings/display/mediatek/mediatek,cec.example.dt.yaml:0:0: /example-0/cec@10013000: failed to match any schema with compatible: ['mediatek,mt8173-cec']

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

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.