From: "Kyrie Wu (吴晗)" <Kyrie.Wu@mediatek.com>
To: "krzk@kernel.org" <krzk@kernel.org>
Cc: "linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"Yunfei Dong (董云飞)" <Yunfei.Dong@mediatek.com>,
"ribalda@chromium.org" <ribalda@chromium.org>,
"robh@kernel.org" <robh@kernel.org>,
"fanwu01@zju.edu.cn" <fanwu01@zju.edu.cn>,
"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
"haoxiang_li2024@163.com" <haoxiang_li2024@163.com>,
"nicolas.dufresne@collabora.com" <nicolas.dufresne@collabora.com>,
"Andrew-CT Chen (陳智迪)" <Andrew-CT.Chen@mediatek.com>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
"mchehab@kernel.org" <mchehab@kernel.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"Tiffany Lin (林慧珊)" <tiffany.lin@mediatek.com>,
"benjamin.gaignard@collabora.com"
<benjamin.gaignard@collabora.com>,
"Irui Wang (王瑞)" <Irui.Wang@mediatek.com>,
"rongqianfeng@vivo.com" <rongqianfeng@vivo.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"fshao@chromium.org" <fshao@chromium.org>,
"kees@kernel.org" <kees@kernel.org>,
"sakari.ailus@linux.intel.com" <sakari.ailus@linux.intel.com>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"laurent.pinchart+renesas@ideasonboard.com"
<laurent.pinchart+renesas@ideasonboard.com>,
"tfiga@chromium.org" <tfiga@chromium.org>,
"wenst@chromium.org" <wenst@chromium.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
"hverkuil+cisco@kernel.org" <hverkuil+cisco@kernel.org>,
"jacopo.mondi@ideasonboard.com" <jacopo.mondi@ideasonboard.com>,
"p.zabel@pengutronix.de" <p.zabel@pengutronix.de>
Subject: Re: [PATCH v8 08/14] dt-bindings: media: mediatek,vcodec-subdev-decoder: Add MT8196
Date: Fri, 16 Oct 2026 06:44:03 +0000 [thread overview]
Message-ID: <d6a5a210c1de1106f474bf6ceb28aded123b4775.camel@mediatek.com> (raw)
In-Reply-To: <20261012-inquisitive-scallop-of-business-baeb1e@quoll>
On Mon, 2026-10-12 at 11:39 +0200, Krzysztof Kozlowski wrote:
> On Sat, Oct 10, 2026 at 04:36:07PM +0800, Kyrie Wu wrote:
> > 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.
> >
> > Signed-off-by: Kyrie Wu <kyrie.wu@mediatek.com>
> > Acked-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
> > ---
> > .../media/mediatek,vcodec-subdev-decoder.yaml | 49
> > ++++++++++++++++++-
> > 1 file changed, 48 insertions(+), 1 deletion(-)
>
>
> Honestly, I see random approach your patches visible in how
> inconsistently you use subject prefixes.
>
> Where did you describe REASON to drop the tag?
>
>
> >
> > diff --git
> > a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-
> > decoder.yaml
> > b/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-
> > decoder.yaml
> > index d1d209cb..d8f25ccd 100644
> > --- a/Documentation/devicetree/bindings/media/mediatek,vcodec-
> > subdev-decoder.yaml
> > +++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-
> > subdev-decoder.yaml
> > @@ -76,6 +76,7 @@ properties:
> > - mediatek,mt8186-vcodec-dec
> > - mediatek,mt8188-vcodec-dec
> > - mediatek,mt8195-vcodec-dec
> > + - mediatek,mt8196-vcodec-dec
> >
> > reg:
> > minItems: 1
> > @@ -96,6 +97,11 @@ properties:
> > The node of system control processor (SCP), using
> > the remoteproc & rpmsg framework.
> >
> > + mediatek,vcp:
> > + $ref: /schemas/types.yaml#/definitions/phandle
> > + description: Phandle to the Video Companion Processor (VCP)
> > that runs the
> > + video decoder firmware.
> > +
> > "#address-cells":
> > const: 2
> >
> > @@ -163,7 +169,6 @@ required:
> > - compatible
> > - reg
> > - iommus
> > - - mediatek,scp
> > - ranges
> >
> > if:
> > @@ -179,6 +184,48 @@ then:
> > - interrupts
> >
> > allOf:
> > + - if:
> > + properties:
> > + compatible:
> > + contains:
> > + const: mediatek,mt8196-vcodec-dec
> > +
> > + then:
> > + required:
> > + - mediatek,vcp
> > +
> > + properties:
> > + mediatek,scp: false
> > +
> > + patternProperties:
> > + '^video-codec@[0-9a-f]+$':
> > + properties:
> > + compatible:
> > + enum:
> > + - mediatek,mtk-vcodec-core
> > + - mediatek,mtk-vcodec-lat
> > +
>
> Missing constraints for clocks
>
> > + clock-names:
> > + items:
> > + - const: sel
> > + - const: vdec
> > + - const: lat
> > + - const: top
>
> Best regards,
> Krzysztof
>
Hi Krzysztof,
I did not explain why mediatek,scp was removed from the
common required list. MT8196 uses mediatek,vcp, while the older SoCs
still require mediatek,scp. I will describe this explicitly in the v9
commit message.
I will also change the subject to:
media: dt-bindings: mediatek,vcodec-subdev-decoder: Add MT8196
and constrain the MT8196 child-node clocks array to exactly four
entries by adding maxItems: 4, matching the four clock-names.
Thank you for the review.
Best regards,
Kyrie
next prev parent reply other threads:[~2026-10-16 6:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-10 8:35 [PATCH v8 00/14] media: mediatek: vcodec: support video decoder in mt8196 Kyrie Wu
2026-10-10 8:36 ` [PATCH v8 01/14] media: mediatek: vcodec: support vcp architecture Kyrie Wu
2026-10-10 8:36 ` [PATCH v8 02/14] media: mediatek: vcodec: add driver to support vcp Kyrie Wu
2026-10-10 8:36 ` [PATCH v8 03/14] media: mediatek: vcodec: add driver to support vcp encoder Kyrie Wu
2026-10-10 8:36 ` [PATCH v8 04/14] media: mediatek: vcodec: get different firmware ipi id Kyrie Wu
2026-10-10 8:36 ` [PATCH v8 05/14] media: mediatek: vcodec: get share memory address Kyrie Wu
2026-10-10 8:36 ` [PATCH v8 06/14] media: mediatek: vcodec: add debug information Kyrie Wu
2026-10-10 8:36 ` [PATCH v8 07/14] media: mediatek: vcodec: send share memory address to vcp Kyrie Wu
2026-10-10 8:36 ` [PATCH v8 08/14] dt-bindings: media: mediatek,vcodec-subdev-decoder: Add MT8196 Kyrie Wu
2026-10-12 9:39 ` Krzysztof Kozlowski
2026-10-16 6:44 ` Kyrie Wu (吴晗) [this message]
2026-10-10 8:36 ` [PATCH v8 09/14] media: mediatek: vcodec: add decoder compatible to support mt8196 Kyrie Wu
2026-10-10 8:36 ` [PATCH v8 10/14] media: mediatek: vcodec: define MT8196 vcodec levels Kyrie Wu
2026-10-10 8:36 ` [PATCH v8 11/14] media: mediatek: vcodec: support 36bit iova address Kyrie Wu
2026-10-10 8:36 ` [PATCH v8 12/14] media: mediatek: vcodec: clean xpc status Kyrie Wu
2026-10-10 8:36 ` [PATCH v8 13/14] media: mediatek: decoder: fill av1 buffer size with picinfo Kyrie Wu
2026-10-10 8:36 ` [PATCH v8 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=d6a5a210c1de1106f474bf6ceb28aded123b4775.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=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
all inboxes | Powered by JetHome®