From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
To: Irui Wang <irui.wang@mediatek.com>,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
wenst@chromium.org, angelogioacchino.delregno@collabora.com,
Tiffany Lin <tiffany.lin@mediatek.com>,
kyrie wu <kyrie.wu@mediatek.com>
Cc: Yunfei Dong <yunfei.dong@mediatek.com>,
Maoguang Meng <maoguang.meng@mediatek.com>,
Longfei Wang <longfei.wang@mediatek.com>,
Project_Global_Chrome_Upstream_Group@mediatek.com,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v5 5/6] media: dt-bindings: mediatek,vcodec-encoder: Add MT8196
Date: Thu, 19 Mar 2026 16:17:19 -0400 [thread overview]
Message-ID: <23f0c1f7a9656562d2be6c1ef3439f484ac76f92.camel@collabora.com> (raw)
In-Reply-To: <20260302035244.8994-6-irui.wang@mediatek.com>
[-- Attachment #1: Type: text/plain, Size: 2777 bytes --]
Le lundi 02 mars 2026 à 11:52 +0800, Irui Wang a écrit :
> Add support for MT8196 video encoder which uses VCP (Video Co-Processor)
> for firmware management. Unlike previous platforms that use SCP/VPU, MT8196
> requires VCP to load and execute the video encoding firmware, with the
> encoder communicating through VCP to perform encoding operations.
>
> Add the "mediatek,mt8196-vcodec-enc" compatible string and introduce
> the "mediatek,vcp" property to reference the VCP device, which is
> required for MT8196 encoder operation.
>
> Signed-off-by: Irui Wang <irui.wang@mediatek.com>
Please, keep the bindings early in your future patchset. I need read the binding
first to understand what is the code pulling from the DT. I'll move when
applying.
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Nicolas
> ---
> .../media/mediatek,vcodec-encoder.yaml | 22 +++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-
> encoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-
> encoder.yaml
> index ebc615584f92..72698456374a 100644
> --- a/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml
> +++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml
> @@ -24,6 +24,7 @@ properties:
> - mediatek,mt8188-vcodec-enc
> - mediatek,mt8192-vcodec-enc
> - mediatek,mt8195-vcodec-enc
> + - mediatek,mt8196-vcodec-enc
> - items:
> - const: mediatek,mt8186-vcodec-enc
> - const: mediatek,mt8183-vcodec-enc
> @@ -58,6 +59,13 @@ properties:
> description:
> Describes point to scp.
>
> + mediatek,vcp:
> + $ref: /schemas/types.yaml#/definitions/phandle
> + description:
> + Reference to the VCP (Video Co-Processor) device that loads and
> executes
> + the video encoding firmware. The encoder communicates with the firmware
> + through VCP to perform encoding operations.
> +
> power-domains:
> maxItems: 1
>
> @@ -76,6 +84,20 @@ required:
> - iommus
>
> allOf:
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - mediatek,mt8196-vcodec-enc
> +
> + then:
> + required:
> + - mediatek,vcp
> + else:
> + properties:
> + mediatek,vcp: false
> +
> - if:
> properties:
> compatible:
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-03-19 20:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-02 3:52 [PATCH v5 0/6] Add support for MT8196 video encoder Irui Wang
2026-03-02 3:52 ` [PATCH v5 1/6] media: mediatek: encoder: Add a new encoder driver interface Irui Wang
2026-03-02 3:52 ` [PATCH v5 2/6] media: mediatek: encoder: Add support for common firmware interface Irui Wang
2026-03-02 3:52 ` [PATCH v5 3/6] media: mediatek: encoder: Add support for VCP encode process Irui Wang
2026-03-02 3:52 ` [PATCH v5 4/6] media: mediatek: encoder: Add a new platform data member Irui Wang
2026-03-02 3:52 ` [PATCH v5 5/6] media: dt-bindings: mediatek,vcodec-encoder: Add MT8196 Irui Wang
2026-03-11 23:01 ` Rob Herring (Arm)
2026-03-19 20:17 ` Nicolas Dufresne [this message]
2026-03-02 3:52 ` [PATCH v5 6/6] media: mediatek: encoder: Add MT8196 encoder compatible data Irui Wang
2026-03-19 20:23 ` [PATCH v5 0/6] Add support for MT8196 video encoder Nicolas Dufresne
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=23f0c1f7a9656562d2be6c1ef3439f484ac76f92.camel@collabora.com \
--to=nicolas.dufresne@collabora.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil-cisco@xs4all.nl \
--cc=irui.wang@mediatek.com \
--cc=krzk+dt@kernel.org \
--cc=kyrie.wu@mediatek.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=longfei.wang@mediatek.com \
--cc=maoguang.meng@mediatek.com \
--cc=matthias.bgg@gmail.com \
--cc=mchehab@kernel.org \
--cc=robh+dt@kernel.org \
--cc=tiffany.lin@mediatek.com \
--cc=wenst@chromium.org \
--cc=yunfei.dong@mediatek.com \
/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®