diff mbox series

[v1,1/3] dt-bindings: display: mediatek: Add compatibles for MT8188 MDP3

Message ID 20241218105320.38980-2-angelogioacchino.delregno@collabora.com
State New
Headers show
Series [v1,1/3] dt-bindings: display: mediatek: Add compatibles for MT8188 MDP3 | expand

Commit Message

AngeloGioacchino Del Regno Dec. 18, 2024, 10:53 a.m. UTC
Add compatible strings for the AAL, COLOR, MERGE and PADDING
hardware components found in MediaTek's MT8188 SoC.

This hardware is compatible with MT8195.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
 .../bindings/display/mediatek/mediatek,aal.yaml        |  4 ++++
 .../bindings/display/mediatek/mediatek,color.yaml      |  4 ++++
 .../bindings/display/mediatek/mediatek,merge.yaml      |  4 ++++
 .../bindings/display/mediatek/mediatek,padding.yaml    | 10 +++++++---
 4 files changed, 19 insertions(+), 3 deletions(-)

Comments

Chun-Kuang Hu Feb. 19, 2025, 1:49 p.m. UTC | #1
AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 於
2024年12月18日 週三 下午6:53寫道:
>
> Add compatible strings for the AAL, COLOR, MERGE and PADDING
> hardware components found in MediaTek's MT8188 SoC.
>
> This hardware is compatible with MT8195.

Acked-by: Chun-Kuang Hu <chunkuang.hu@mediatek.com>

>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
>  .../bindings/display/mediatek/mediatek,aal.yaml        |  4 ++++
>  .../bindings/display/mediatek/mediatek,color.yaml      |  4 ++++
>  .../bindings/display/mediatek/mediatek,merge.yaml      |  4 ++++
>  .../bindings/display/mediatek/mediatek,padding.yaml    | 10 +++++++---
>  4 files changed, 19 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml
> index cf24434854ff..1479035da409 100644
> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml
> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml
> @@ -25,6 +25,10 @@ properties:
>            - mediatek,mt8173-disp-aal
>            - mediatek,mt8183-disp-aal
>            - mediatek,mt8195-mdp3-aal
> +      - items:
> +          - enum:
> +              - mediatek,mt8188-mdp3-aal
> +          - const: mediatek,mt8195-mdp3-aal
>        - items:
>            - enum:
>                - mediatek,mt2712-disp-aal
> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml
> index 7df786bbad20..799c0b8fc1f9 100644
> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml
> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml
> @@ -27,6 +27,10 @@ properties:
>            - mediatek,mt8167-disp-color
>            - mediatek,mt8173-disp-color
>            - mediatek,mt8195-mdp3-color
> +      - items:
> +          - enum:
> +              - mediatek,mt8188-mdp3-color
> +          - const: mediatek,mt8195-mdp3-color
>        - items:
>            - enum:
>                - mediatek,mt7623-disp-color
> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml
> index dae839279950..415a25bc18fa 100644
> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml
> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml
> @@ -25,6 +25,10 @@ properties:
>            - mediatek,mt8173-disp-merge
>            - mediatek,mt8195-disp-merge
>            - mediatek,mt8195-mdp3-merge
> +      - items:
> +          - enum:
> +              - mediatek,mt8188-mdp3-merge
> +          - const: mediatek,mt8195-mdp3-merge
>        - items:
>            - const: mediatek,mt6795-disp-merge
>            - const: mediatek,mt8173-disp-merge
> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,padding.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,padding.yaml
> index be07bbdc54e3..86787866ced0 100644
> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,padding.yaml
> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,padding.yaml
> @@ -20,9 +20,13 @@ description:
>
>  properties:
>    compatible:
> -    enum:
> -      - mediatek,mt8188-disp-padding
> -      - mediatek,mt8195-mdp3-padding
> +    oneOf:
> +      - enum:
> +          - mediatek,mt8188-disp-padding
> +          - mediatek,mt8195-mdp3-padding
> +      - items:
> +          - const: mediatek,mt8188-mdp3-padding
> +          - const: mediatek,mt8195-mdp3-padding
>
>    reg:
>      maxItems: 1
> --
> 2.46.1
>
AngeloGioacchino Del Regno Feb. 19, 2025, 2:03 p.m. UTC | #2
Il 19/02/25 14:49, Chun-Kuang Hu ha scritto:
> AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 於
> 2024年12月18日 週三 下午6:53寫道:
>>
>> Add compatible strings for the AAL, COLOR, MERGE and PADDING
>> hardware components found in MediaTek's MT8188 SoC.
>>
>> This hardware is compatible with MT8195.
> 
> Acked-by: Chun-Kuang Hu <chunkuang.hu@mediatek.com>

Thanks CK, much appreciated.

Cheers!

> 
>>
>> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
>> ---
>>   .../bindings/display/mediatek/mediatek,aal.yaml        |  4 ++++
>>   .../bindings/display/mediatek/mediatek,color.yaml      |  4 ++++
>>   .../bindings/display/mediatek/mediatek,merge.yaml      |  4 ++++
>>   .../bindings/display/mediatek/mediatek,padding.yaml    | 10 +++++++---
>>   4 files changed, 19 insertions(+), 3 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml
>> index cf24434854ff..1479035da409 100644
>> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml
>> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml
>> @@ -25,6 +25,10 @@ properties:
>>             - mediatek,mt8173-disp-aal
>>             - mediatek,mt8183-disp-aal
>>             - mediatek,mt8195-mdp3-aal
>> +      - items:
>> +          - enum:
>> +              - mediatek,mt8188-mdp3-aal
>> +          - const: mediatek,mt8195-mdp3-aal
>>         - items:
>>             - enum:
>>                 - mediatek,mt2712-disp-aal
>> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml
>> index 7df786bbad20..799c0b8fc1f9 100644
>> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml
>> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml
>> @@ -27,6 +27,10 @@ properties:
>>             - mediatek,mt8167-disp-color
>>             - mediatek,mt8173-disp-color
>>             - mediatek,mt8195-mdp3-color
>> +      - items:
>> +          - enum:
>> +              - mediatek,mt8188-mdp3-color
>> +          - const: mediatek,mt8195-mdp3-color
>>         - items:
>>             - enum:
>>                 - mediatek,mt7623-disp-color
>> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml
>> index dae839279950..415a25bc18fa 100644
>> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml
>> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml
>> @@ -25,6 +25,10 @@ properties:
>>             - mediatek,mt8173-disp-merge
>>             - mediatek,mt8195-disp-merge
>>             - mediatek,mt8195-mdp3-merge
>> +      - items:
>> +          - enum:
>> +              - mediatek,mt8188-mdp3-merge
>> +          - const: mediatek,mt8195-mdp3-merge
>>         - items:
>>             - const: mediatek,mt6795-disp-merge
>>             - const: mediatek,mt8173-disp-merge
>> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,padding.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,padding.yaml
>> index be07bbdc54e3..86787866ced0 100644
>> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,padding.yaml
>> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,padding.yaml
>> @@ -20,9 +20,13 @@ description:
>>
>>   properties:
>>     compatible:
>> -    enum:
>> -      - mediatek,mt8188-disp-padding
>> -      - mediatek,mt8195-mdp3-padding
>> +    oneOf:
>> +      - enum:
>> +          - mediatek,mt8188-disp-padding
>> +          - mediatek,mt8195-mdp3-padding
>> +      - items:
>> +          - const: mediatek,mt8188-mdp3-padding
>> +          - const: mediatek,mt8195-mdp3-padding
>>
>>     reg:
>>       maxItems: 1
>> --
>> 2.46.1
>>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml
index cf24434854ff..1479035da409 100644
--- a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml
+++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml
@@ -25,6 +25,10 @@  properties:
           - mediatek,mt8173-disp-aal
           - mediatek,mt8183-disp-aal
           - mediatek,mt8195-mdp3-aal
+      - items:
+          - enum:
+              - mediatek,mt8188-mdp3-aal
+          - const: mediatek,mt8195-mdp3-aal
       - items:
           - enum:
               - mediatek,mt2712-disp-aal
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml
index 7df786bbad20..799c0b8fc1f9 100644
--- a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml
+++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml
@@ -27,6 +27,10 @@  properties:
           - mediatek,mt8167-disp-color
           - mediatek,mt8173-disp-color
           - mediatek,mt8195-mdp3-color
+      - items:
+          - enum:
+              - mediatek,mt8188-mdp3-color
+          - const: mediatek,mt8195-mdp3-color
       - items:
           - enum:
               - mediatek,mt7623-disp-color
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml
index dae839279950..415a25bc18fa 100644
--- a/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml
+++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml
@@ -25,6 +25,10 @@  properties:
           - mediatek,mt8173-disp-merge
           - mediatek,mt8195-disp-merge
           - mediatek,mt8195-mdp3-merge
+      - items:
+          - enum:
+              - mediatek,mt8188-mdp3-merge
+          - const: mediatek,mt8195-mdp3-merge
       - items:
           - const: mediatek,mt6795-disp-merge
           - const: mediatek,mt8173-disp-merge
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,padding.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,padding.yaml
index be07bbdc54e3..86787866ced0 100644
--- a/Documentation/devicetree/bindings/display/mediatek/mediatek,padding.yaml
+++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,padding.yaml
@@ -20,9 +20,13 @@  description:
 
 properties:
   compatible:
-    enum:
-      - mediatek,mt8188-disp-padding
-      - mediatek,mt8195-mdp3-padding
+    oneOf:
+      - enum:
+          - mediatek,mt8188-disp-padding
+          - mediatek,mt8195-mdp3-padding
+      - items:
+          - const: mediatek,mt8188-mdp3-padding
+          - const: mediatek,mt8195-mdp3-padding
 
   reg:
     maxItems: 1