[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <170267057932.303365.14773226712594255838.robh@kernel.org>
Date: Fri, 15 Dec 2023 14:03:01 -0600
From: Rob Herring <robh@...nel.org>
To: Eugen Hristev <eugen.hristev@...labora.com>
Cc: andrew-ct.chen@...iatek.com, tiffany.lin@...iatek.com, angelogioacchino.delregno@...labora.com, matthias.bgg@...il.com, linux-media@...r.kernel.org, linux-mediatek@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/7] dt-bindings: media: mtk-vcodec-encoder: fix
non-vp8 clock name
On Fri, 15 Dec 2023 12:45:47 +0200, Eugen Hristev wrote:
> Looking at the binding it makes sense that the `-vp8` compatible has
> the `venc_lt_sel` while the other bindings have the `venc_sel` as name for
> the clock.
> This was also mentioned in the txt version of the binding before the
> conversion:
> `
> clock-names: avc encoder must contain "venc_sel", vp8 encoder must
> contain "venc_lt_sel", decoder must contain "vcodecpll", "univpll_d2",
> `
>
> So it is easier to check for compatible that includes vp8, since that's
> just one, to have the requirement for the clock name property as
> `venc_lt_sel`, rather than for all the others, some of which are missing,
> thus for them, the requirement is wrongly `venc_lt_sel`.
>
> Reordered the if/then/else to match `-vp8` and have all the rest of
> the compatibles using the other clock name (`venc_sel`).
>
> Signed-off-by: Eugen Hristev <eugen.hristev@...labora.com>
> ---
> Changes in v2:
> - new patch.
> .../bindings/media/mediatek,vcodec-encoder.yaml | 11 ++++-------
> 1 file changed, 4 insertions(+), 7 deletions(-)
>
Reviewed-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists