Skip to contentSkip to conversation

dt-bindings: display: mediatek: Fix the duplicated fallback

PATCH Applied Alexandre Mergnat 3 participants 4 messages Mar 6, 2023 – Mar 13, 2023

Subsystems (5)

v3 of 5 Applied Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 dt-bindings: display: mediatek: Fix the duplicated fallback

The item which have the mediatek,mt8192-disp-ccorr const compatible already exist above. Remove duplicated fallback.

Fixes 137272ef1b0f ("dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr")

---
Fix MTK color correction binding

The fallback compatible has been duplicated in the 137272ef1b0f commit.

To: Chun-Kuang Hu <[email protected]>
To: Philipp Zabel <[email protected]>
To: David Airlie <[email protected]>
To: Daniel Vetter <[email protected]>
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Matthias Brugger <[email protected]>
To: AngeloGioacchino Del Regno <[email protected]>
To: Allen-KH Cheng <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
Changes in v3:
- Re-order compatible.
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Fix commit title.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
 .../devicetree/bindings/display/mediatek/mediatek,ccorr.yaml         | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +1 -4
index b04820c95b22..bda86e6857f5 100644
@@ -27,13 +27,10 @@ properties:
           - const: mediatek,mt8192-disp-ccorr
       - items:
           - enum:
+              - mediatek,mt8186-disp-ccorr
               - mediatek,mt8188-disp-ccorr
               - mediatek,mt8195-disp-ccorr
           - const: mediatek,mt8192-disp-ccorr
-      - items:
-          - enum:
-              - mediatek,mt8186-disp-ccorr
-          - const: mediatek,mt8192-disp-ccorr
 
   reg:
     maxItems: 1

---
base-commit: add072536971d7ce891fde3cdbf68c55e7cfa95a
change-id: 20230306-ccorr-binding-fix-718c6d725088

Best regards,

Signature · 1 line
Alexandre Mergnat <[email protected]>
Acked-by on v3 1/1
#1 lore raw
Quoted 2 lines · Alexandre Mergnat

The item which have the mediatek,mt8192-disp-ccorr const compatible already exist above. Remove duplicated fallback.

Your commit msg is really misleading - I was looking for duplicated compatible, but could not find it. You just have there unnecessary one more list in oneOf, so this could be written simpler, but no compatibles are duplicated...

Quoted 2 lines
Fixes 137272ef1b0f ("dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr")

Style issue, not a fix, because nothing is duplicated.

Quoted 5 lines

---
Fix MTK color correction binding

The fallback compatible has been duplicated in the 137272ef1b0f commit.

Best regards,
Krzysztof

maintainer Applied
#2 lore raw
In reply to Alexandre Mergnat

Hi, Alexandre:

Alexandre Mergnat <[email protected]> 於 2023年3月7日 週二 上午12:20寫道:

Quoted 3 lines

The item which have the mediatek,mt8192-disp-ccorr const compatible already exist above. Remove duplicated fallback.

Applied to mediatek-drm-next [1], thanks.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next

Regards,
Chun-Kuang.

Quoted 62 lines
Fixes 137272ef1b0f ("dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr")

---
Fix MTK color correction binding

The fallback compatible has been duplicated in the 137272ef1b0f commit.

To: Chun-Kuang Hu <[email protected]>
To: Philipp Zabel <[email protected]>
To: David Airlie <[email protected]>
To: Daniel Vetter <[email protected]>
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Matthias Brugger <[email protected]>
To: AngeloGioacchino Del Regno <[email protected]>
To: Allen-KH Cheng <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
Changes in v3:
- Re-order compatible.
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Fix commit title.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
 .../devicetree/bindings/display/mediatek/mediatek,ccorr.yaml         | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +1 -5
index b04820c95b22..bda86e6857f5 100644
@@ -27,13 +27,10 @@ properties:
           - const: mediatek,mt8192-disp-ccorr
       - items:
           - enum:
+              - mediatek,mt8186-disp-ccorr
               - mediatek,mt8188-disp-ccorr
               - mediatek,mt8195-disp-ccorr
           - const: mediatek,mt8192-disp-ccorr
-      - items:
-          - enum:
-              - mediatek,mt8186-disp-ccorr
-          - const: mediatek,mt8192-disp-ccorr
 
   reg:
     maxItems: 1
 
---

base-commit: add072536971d7ce891fde3cdbf68c55e7cfa95a
change-id: 20230306-ccorr-binding-fix-718c6d725088

Best regards,
--
Alexandre Mergnat <[email protected]>

maintainer
#3 lore raw

Hi, Alexandre:

Chun-Kuang Hu <[email protected]> 於 2023年3月13日 週一 下午10:36寫道:

Quoted 9 lines

Hi, Alexandre:

Alexandre Mergnat <[email protected]> 於 2023年3月7日 週二 上午12:20寫道:

Quoted 3 lines

The item which have the mediatek,mt8192-disp-ccorr const compatible already exist above. Remove duplicated fallback.

Applied to mediatek-drm-next [1], thanks.

It seems that Krzysztof has some comment, so I remove this patch from mediatek-drm-next [1].

Regards,
Chun-Kuang.

Quoted 68 lines

[1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next

Regards,
Chun-Kuang.

Quoted 62 lines
Fixes 137272ef1b0f ("dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr")

---
Fix MTK color correction binding

The fallback compatible has been duplicated in the 137272ef1b0f commit.

To: Chun-Kuang Hu <[email protected]>
To: Philipp Zabel <[email protected]>
To: David Airlie <[email protected]>
To: Daniel Vetter <[email protected]>
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Matthias Brugger <[email protected]>
To: AngeloGioacchino Del Regno <[email protected]>
To: Allen-KH Cheng <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
Changes in v3:
- Re-order compatible.
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Fix commit title.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
 .../devicetree/bindings/display/mediatek/mediatek,ccorr.yaml         | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +1 -5
index b04820c95b22..bda86e6857f5 100644
@@ -27,13 +27,10 @@ properties:
           - const: mediatek,mt8192-disp-ccorr
       - items:
           - enum:
+              - mediatek,mt8186-disp-ccorr
               - mediatek,mt8188-disp-ccorr
               - mediatek,mt8195-disp-ccorr
           - const: mediatek,mt8192-disp-ccorr
-      - items:
-          - enum:
-              - mediatek,mt8186-disp-ccorr
-          - const: mediatek,mt8192-disp-ccorr
 
   reg:
     maxItems: 1
 
---

base-commit: add072536971d7ce891fde3cdbf68c55e7cfa95a
change-id: 20230306-ccorr-binding-fix-718c6d725088

Best regards,
--
Alexandre Mergnat <[email protected]>