From: "Kyrie Wu (吴晗)" <Kyrie.Wu@mediatek.com>
To: "krzk@kernel.org" <krzk@kernel.org>
Cc: "fshao@chromium.org" <fshao@chromium.org>,
"Yunfei Dong (董云飞)" <Yunfei.Dong@mediatek.com>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"fanwu01@zju.edu.cn" <fanwu01@zju.edu.cn>,
"jacopo.mondi@ideasonboard.com" <jacopo.mondi@ideasonboard.com>,
"haoxiang_li2024@163.com" <haoxiang_li2024@163.com>,
"tfiga@chromium.org" <tfiga@chromium.org>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
"Andrew-CT Chen (陳智迪)" <Andrew-CT.Chen@mediatek.com>,
"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
"ribalda@chromium.org" <ribalda@chromium.org>,
"wenst@chromium.org" <wenst@chromium.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"kees@kernel.org" <kees@kernel.org>,
"benjamin.gaignard@collabora.com"
<benjamin.gaignard@collabora.com>,
"Irui Wang (王瑞)" <Irui.Wang@mediatek.com>,
"Kyrie Wu (吴晗)" <Kyrie.Wu@mediatek.com>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"Tiffany Lin (林慧珊)" <tiffany.lin@mediatek.com>,
"linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"p.zabel@pengutronix.de" <p.zabel@pengutronix.de>,
"sakari.ailus@linux.intel.com" <sakari.ailus@linux.intel.com>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
"rongqianfeng@vivo.com" <rongqianfeng@vivo.com>,
"mchehab@kernel.org" <mchehab@kernel.org>,
"sebastian.fricke@collabora.com" <sebastian.fricke@collabora.com>,
"robh@kernel.org" <robh@kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"laurent.pinchart+renesas@ideasonboard.com"
<laurent.pinchart+renesas@ideasonboard.com>,
"hverkuil+cisco@kernel.org" <hverkuil+cisco@kernel.org>,
"nicolas.dufresne@collabora.com" <nicolas.dufresne@collabora.com>
Subject: Re: [PATCH v6 08/14] dt-bindings: media: mediatek: vcodec: add decoder dt-bindings for mt8196
Date: Fri, 14 Aug 2026 01:56:39 +0000 [thread overview]
Message-ID: <56933a0efc37485b2513d2a14b2e9d273f245d02.camel@mediatek.com> (raw)
In-Reply-To: <8d924236-5a1f-4cd6-a7a6-d12b1bed5615@kernel.org>
On Mon, 2026-08-10 at 08:31 +0200, Krzysztof Kozlowski wrote:
> On 10/08/2026 05:09, Kyrie Wu (吴晗) wrote:
> > On Mon, 2026-07-20 at 12:19 +0200, Krzysztof Kozlowski wrote:
> > > On 20/07/2026 08:26, Kyrie Wu (吴晗) wrote:
> > > > On Mon, 2026-07-20 at 07:49 +0200, Krzysztof Kozlowski wrote:
> > > > > On 20/07/2026 07:46, Krzysztof Kozlowski wrote:
> > > > > > On Mon, Jul 20, 2026 at 09:20:50AM +0800, Kyrie Wu wrote:
> > > > > > > Add the MT8196 compatible string to the MediaTek vcodec
> > > > > > > subdev
> > > > > > > decoder binding.
> > > > > > >
> > > > > > > Compared to previous ICs, the MT8196 supports a 10-bit
> > > > > > > decoder
> > > > > > > and has a decoding capability of 4K@120fps. It also
> > > > > > > supports
> > > > > > > 36-bit DRAM IOVA address and Video Power Control to
> > > > > > > optimize
> > > > > > > bandwidth and voltage usage.
> > > > > >
> > > > > > Please wrap commit message according to Linux coding style
> > > > > > /
> > > > > > submission
> > > > > > process (neither too early nor over the limit):
> > > > > > https://urldefense.com/v3/__https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst*L597__;Iw!!CTRNKA9wMg0ARbw!gDjbq0EZNkhLTzuJM_w5PopnDFej1mG4qnkRFgyoiU7Dvhm7tj3MeG5eZYNGA0L0G_61j-cmdIxORA$
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > Signed-off-by: Kyrie Wu <kyrie.wu@mediatek.com>
> > > > > > > Acked-by: Nicolas Dufresne
> > > > > > > <nicolas.dufresne@collabora.com>
> > > > > > > ---
> > > > > > > .../bindings/media/mediatek,vcodec-subdev-
> > > > > > > decoder.yaml
> > > > > > > > 1 +
> > > > > > > 1 file changed, 1 insertion(+)
> > > > > >
> > > > > > Acked-by: Krzysztof Kozlowski
> > > > > > <krzysztof.kozlowski@oss.qualcomm.com>
> > > > >
> > > > > Actually no. I checked previous comments and you received
> > > > > feedback
> > > > > which
> > > > > you basically ignored, so explain why this model has flexible
> > > > > number
> > > > > of
> > > > > clocks
> > > > >
> > > > > Best regards,
> > > > > Krzysztof
> > > >
> > > > Dear Krzysztof,
> > > >
> > > > As mentioned in the previous version of the communication, the
> > > > information regarding clk was incorrect, and I have corrected
> > > > it in
> > > > this version.
> > > >
> > > > Thank you for your attention and reminder.
> > >
> > > Read my message carefully instead of responding whatever
> > > necessary to
> > > make me go away.
> > >
> > > NAK
> > >
> > > Where did you explain that device has flexible number of clocks?
> > >
> > > Best regards,
> > > Krzysztof
> >
> > Hi Krzysztof,
> >
> > You are right, my previous reply was not sufficient. Sorry about
> > that.
> >
> > MT8196 has a fixed set of clock inputs: 9 clocks for the decoder
> > hardware
> > and 3 clocks for the VCP interface. By "flexible number of clocks",
> > I meant that clock control can be split between the kernel driver
> > and VCP firmware. This is a software implementation detail,
> > not a hardware or DT binding property. My wording was incorrect.
> >
> > The binding should not imply that the number of clocks is flexible.
> > I have updated the commit message to clarify this.
>
> SW detail so not relevant to the bindings? Then my NAK stays.
>
> Drop my tag and fix the patch. If you do not intend to fix the patch
> - I
> really could not get from above whether you agree with previous
> feedback
> or not - then this should not be applied.
>
> Best regards,
> Krzysztof
Hi Krzysztof,
I reviewed the binding and the MT8196 DTS again. My previous
explanation
was incorrect.
MT8196 has two decoder child nodes, one for LAT and one for CORE. Each
node has a fixed set of four clocks, with the following clock-names:
"sel", "vdec", "lat", "top"
The clock count must therefore not be flexible. I plan to add an MT8196
specific schema constraint in the binding, equivalent to:
- if:
properties:
compatible:
contains:
const: mediatek,mt8196-vcodec-dec
then:
patternProperties:
'^video-codec@[0-9a-f]+$':
properties:
clocks:
minItems: 4
maxItems: 4
clock-names:
minItems: 4
maxItems: 4
items:
- const: sel
- const: vdec
- const: lat
- const: top
I will use the existing child-node pattern from the binding rather than
introducing a new one.
Would this be the appropriate way to describe the fixed clock
requirements for MT8196? If so, I will send a new revision with this
change and without your Acked-by tag.
Sorry for not properly addressing your previous feedback.
Best regards,
Kyrie
next prev parent reply other threads:[~2026-08-14 1:57 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-20 1:20 [PATCH v6 00/14] media: mediatek: vcodec: support video decoder in mt8196 Kyrie Wu
2026-07-20 1:20 ` [PATCH v6 01/14] media: mediatek: vcodec: support vcp architecture Kyrie Wu
2026-07-20 12:57 ` Nicolas Dufresne
2026-08-10 3:05 ` Kyrie Wu (吴晗)
2026-08-11 20:22 ` Nicolas Dufresne
2026-08-14 2:38 ` Kyrie Wu (吴晗)
2026-08-14 14:31 ` Nicolas Dufresne
2026-07-20 1:20 ` [PATCH v6 02/14] media: mediatek: vcodec: add driver to support vcp Kyrie Wu
2026-07-20 1:20 ` [PATCH v6 03/14] media: mediatek: vcodec: add driver to support vcp encoder Kyrie Wu
2026-07-20 1:20 ` [PATCH v6 04/14] media: mediatek: vcodec: get different firmware ipi id Kyrie Wu
2026-07-20 1:20 ` [PATCH v6 05/14] media: mediatek: vcodec: get share memory address Kyrie Wu
2026-07-20 1:20 ` [PATCH v6 06/14] media: mediatek: vcodec: add debug information Kyrie Wu
2026-07-20 1:20 ` [PATCH v6 07/14] media: mediatek: vcodec: send share memory address to vcp Kyrie Wu
2026-07-20 1:20 ` [PATCH v6 08/14] dt-bindings: media: mediatek: vcodec: add decoder dt-bindings for mt8196 Kyrie Wu
2026-07-20 5:46 ` Krzysztof Kozlowski
2026-07-20 5:49 ` Krzysztof Kozlowski
2026-07-20 6:26 ` Kyrie Wu (吴晗)
2026-07-20 10:19 ` Krzysztof Kozlowski
2026-08-10 3:09 ` Kyrie Wu (吴晗)
2026-08-10 6:31 ` Krzysztof Kozlowski
2026-08-14 1:56 ` Kyrie Wu (吴晗) [this message]
2026-07-20 1:20 ` [PATCH v6 09/14] media: mediatek: vcodec: add decoder compatible to support mt8196 Kyrie Wu
2026-07-20 1:20 ` [PATCH v6 10/14] media: mediatek: vcodec: define MT8196 vcodec levels Kyrie Wu
2026-07-20 1:20 ` [PATCH v6 11/14] media: mediatek: vcodec: support 36bit iova address Kyrie Wu
2026-07-20 1:20 ` [PATCH v6 12/14] media: mediatek: vcodec: clean xpc status Kyrie Wu
2026-07-20 1:20 ` [PATCH v6 13/14] media: mediatek: decoder: fill av1 buffer size with picinfo Kyrie Wu
2026-07-20 1:20 ` [PATCH v6 14/14] media: mediatek: decoder: support av1 extend vsi Kyrie Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56933a0efc37485b2513d2a14b2e9d273f245d02.camel@mediatek.com \
--to=kyrie.wu@mediatek.com \
--cc=Andrew-CT.Chen@mediatek.com \
--cc=Irui.Wang@mediatek.com \
--cc=Yunfei.Dong@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=benjamin.gaignard@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fanwu01@zju.edu.cn \
--cc=fshao@chromium.org \
--cc=haoxiang_li2024@163.com \
--cc=hverkuil+cisco@kernel.org \
--cc=jacopo.mondi@ideasonboard.com \
--cc=kees@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=mchehab@kernel.org \
--cc=nicolas.dufresne@collabora.com \
--cc=p.zabel@pengutronix.de \
--cc=ribalda@chromium.org \
--cc=robh@kernel.org \
--cc=rongqianfeng@vivo.com \
--cc=sakari.ailus@linux.intel.com \
--cc=sebastian.fricke@collabora.com \
--cc=tfiga@chromium.org \
--cc=tiffany.lin@mediatek.com \
--cc=wenst@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox