Skip to contentSkip to conversation

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

PATCH Superseded Alexandre Mergnat 2 participants 3 messages Mar 6, 2023 – Mar 17, 2023

Subsystems (5)

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 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 v2:
- Fix commit title.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
 Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml | 3 ---
 1 file changed, 3 deletions(-)
Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +0 -3
index b04820c95b22..3aaf44719786 100644
@@ -29,9 +29,6 @@ properties:
           - enum:
               - mediatek,mt8188-disp-ccorr
               - mediatek,mt8195-disp-ccorr
-          - const: mediatek,mt8192-disp-ccorr
-      - items:
-          - enum:
               - mediatek,mt8186-disp-ccorr
           - const: mediatek,mt8192-disp-ccorr
 

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

Best regards,

Signature · 1 line
Alexandre Mergnat <[email protected]>
maintainer
#1 lore raw
Quoted 4 lines · Alexandre Mergnat

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")

We can argue if dt-binding patches should have a fixes tag at all. Given the fact that there are so many warnings still around, I don't see any value add to backport these to stable kernel.

That said, this is defenitely no fix, as it's only a code clean-up. No warning, no bug, no functional error fixed here :)

Quoted 34 lines

---
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 v2:
- Fix commit title.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
  Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml | 3 ---
  1 file changed, 3 deletions(-)
Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +0 -0
index b04820c95b22..3aaf44719786 100644

Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml properties: · line 32

Quoted 7 lines
Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +0 -3
@@ -29,9 +29,6 @@ properties:
            - enum:
                - mediatek,mt8188-disp-ccorr
                - mediatek,mt8195-disp-ccorr
-          - const: mediatek,mt8192-disp-ccorr
-      - items:
-          - enum:
                - mediatek,mt8186-disp-ccorr

Please sort compatibles, that will allow for easier reading once we add more to the file.

Regards,
Matthias

Quoted 8 lines
Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +0 -1
            - const: mediatek,mt8192-disp-ccorr
 
 
---

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

Best regards,

#2 lore raw

Hi Matthias,

This version is outdated.
Here the last one:
https://lore.kernel.org/all/[email protected]/

Regards,
Alex

Quoted 72 lines · Matthias Brugger
Quoted 4 lines · Alexandre Mergnat

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")

We can argue if dt-binding patches should have a fixes tag at all. Given the fact that there are so many warnings still around, I don't see any value add to backport these to stable kernel.

That said, this is defenitely no fix, as it's only a code clean-up. No warning, no bug, no functional error fixed here :)

Quoted 34 lines

---
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 v2:
- Fix commit title.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
  Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml | 3 ---
  1 file changed, 3 deletions(-)
Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +0 -0
index b04820c95b22..3aaf44719786 100644

Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml properties: · line 32

Quoted 7 lines
Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +0 -3
@@ -29,9 +29,6 @@ properties:
            - enum:
                - mediatek,mt8188-disp-ccorr
                - mediatek,mt8195-disp-ccorr
-          - const: mediatek,mt8192-disp-ccorr
-      - items:
-          - enum:
                - mediatek,mt8186-disp-ccorr

Please sort compatibles, that will allow for easier reading once we add more to the file.

Regards,
Matthias

Quoted 8 lines
Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +0 -1
            - const: mediatek,mt8192-disp-ccorr
 
 
---

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

Best regards,