Message ID | 20230306-ccorr-binding-fix-v3-0-7877613a35cb@baylibre.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1942159wrd; Mon, 6 Mar 2023 08:37:27 -0800 (PST) X-Google-Smtp-Source: AK7set8h5tiulVWlz284C+bMeqVPnbFMS1D61wA4tmkHSrgmnjD2OD4HTRp27yKLY77CjyiYGMEK X-Received: by 2002:a17:902:ce92:b0:19c:ec4f:1f0 with SMTP id f18-20020a170902ce9200b0019cec4f01f0mr15115899plg.60.1678120647514; Mon, 06 Mar 2023 08:37:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678120647; cv=none; d=google.com; s=arc-20160816; b=Yl0p3FcWmD3XUF8iqhFZOwh5fFwQEatSHQG6NmGRBXQAEJdA0YQBgh78BNO9OLRKcN ns6IDGhIt8ShspJVpCf+3LBT4qwz1I09IgGeJRibIW/HECB5yepjlgwC+07b20LfCPPv 044PBM+o1r0zMKax9PrpgLE8v9R0ibj/tfehV7x3HVV1yhxv4tMbDr3HPP57D9gtnUdE xwLuljQbFq8PCSJe4wNETrq5PuJcxsQ/3YtUGOU84lzFnl6V4t971+JV6MmHvnwv6Bv2 jwf7AqYmndjH3RumzR55lq100thB38ssmkffKnP1IFm8rMkHuwBmCFkD8NXy4DIQ5qM7 mizQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=eoT4nVEHPLKYoD5WLwLRDEbDFsrUlZVmGeWjEVeiTO8=; b=BYFUU/aCiyF2/AHQwZFZNncgtbh6B6dAVlpWNOJOv0ZST8j+BzTasreAadeExdh6Do Tk7J+e0GGfsRMYlgin5iSxhYhbSTkbc4DlCln1bHPnpmu5zkb7e8pD54NH4VernOBXcy 6a/9m8tr/OmTx1N5Ezr5OutPqAg7OQsWlxQOphOB0SOaKrcaUmaQ7sqn8hASIB3mpllQ JwU6JXjGk3yYqvWX7EZrPJL2vdxcd2yb6Yp15feTrHPWy1d5nuVUBcYHHzls2R9I2Epw zdvyiX6SI3ZAjnq6KrKWpFB9MrDY3rbjVXye7lq/WCuTQCrnjbGaNZx3MqlPmvP/vJ6e B7Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=hzaQi41E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bj7-20020a170902850700b0019a990c09b4si9243923plb.538.2023.03.06.08.37.13; Mon, 06 Mar 2023 08:37:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=hzaQi41E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230109AbjCFQX5 (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 6 Mar 2023 11:23:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230042AbjCFQX3 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Mar 2023 11:23:29 -0500 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CE276A6A for <linux-kernel@vger.kernel.org>; Mon, 6 Mar 2023 08:22:05 -0800 (PST) Received: by mail-ed1-x52c.google.com with SMTP id i34so40935215eda.7 for <linux-kernel@vger.kernel.org>; Mon, 06 Mar 2023 08:22:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678119652; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=eoT4nVEHPLKYoD5WLwLRDEbDFsrUlZVmGeWjEVeiTO8=; b=hzaQi41EnB8iABJhplSxLHLE4++NFbzDr/VciMZtMLgj4V9v5rJv60byErPcqO3CHA AHdDgnfs2Tt1F7NP2DRvbFBinSBdCDE84+bOfFCd8vdI0RWZ6iuwmXfnHK58hQWRZlAT ZHXH+TG9yOaVfcy3n7hSuXNNO4yFvz3xc2WdzV7HjICEvn5H1FSo6jB7t7D3HTdLjnBP MZ9KgxfeUJW/r/NByt57ijJ0HtndMv4upH32ZzSzmKP0LxXMO+BJB1gwR41h41HQTvvj Jqif1z+XaBFuw30n5Dh7r6C8ZP9blX1BkA/NQJXOZU/mW/Uq+l9F1VkWZQHU03GaABRw ygsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678119652; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eoT4nVEHPLKYoD5WLwLRDEbDFsrUlZVmGeWjEVeiTO8=; b=PYwFsCTzUfEa9me2wjZcV/1Y9BrOQGFmSnpXMSNV2z+0+iKoL+7EZFOKnkmbOkjZSY qjjts+bpBrvqypp6QkHvYMPOZ3Jh2T+WTuDz2EVv/Mw2KIdWyq0r4FuzYhjjVregrxgY /Q5/psgfckZvYG56xAPfFsOfSecOtRy9jQjPzky+dlqOuDLSM9KnB1UQ5oDTgyQyqIwL KHwWdaq9Kg18njJX2izkqJpQDqfZQ0PToA556Msy7kK0X9HV9mC0FonSN3YxoNwegto7 gPwX4e5dougmzq5UcOyKFw5MzXgstlegawuBSY+JcTiQjp60w2S/CX29EAvY65X4bCmJ RkmQ== X-Gm-Message-State: AO0yUKWBqPZhQo8EunxcM6URYBqnkbqtOhHIxZIOQ1Y/KJGhkCiEU+73 +8IaCgAOQpOlch2LsK3UECEt6wPk/zZTsQtRcSo= X-Received: by 2002:a17:907:98d2:b0:8af:54d0:181d with SMTP id kd18-20020a17090798d200b008af54d0181dmr9691625ejc.35.1678119651865; Mon, 06 Mar 2023 08:20:51 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id e22-20020a170906081600b008d1693c212csm4722340ejd.8.2023.03.06.08.20.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 08:20:51 -0800 (PST) From: Alexandre Mergnat <amergnat@baylibre.com> Date: Mon, 06 Mar 2023 17:20:45 +0100 Subject: [PATCH v3] dt-bindings: display: mediatek: Fix the duplicated fallback MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230306-ccorr-binding-fix-v3-0-7877613a35cb@baylibre.com> To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Rob Herring <robh+dt@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Allen-KH Cheng <allen-kh.cheng@mediatek.com>, Philipp Zabel <p.zabel@pengutronix.de>, Chun-Kuang Hu <chunkuang.hu@kernel.org> Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Alexandre Mergnat <amergnat@baylibre.com>, Rob Herring <robh@kernel.org>, linux-mediatek@lists.infradead.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=2468; i=amergnat@baylibre.com; h=from:subject:message-id; bh=23T/1fFc4VnkKyoBRTW6JwY1WrACxyhmLzCmzLaQ6ZE=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkBhLiP81CAammTNgGV2PesxvLj3jcDfR/OozCuUj8 nfi703eJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAYS4gAKCRArRkmdfjHURX2hEA CkW6J8DMjJc7a8ghMZ9f7DqlbjoFNsCh/PWv61+0EE0dw3V6Z07qe374M2dlsBJRvwdr/qWrktmwGx /ByZVgYUjAhDrRHYse5JVGh5hKhUWx3HHywgo/fuWjrFxRdsak+7Zsm3JJ121m6DXUurQ3mA7FlKez S6IImcHWq9A56o8ZCyahNR0mR0TaqNbLiTnyBVmWpfZCkTl31Vu3Xj43hUUJeck4z0+wQfEcVR01b3 O/2OV/zTCnBIDq+7xmEl4BG/JrYf7REEINpAztmeP6FV2OYMmRO3XEPZJSWNpnf8Ruu0SgZJ/5ChOk 9Sp5ITaqUe1sBPVffaJe8VKXzH+A/IRMWfluznGgxHiirKm8SAesgNrmEQw86kye6yA2+GgwafxGyn nrRR5tFCZ8t4DaEiwSctd/jKi03teV+siW5YjIxrPO8P3/UpXkziM67kxpn8dxGNuMSj5KROduuqcj lCVgZOXPYRMcxA/Ulwq1aZmz0d3xN95k5//2LRRX4I4kWIi7BAr8eOCZQ6Fsk8WBVaSBGd090gmgV+ pZYfE1h+iSREvn7+8BNGGtrhKKvyDS45bBV/5S26YScGxFA+Ki5j2WIQGslDHMdif3WixWLtlI0i9X AGby2/S/Z3KbE/rBRhj+pbMdINRMv0J/yEionIt5zHRUzdQFBnyfXOgpTjow== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759636338017745451?= X-GMAIL-MSGID: =?utf-8?q?1759637036111019946?= |
Series |
[v3] dt-bindings: display: mediatek: Fix the duplicated fallback
|
|
Commit Message
Alexandre Mergnat
March 6, 2023, 4:20 p.m. UTC
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,
Comments
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