The gamma LUT setting of MT8188 and MT8195 are the same, so we create
a one of items for MT8188 to reuse the driver data settings of MT8195.
Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
.../devicetree/bindings/display/mediatek/mediatek,gamma.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml
index ef1f575757f6..b8b8e83ebc3f 100644
--- a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml
+++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml
@@ -36,6 +36,10 @@ properties:
- mediatek,mt8192-disp-gamma
- mediatek,mt8195-disp-gamma
- const: mediatek,mt8183-disp-gamma
+ - items:
+ - enum:
+ - mediatek,mt8188-disp-gamma
+ - const: mediatek,mt8195-disp-gamma
reg:
maxItems: 1
--
2.18.0
Hi, Jason: On Thu, 2024-02-29 at 22:48 +0800, Jason-JH.Lin wrote: > The gamma LUT setting of MT8188 and MT8195 are the same, so we create > a one of items for MT8188 to reuse the driver data settings of > MT8195. Reviewed-by: CK Hu <ck.hu@mediatek.com> > > Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com> > Reviewed-by: AngeloGioacchino Del Regno < > angelogioacchino.delregno@collabora.com> > --- > .../devicetree/bindings/display/mediatek/mediatek,gamma.yaml | 4 > ++++ > 1 file changed, 4 insertions(+) > > diff --git > a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.y > aml > b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.y > aml > index ef1f575757f6..b8b8e83ebc3f 100644 > --- > a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.y > aml > +++ > b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.y > aml > @@ -36,6 +36,10 @@ properties: > - mediatek,mt8192-disp-gamma > - mediatek,mt8195-disp-gamma > - const: mediatek,mt8183-disp-gamma > + - items: > + - enum: > + - mediatek,mt8188-disp-gamma > + - const: mediatek,mt8195-disp-gamma > > reg: > maxItems: 1
On 29/02/2024 15:48, Jason-JH.Lin wrote: > The gamma LUT setting of MT8188 and MT8195 are the same, so we create > a one of items for MT8188 to reuse the driver data settings of MT8195. > > Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com> > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > --- > .../devicetree/bindings/display/mediatek/mediatek,gamma.yaml | 4 ++++ Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
© 2016 - 2024 Red Hat, Inc.