Skip to contentSkip to conversation

Update MT8188 OVL compatible from MT8183 to MT8195

PATCH Applied Jason-JH.Lin 4 participants 10 messages Dec 19, 2024 – Jan 3, 2025

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

v3 cover Update MT8188 OVL compatible from MT8183 to MT8195

This patch series updates the compatible strings for the MediaTek OVL in the MT8188 dts and the corresponding dt-binding.
The changes ensure that the MT8188 OVL device is correctly identified and managed by the appropriate drivers.

The first patch is adding the MT8188 compatible strings, refer to:
- https://lore.kernel.org/all/[email protected]/

The 2nd patch is resending the reviewed and acked patch from:
- https://lore.kernel.org/all/[email protected]/
and rebase it to the latest linux-next-20241212.

The 3rd and the 4th patches are updating the mt8188.dtsi and mt8195.dtsi according to the 1st patch.

---

Change in v3:
1. Add a dt-bindings ptach for MT8188 MDP3 OVL.

Change in v2:
1. Add missing mt8195 compatible in the beginning of compatible property.
2. Add fix patch to mt8195.

---

Hsiao Chien Sung (1):
dt-bindings: display: mediatek: ovl: Modify rules for MT8195/MT8188

Jason-JH.Lin (3):
dt-bindings: display: mediatek: ovl: Add compatible strings for MT8188
MDP3
dts: arm64: mediatek: mt8188: Update OVL compatible from MT8183 to

    MT8195

dts: arm64: mediatek: mt8195: Remove MT8183 compatible for OVL

 .../bindings/display/mediatek/mediatek,ovl.yaml      | 12 +++++++-----
 arch/arm64/boot/dts/mediatek/mt8188.dtsi             |  2 +-
 arch/arm64/boot/dts/mediatek/mt8195.dtsi             |  2 +-
 3 files changed, 9 insertions(+), 7 deletions(-)
Signature · 1 line
2.43.0
#1 lore raw

PATCH v3 1/4 dt-bindings: display: mediatek: ovl: Add compatible strings for MT8188 MDP3

Add compatible strings for the MDP3 OVL hardware components in MediaTek's MT8188 SoC and it is compatible with the existing MT8195 MDP OVL components.

---
 .../devicetree/bindings/display/mediatek/mediatek,ovl.yaml     | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml +3 -0
index 9ea796a033b2..33542211507f 100644
@@ -46,6 +46,9 @@ properties:
               - mediatek,mt8186-disp-ovl
               - mediatek,mt8365-disp-ovl
           - const: mediatek,mt8192-disp-ovl
+      - items:
+          - const: mediatek,mt8188-mdp3-ovl
+          - const: mediatek,mt8195-mdp3-ovl
 
   reg:
     maxItems: 1
Signature · 1 line
2.43.0
maintainer Reviewed-by on v3 1/4
#2 lore raw

Re: [PATCH v3 1/4] dt-bindings: display: mediatek: ovl: Add compatible strings for MT8188 MDP3

Il 19/12/24 19:15, Jason-JH.Lin ha scritto:

Quoted 6 lines

Add compatible strings for the MDP3 OVL hardware components in MediaTek's MT8188 SoC and it is compatible with the existing MT8195 MDP OVL components.

Waiting for an ack to take everything through the mediatek tree :-)

Cheers,
Angelo

maintainer Acked-by
#3 lore raw

Re: [PATCH v3 1/4] dt-bindings: display: mediatek: ovl: Add compatible strings for MT8188 MDP3

AngeloGioacchino Del Regno <[email protected]> 於 2024年12月23日 週一 下午7:12寫道:

Quoted 6 lines

Il 19/12/24 19:15, Jason-JH.Lin ha scritto:

Quoted 4 lines

Add compatible strings for the MDP3 OVL hardware components in MediaTek's MT8188 SoC and it is compatible with the existing MT8195 MDP OVL components.

Quoted 6 lines
Quoted 2 lines

Waiting for an ack to take everything through the mediatek tree :-)

Quoted 4 lines

Cheers,
Angelo

Acked-by on v3 1/4
#4 lore raw

Re: [PATCH v3 1/4] dt-bindings: display: mediatek: ovl: Add compatible strings for MT8188 MDP3

In reply to Jason-JH.Lin
Quoted 9 lines · Jason-JH.Lin

Add compatible strings for the MDP3 OVL hardware components in MediaTek's MT8188 SoC and it is compatible with the existing MT8195 MDP OVL components.

---
 .../devicetree/bindings/display/mediatek/mediatek,ovl.yaml     | 3 +++
 1 file changed, 3 insertions(+)

Best regards,
Krzysztof

#5 lore raw

PATCH v3 2/4 dt-bindings: display: mediatek: ovl: Modify rules for MT8195/MT8188

In reply to Jason-JH.Lin

From: Hsiao Chien Sung <[email protected]>

Modify rules for both MT8195 and MT8188. Hardware capabilities include color formats and AFBC are changed since MT8195, stop using the settings of MT8183.

---
 .../bindings/display/mediatek/mediatek,ovl.yaml          | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml +4 -5
index 33542211507f..4f110635afb6 100644
@@ -26,6 +26,7 @@ properties:
           - mediatek,mt8173-disp-ovl
           - mediatek,mt8183-disp-ovl
           - mediatek,mt8192-disp-ovl
+          - mediatek,mt8195-disp-ovl
           - mediatek,mt8195-mdp3-ovl
       - items:
           - enum:
@@ -36,16 +37,14 @@ properties:
           - enum:
               - mediatek,mt6795-disp-ovl
           - const: mediatek,mt8173-disp-ovl
-      - items:
-          - enum:
-              - mediatek,mt8188-disp-ovl
-              - mediatek,mt8195-disp-ovl
-          - const: mediatek,mt8183-disp-ovl
       - items:
           - enum:
               - mediatek,mt8186-disp-ovl
               - mediatek,mt8365-disp-ovl
           - const: mediatek,mt8192-disp-ovl
+      - items:
+          - const: mediatek,mt8188-disp-ovl
+          - const: mediatek,mt8195-disp-ovl
       - items:
           - const: mediatek,mt8188-mdp3-ovl
           - const: mediatek,mt8195-mdp3-ovl
Signature · 1 line
2.43.0
maintainer Acked-by on v3 2/4
#6 lore raw

Re: [PATCH v3 2/4] dt-bindings: display: mediatek: ovl: Modify rules for MT8195/MT8188

Jason-JH.Lin <[email protected]> 於 2024年12月20日 週五 上午2:15寫道:

Quoted 6 lines

From: Hsiao Chien Sung <[email protected]>

Modify rules for both MT8195 and MT8188. Hardware capabilities include color formats and AFBC are changed since MT8195, stop using the settings of MT8183.

Quoted 45 lines
---
 .../bindings/display/mediatek/mediatek,ovl.yaml          | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml +4 -6
index 33542211507f..4f110635afb6 100644
@@ -26,6 +26,7 @@ properties:
           - mediatek,mt8173-disp-ovl
           - mediatek,mt8183-disp-ovl
           - mediatek,mt8192-disp-ovl
+          - mediatek,mt8195-disp-ovl
           - mediatek,mt8195-mdp3-ovl
       - items:
           - enum:
@@ -36,16 +37,14 @@ properties:
           - enum:
               - mediatek,mt6795-disp-ovl
           - const: mediatek,mt8173-disp-ovl
-      - items:
-          - enum:
-              - mediatek,mt8188-disp-ovl
-              - mediatek,mt8195-disp-ovl
-          - const: mediatek,mt8183-disp-ovl
       - items:
           - enum:
               - mediatek,mt8186-disp-ovl
               - mediatek,mt8365-disp-ovl
           - const: mediatek,mt8192-disp-ovl
+      - items:
+          - const: mediatek,mt8188-disp-ovl
+          - const: mediatek,mt8195-disp-ovl
       - items:
           - const: mediatek,mt8188-mdp3-ovl
           - const: mediatek,mt8195-mdp3-ovl
--

2.43.0

#7 lore raw

PATCH v3 3/4 dts: arm64: mediatek: mt8188: Update OVL compatible from MT8183 to MT8195

In reply to Jason-JH.Lin

The OVL hardware capabilities have changed starting from MT8195, making the MT8183 compatible no longer applicable. Therefore, it is necessary to update the OVL compatible from MT8183 to MT8195.

---
 arch/arm64/boot/dts/mediatek/mt8188.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt8188.dtsi +1 -1
index faccc7f16259..23ec3ff6cad9 100644
@@ -2488,7 +2488,7 @@ jpeg_decoder: jpeg-decoder@1a040000 {
 		};
 
 		ovl0: ovl@1c000000 {
-			compatible = "mediatek,mt8188-disp-ovl", "mediatek,mt8183-disp-ovl";
+			compatible = "mediatek,mt8188-disp-ovl", "mediatek,mt8195-disp-ovl";
 			reg = <0 0x1c000000 0 0x1000>;
 			clocks = <&vdosys0 CLK_VDO0_DISP_OVL0>;
 			interrupts = <GIC_SPI 636 IRQ_TYPE_LEVEL_HIGH 0>;
Signature · 1 line
2.43.0
#8 lore raw

PATCH v3 4/4 dts: arm64: mediatek: mt8195: Remove MT8183 compatible for OVL

In reply to Jason-JH.Lin

The OVL hardware capabilities have changed starting from MT8195, making the MT8183 compatible no longer applicable. Therefore, it is necessary to remove the MT8183 compatible for OVL.

---
 arch/arm64/boot/dts/mediatek/mt8195.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt8195.dtsi +1 -1
index ade685ed2190..137ee8929e01 100644
@@ -3138,7 +3138,7 @@ larb20: larb@1b010000 {
 		};
 
 		ovl0: ovl@1c000000 {
-			compatible = "mediatek,mt8195-disp-ovl", "mediatek,mt8183-disp-ovl";
+			compatible = "mediatek,mt8195-disp-ovl";
 			reg = <0 0x1c000000 0 0x1000>;
 			interrupts = <GIC_SPI 636 IRQ_TYPE_LEVEL_HIGH 0>;
 			power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
Signature · 1 line
2.43.0
maintainer Applied
#9 lore raw
In reply to Jason-JH.Lin
Quoted 9 lines · Jason-JH.Lin

This patch series updates the compatible strings for the MediaTek OVL in the MT8188 dts and the corresponding dt-binding.
The changes ensure that the MT8188 OVL device is correctly identified and managed by the appropriate drivers.

The first patch is adding the MT8188 compatible strings, refer to:
- https://lore.kernel.org/all/[email protected]/

[...]

Applied to v6.13-next/dts64, thanks!

[1/4] dt-bindings: display: mediatek: ovl: Add compatible strings for MT8188 MDP3

      commit: eb27e8d75b83c0781eb330f356d4442177674e74
[2/4] dt-bindings: display: mediatek: ovl: Modify rules for MT8195/MT8188
      commit: 5ecd1e700b67b33fac1a48d86fea124b6c19d052
[3/4] dts: arm64: mediatek: mt8188: Update OVL compatible from MT8183 to MT8195
      commit: 7c791dc2cb62f8ec523872108c8a8c718512c218
[4/4] dts: arm64: mediatek: mt8195: Remove MT8183 compatible for OVL
      commit: f72561bf756baba4ab300bfc728fefd85c67913e

Cheers,
Angelo