[PATCH v10 08/14] media: dt-bindings: mediatek,vcodec-subdev-decoder: Add MT8196

From: Kyrie Wu

Date: Sat Nov 28 2026 - 02:48:59 EST


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.

MT8196 uses VCP to run the decoder firmware, so require mediatek,vcp
for MT8196 and move the mediatek,scp requirement into the condition
for the existing SoCs.

Signed-off-by: Kyrie Wu <kyrie.wu@xxxxxxxxxxxx>
Acked-by: Nicolas Dufresne <nicolas.dufresne@xxxxxxxxxxxxx>
---
.../media/mediatek,vcodec-subdev-decoder.yaml | 57 ++++++++++++++++++-
1 file changed, 56 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml
index 6033ecffd..90722552d 100644
--- a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml
+++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml
@@ -64,6 +64,7 @@ description: |
it doesn't have a dedicated interrupt.

The used video decoding pipeline architecture across various Mediatek SoC:
+ MT8196: LAT + Core
MT8195: LAT-SoC + LAT + Core
MT8192: LAT + Core
MT8188: LAT + Core
@@ -76,6 +77,7 @@ properties:
- mediatek,mt8186-vcodec-dec
- mediatek,mt8188-vcodec-dec
- mediatek,mt8195-vcodec-dec
+ - mediatek,mt8196-vcodec-dec

reg:
minItems: 1
@@ -96,6 +98,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

@@ -192,9 +199,57 @@ required:
- compatible
- reg
- iommus
- - mediatek,scp
- ranges

+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
+
+ clocks:
+ maxItems: 4
+
+ clock-names:
+ items:
+ - const: sel
+ - const: vdec
+ - const: lat
+ - const: top
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - mediatek,mt8192-vcodec-dec
+ - mediatek,mt8186-vcodec-dec
+ - mediatek,mt8188-vcodec-dec
+ - mediatek,mt8195-vcodec-dec
+
+ then:
+ required:
+ - mediatek,scp
+
+ properties:
+ mediatek,vcp: false
+
additionalProperties: false

examples:
--
2.51.0.windows.2