]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: media: mediatek: mdp3: Add compatibles for MT8188 MDP3
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 18 Dec 2024 10:53:19 +0000 (11:53 +0100)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 15 Apr 2025 07:37:19 +0000 (09:37 +0200)
Add compatible strings for the FG, HDR, RSZ, STITCH, TCC, TDSHP
and WROT hardware components found in MediaTek's MT8188 SoC.

This hardware is compatible with MT8195.

Acked-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20241218105320.38980-3-angelogioacchino.delregno@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Documentation/devicetree/bindings/media/mediatek,mdp3-fg.yaml
Documentation/devicetree/bindings/media/mediatek,mdp3-hdr.yaml
Documentation/devicetree/bindings/media/mediatek,mdp3-rsz.yaml
Documentation/devicetree/bindings/media/mediatek,mdp3-stitch.yaml
Documentation/devicetree/bindings/media/mediatek,mdp3-tcc.yaml
Documentation/devicetree/bindings/media/mediatek,mdp3-tdshp.yaml
Documentation/devicetree/bindings/media/mediatek,mdp3-wrot.yaml

index 03f31b0090855e93b484db0903330c13ce51a104..40fda59fa8a804c2cbe19cd24ada5a596c4466d6 100644 (file)
@@ -16,8 +16,12 @@ description:
 
 properties:
   compatible:
-    enum:
-      - mediatek,mt8195-mdp3-fg
+    oneOf:
+      - enum:
+          - mediatek,mt8195-mdp3-fg
+      - items:
+          - const: mediatek,mt8188-mdp3-fg
+          - const: mediatek,mt8195-mdp3-fg
 
   reg:
     maxItems: 1
index d4609bba65787013baee1a48ef97774af8abb614..d9f926c20220d99a617da631fdb7182f032745e7 100644 (file)
@@ -16,8 +16,12 @@ description:
 
 properties:
   compatible:
-    enum:
-      - mediatek,mt8195-mdp3-hdr
+    oneOf:
+      - enum:
+          - mediatek,mt8195-mdp3-hdr
+      - items:
+          - const: mediatek,mt8188-mdp3-hdr
+          - const: mediatek,mt8195-mdp3-hdr
 
   reg:
     maxItems: 1
index f5676bec43266e11c6c27f5f13c4cfba16507a8f..8124c39d73e9a2d52e54987c541dfb4f6552a29d 100644 (file)
@@ -20,6 +20,7 @@ properties:
           - mediatek,mt8183-mdp3-rsz
       - items:
           - enum:
+              - mediatek,mt8188-mdp3-rsz
               - mediatek,mt8195-mdp3-rsz
           - const: mediatek,mt8183-mdp3-rsz
 
index d815bea29154b90967c4758986a571a097f165b9..1d8e7e202c42740bbae277bbad00a00f80f7d86f 100644 (file)
@@ -16,8 +16,12 @@ description:
 
 properties:
   compatible:
-    enum:
-      - mediatek,mt8195-mdp3-stitch
+    oneOf:
+      - enum:
+          - mediatek,mt8195-mdp3-stitch
+      - items:
+          - const: mediatek,mt8188-mdp3-stitch
+          - const: mediatek,mt8195-mdp3-stitch
 
   reg:
     maxItems: 1
index 14ea556d4f82a634410336a4b22b2b61c0ecaa95..6cff7c073ce479f8bd492d64ebc453f8146d94cb 100644 (file)
@@ -17,8 +17,12 @@ description:
 
 properties:
   compatible:
-    enum:
-      - mediatek,mt8195-mdp3-tcc
+    oneOf:
+      - enum:
+          - mediatek,mt8195-mdp3-tcc
+      - items:
+          - const: mediatek,mt8188-mdp3-tcc
+          - const: mediatek,mt8195-mdp3-tcc
 
   reg:
     maxItems: 1
index 8ab7f2d8e148fb771c0c0f0fc48c546ae425edeb..cdfa273247385a2b864bd6d65861f802c1c466f0 100644 (file)
@@ -16,8 +16,12 @@ description:
 
 properties:
   compatible:
-    enum:
-      - mediatek,mt8195-mdp3-tdshp
+    oneOf:
+      - enum:
+          - mediatek,mt8195-mdp3-tdshp
+      - items:
+          - const: mediatek,mt8188-mdp3-tdshp
+          - const: mediatek,mt8195-mdp3-tdshp
 
   reg:
     maxItems: 1
index 53a67933840256ed8220bc127443a904ed2402cd..b6269f4f9fd65f2ca336eb797e9c23557da2962a 100644 (file)
@@ -20,6 +20,7 @@ properties:
           - mediatek,mt8183-mdp3-wrot
       - items:
           - enum:
+              - mediatek,mt8188-mdp3-wrot
               - mediatek,mt8195-mdp3-wrot
           - const: mediatek,mt8183-mdp3-wrot