Re: [PATCH] dt-bindings: mediatek: vcodec: Add the platform compatible to schema

From: Irui Wang
Date: Wed Oct 05 2022 - 21:14:05 EST


Dear Rob,

Thanks for your reviewing.

On Mon, 2022-10-03 at 08:24 -0500, Rob Herring wrote:
> On Sat, 01 Oct 2022 11:07:52 +0800, Irui Wang wrote:
> > There are venc node warnings when running dtbs_check, the clock-
> > names
> > was unexpected, missing properties '#address-cells' and '#size-
> > cells'.
> > Add the corresponding platform compatible to schema.
> >
> > Signed-off-by: Irui Wang <irui.wang@xxxxxxxxxxxx>
> > ---
> > .../bindings/media/mediatek,vcodec-encoder.yaml | 12
> > +++++++++++-
> > 1 file changed, 11 insertions(+), 1 deletion(-)
> >
>
> Running 'make dtbs_check' with the schema in this patch gives the
> following warnings. Consider if they are expected or the schema is
> incorrect. These may not be new warnings.
>
> Note that it is not yet a requirement to have 0 warnings for
> dtbs_check.
> This will change in the future.
>
> Full log is available here: https://patchwork.ozlabs.org/patch/

Yes, it's not a new warning, the 'clock-names' in mt8192.dtsi was
already unexpected without the patch's schema, we will fix it in the
future patch.

Thanks
Best Regards
>
>
> vcodec@17020000: clock-names:0: 'venc_sel' was expected
> arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r1.dtb
> arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dtb
> arch/arm64/boot/dts/mediatek/mt8192-evb.dtb
>