Message ID | 20230306-ccorr-binding-fix-v3-0-7877613a35cb@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v3] dt-bindings: display: mediatek: Fix the duplicated fallback | expand |
On 06/03/2023 17:20, Alexandre Mergnat wrote: > 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... > > Fixes: 137272ef1b0f ("dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr") Style issue, not a fix, because nothing is duplicated. > Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> > --- > Fix MTK color correction binding > > The fallback compatible has been duplicated in the 137272ef1b0f commit. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
Hi, Alexandre: Alexandre Mergnat <amergnat@baylibre.com> 於 2023年3月7日 週二 上午12:20寫道: > > 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. > > Fixes: 137272ef1b0f ("dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr") > Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> > --- > Fix MTK color correction binding > > The fallback compatible has been duplicated in the 137272ef1b0f commit. > > To: Chun-Kuang Hu <chunkuang.hu@kernel.org> > To: Philipp Zabel <p.zabel@pengutronix.de> > To: David Airlie <airlied@gmail.com> > To: Daniel Vetter <daniel@ffwll.ch> > To: Rob Herring <robh+dt@kernel.org> > To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> > To: Matthias Brugger <matthias.bgg@gmail.com> > To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > To: Allen-KH Cheng <allen-kh.cheng@mediatek.com> > Cc: Rob Herring <robh@kernel.org> > Cc: dri-devel@lists.freedesktop.org > Cc: linux-mediatek@lists.infradead.org > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > --- > Changes in v3: > - Re-order compatible. > - Link to v2: https://lore.kernel.org/r/20230306-ccorr-binding-fix-v2-0-4822939a837d@baylibre.com > > Changes in v2: > - Fix commit title. > - Link to v1: https://lore.kernel.org/r/20230306-ccorr-binding-fix-v1-0-177d81d60c69@baylibre.com > --- > .../devicetree/bindings/display/mediatek/mediatek,ccorr.yaml | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml > index b04820c95b22..bda86e6857f5 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml > @@ -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 <amergnat@baylibre.com>
Hi, Alexandre: Chun-Kuang Hu <chunkuang.hu@kernel.org> 於 2023年3月13日 週一 下午10:36寫道: > > Hi, Alexandre: > > Alexandre Mergnat <amergnat@baylibre.com> 於 2023年3月7日 週二 上午12:20寫道: > > > > 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. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next > > Regards, > Chun-Kuang. > > > > > Fixes: 137272ef1b0f ("dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr") > > Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> > > --- > > Fix MTK color correction binding > > > > The fallback compatible has been duplicated in the 137272ef1b0f commit. > > > > To: Chun-Kuang Hu <chunkuang.hu@kernel.org> > > To: Philipp Zabel <p.zabel@pengutronix.de> > > To: David Airlie <airlied@gmail.com> > > To: Daniel Vetter <daniel@ffwll.ch> > > To: Rob Herring <robh+dt@kernel.org> > > To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> > > To: Matthias Brugger <matthias.bgg@gmail.com> > > To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > > To: Allen-KH Cheng <allen-kh.cheng@mediatek.com> > > Cc: Rob Herring <robh@kernel.org> > > Cc: dri-devel@lists.freedesktop.org > > Cc: linux-mediatek@lists.infradead.org > > Cc: devicetree@vger.kernel.org > > Cc: linux-kernel@vger.kernel.org > > Cc: linux-arm-kernel@lists.infradead.org > > --- > > Changes in v3: > > - Re-order compatible. > > - Link to v2: https://lore.kernel.org/r/20230306-ccorr-binding-fix-v2-0-4822939a837d@baylibre.com > > > > Changes in v2: > > - Fix commit title. > > - Link to v1: https://lore.kernel.org/r/20230306-ccorr-binding-fix-v1-0-177d81d60c69@baylibre.com > > --- > > .../devicetree/bindings/display/mediatek/mediatek,ccorr.yaml | 5 +---- > > 1 file changed, 1 insertion(+), 4 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml > > index b04820c95b22..bda86e6857f5 100644 > > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml > > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml > > @@ -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 <amergnat@baylibre.com>
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml index b04820c95b22..bda86e6857f5 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml @@ -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
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") Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> --- Fix MTK color correction binding The fallback compatible has been duplicated in the 137272ef1b0f commit. To: Chun-Kuang Hu <chunkuang.hu@kernel.org> To: Philipp Zabel <p.zabel@pengutronix.de> To: David Airlie <airlied@gmail.com> To: Daniel Vetter <daniel@ffwll.ch> To: Rob Herring <robh+dt@kernel.org> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> To: Matthias Brugger <matthias.bgg@gmail.com> To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: Allen-KH Cheng <allen-kh.cheng@mediatek.com> Cc: Rob Herring <robh@kernel.org> Cc: dri-devel@lists.freedesktop.org Cc: linux-mediatek@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org --- Changes in v3: - Re-order compatible. - Link to v2: https://lore.kernel.org/r/20230306-ccorr-binding-fix-v2-0-4822939a837d@baylibre.com Changes in v2: - Fix commit title. - Link to v1: https://lore.kernel.org/r/20230306-ccorr-binding-fix-v1-0-177d81d60c69@baylibre.com --- .../devicetree/bindings/display/mediatek/mediatek,ccorr.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) --- base-commit: add072536971d7ce891fde3cdbf68c55e7cfa95a change-id: 20230306-ccorr-binding-fix-718c6d725088 Best regards,