[PATCH v19 10/13] media: dt-bindings: mediatek,jpeg: Add mediatek, mt8196-jpgdec compatible

From: Kyrie Wu

Date: Sun Nov 15 2026 - 20:34:47 EST


Add the MT8196 JPEG decoder and decoder-core compatible strings.
Describe the child mediatek,smmu-config phandle to the dedicated JPEG
SMMU configuration syscon and require it for MT8196 decoder cores, so
the compatible and its hardware requirements are introduced together.

Signed-off-by: Kyrie Wu <kyrie.wu@xxxxxxxxxxxx>
---
.../media/mediatek,mt8195-jpegdec.yaml | 24 +++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/media/mediatek,mt8195-jpegdec.yaml b/Documentation/devicetree/bindings/media/mediatek,mt8195-jpegdec.yaml
index e5448c60e..b1dccc3c8 100644
--- a/Documentation/devicetree/bindings/media/mediatek,mt8195-jpegdec.yaml
+++ b/Documentation/devicetree/bindings/media/mediatek,mt8195-jpegdec.yaml
@@ -14,7 +14,9 @@ description:

properties:
compatible:
- const: mediatek,mt8195-jpgdec
+ enum:
+ - mediatek,mt8195-jpgdec
+ - mediatek,mt8196-jpgdec

power-domains:
maxItems: 1
@@ -44,7 +46,9 @@ patternProperties:

properties:
compatible:
- const: mediatek,mt8195-jpgdec-hw
+ enum:
+ - mediatek,mt8195-jpgdec-hw
+ - mediatek,mt8196-jpgdec-hw

reg:
maxItems: 1
@@ -69,6 +73,22 @@ patternProperties:
power-domains:
maxItems: 1

+ mediatek,smmu-config:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description:
+ Phandle to the MT8196 JPEG SMMU configuration syscon used to
+ program this decoder's GUSER_ID fields.
+
+ allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: mediatek,mt8196-jpgdec-hw
+ then:
+ required:
+ - mediatek,smmu-config
+
required:
- compatible
- reg
--
2.51.0.windows.2