[PATCH RESEND v3 1/9] dt-bindings: mediatek: modify item formatting for gamma
Jason-JH.Lin
jason-jh.lin at mediatek.com
Sun Sep 11 18:29:58 PDT 2022
From: "zheng-yan.chen" <zheng-yan.chen at mediatek.com>
Since the items with only one const should be dedicated as enum,
merge all such items into one enum item.
Fixes: 4ed545e7d100 ("dt-bindings: display: mediatek: disp: split each block to individual yaml")
Signed-off-by: zheng-yan.chen <zheng-yan.chen at mediatek.com>
Signed-off-by: Jason-JH.Lin <jason-jh.lin at mediatek.com>
---
.../bindings/display/mediatek/mediatek,gamma.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml
index a89ea0ea7542..c3631a3e3f05 100644
--- a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml
+++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml
@@ -22,9 +22,9 @@ properties:
compatible:
oneOf:
- items:
- - const: mediatek,mt8173-disp-gamma
- - items:
- - const: mediatek,mt8183-disp-gamma
+ - enum:
+ - mediatek,mt8173-disp-gamma
+ - mediatek,mt8183-disp-gamma
- items:
- enum:
- mediatek,mt8186-disp-gamma
--
2.18.0
More information about the linux-arm-kernel
mailing list