Message ID | 20240229023522.15870-3-jason-jh.lin@mediatek.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-86051-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp136397dyb; Wed, 28 Feb 2024 18:36:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVyhU0k2K7WZCkXxC2H3XlXYHjEcV3i9NBmOrTtZkrbASXFq0f8iN2gRTZcv+KYGlHe1h4UGceXZFRHZvPna85mFbcTPQ== X-Google-Smtp-Source: AGHT+IHywMFoFfHoCXDjyilzCAhHZ47t6jpkFghXus/SuODzPQZVV84JZJvZautFqgi62I4MykIX X-Received: by 2002:a05:6214:130f:b0:690:34d9:3f05 with SMTP id pn15-20020a056214130f00b0069034d93f05mr1038694qvb.7.1709174191703; Wed, 28 Feb 2024 18:36:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709174191; cv=pass; d=google.com; s=arc-20160816; b=TLW/BZaRLI/thm8mI8u6q2YiZW4PZ2yT2UEWAPdJyEXD+N5nDDUK1J9tQpFnOvwPuI ysEBa8Av1AkdPXV008p+mqNgHXbo0S5qi9f3dd95Q8enqFdjwxjbSBPtpta+7Ez4TfpC PMknzNx0rXs1TT/qVo8wD4zegsholsd5htsxw3rH6dAfyoM44jZgGljalxSuj9+/1h5z 4NdlPMVTwhhzBgH1WFIgRIrYDrqEh5WAc4y/jyjP7UOI9pL0AwjwmOaJJ0pwnbGyao+C 2XYu45l1tU1NjdQAor9pccOkItZUsox6pBBZyVWQn4kroXvZwCvX4e4x6Z9Yexbthi5X 7izw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yY3BIsvyZurSoEka72INcoDoWgUOVqa0yYbaYp9hEmY=; fh=R656t2Juo3+35oIIiKW0xH8vRDW3betM8fKUI0ADTfc=; b=p57PqoF5UPW60o2a1jhtF4Xo6y/Cxlktlqxa694NHCvlYl19YMIrwicW0U2h4d+oB2 wy4GYDqR5MP8204HX1H0jEOkx6eGC90KazOlKxvzcuQgbjjpu/4jbjFzn4mVBfvJDupg jYuUSSBLWNukaf3uFbKrZh65kWnXDLI+8nTZsfWqCdzTIQQzt++O62aXJXQzyNuis/TI aAhyCjtHuHhiM6yU+WalJ3vzrU7pP5G03CfZXrkX/Hm3heuGzXT0Q8OxD0hr1LpWmWlr F4SVZb9yObmsT+0InrdbFtFXHo4TGbGlJ1eDjGSoqIr0fDNNGRT9O7BdgAQNm0VH5ffB l5LQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=EjBimrhv; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-86051-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86051-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c4-20020ad45ae4000000b0068f8b839896si510427qvh.472.2024.02.28.18.36.31 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 18:36:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86051-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=EjBimrhv; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-86051-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86051-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7DF671C20D57 for <ouuuleilei@gmail.com>; Thu, 29 Feb 2024 02:36:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5EE239850; Thu, 29 Feb 2024 02:35:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="EjBimrhv" Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C613C37165; Thu, 29 Feb 2024 02:35:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.61.82.184 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709174140; cv=none; b=nGSTu2glozKh4OhIfzxewUQRzVKxYpd4VzpxOLdcHcAYaSzePuyOxlwBRyvfAlBJwaR6H6NZIxg3j4SkjOqb0atfLpwripoqYFCuoIFCOGAWycG3TC7BX8FGzcxmUTtutPOXnSeF3C7dGohj66oZ20yMFCzYzWnh8LJPpQ6YwSU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709174140; c=relaxed/simple; bh=bDjeVXUUiHTQ6nnOlMbPaJcWzFpjlF158UwTLgtwqbI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=idtj20+PUYunxeJytbYEV6argpcz0ocmJVvsvPeLThE8spSRQPo4Kkupd4jdJB9DGJ2bEStEKMGIDb2xI+dlL5j6hr32ofv1Ge9RrQXPiN5MiM+3gFGO3wtxJZhyVYwcSwDUMcLm2cihiyaKJkJ53Xlhp1i53Tl4/zKKCimx2r0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=EjBimrhv; arc=none smtp.client-ip=210.61.82.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: 3251b98cd6ab11ee935d6952f98a51a9-20240229 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=yY3BIsvyZurSoEka72INcoDoWgUOVqa0yYbaYp9hEmY=; b=EjBimrhvosm8I/WBvPLzz4EJ0lHGyj1vm70dK4xTfQc3cUk1se/dZvD7bw2KPG3ynHyVb3bS6mR36VwwAUCEx6dhY4ely6C6JMzqyWPBeNKa6VhAS3KCzfWEpK42oeBviDWllTJKpCFZSsAjXhnP25/w+UlztFCpWbF8NxNhzh4=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:3b54b072-7ab2-47b1-9ad1-6b0d56cb5add,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:6f543d0,CLOUDID:edded48f-e2c0-40b0-a8fe-7c7e47299109,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1, SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 3251b98cd6ab11ee935d6952f98a51a9-20240229 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from <jason-jh.lin@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1808635603; Thu, 29 Feb 2024 10:35:26 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Thu, 29 Feb 2024 10:35:24 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Thu, 29 Feb 2024 10:35:24 +0800 From: Jason-JH.Lin <jason-jh.lin@mediatek.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Chun-Kuang Hu <chunkuang.hu@kernel.org> CC: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-mediatek@lists.infradead.org>, <dri-devel@lists.freedesktop.org>, <linux-media@vger.kernel.org>, <linaro-mm-sig@lists.linaro.org>, Jason-ch Chen <jason-ch.chen@mediatek.com>, Johnson Wang <johnson.wang@mediatek.com>, "Jason-JH . Lin" <jason-jh.lin@mediatek.com>, Singo Chang <singo.chang@mediatek.com>, "Nancy Lin" <nancy.lin@mediatek.com>, Shawn Sung <shawn.sung@mediatek.com>, <Project_Global_Chrome_Upstream_Group@mediatek.com>, Fei Shao <fshao@chromium.org> Subject: [PATCH 2/3] dt-bindings: display: mediatek: gamma: Add support for MT8188 Date: Thu, 29 Feb 2024 10:35:21 +0800 Message-ID: <20240229023522.15870-3-jason-jh.lin@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20240229023522.15870-1-jason-jh.lin@mediatek.com> References: <20240229023522.15870-1-jason-jh.lin@mediatek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--3.030200-8.000000 X-TMASE-MatchedRID: gGgbIWz4XUwD2WXLXdz+ASoTaU3L23VCmyiLZetSf8mfop0ytGwvXiq2 rl3dzGQ1GpeevGsoI5fcD83U+dJo519LOuIDKPNTwMMuFiQfpYqAQ6d7hpjcailGPFab7EIscBQ IwYJlxh1stWZHOrXdY8IxO3dsYhCHohuAb6vFA34XRoPmWO3jekxwdkPqCq7vDEyN+J8hd+jCS9 WgDXVPCn7cGd19dSFd X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--3.030200-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: EF87E081E3C75DD9D52C5825BF7CF7DEA606A74AAE7419520C7D4768CB7EB3E22000:8 X-MTK: N X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792199037653597610 X-GMAIL-MSGID: 1792199037653597610 |
Series |
Add GAMMA 12-bit LUT support for MT8188
|
|
Commit Message
Jason-JH Lin (林睿祥)
Feb. 29, 2024, 2:35 a.m. UTC
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>
---
.../devicetree/bindings/display/mediatek/mediatek,gamma.yaml | 4 ++++
1 file changed, 4 insertions(+)
Comments
On 29/02/2024 03:35, 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> > --- > .../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 3e6cb8f48bcc..90c454eea06f 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml > @@ -29,6 +29,10 @@ properties: > - enum: > - mediatek,mt6795-disp-gamma > - const: mediatek,mt8173-disp-gamma > + - items: > + - enum: > + - mediatek,mt8188-disp-gamma > + - const: mediatek,mt8195-disp-gamma > - items: > - enum: > - mediatek,mt8186-disp-gamma Please keep this ordered by fallback compatible, so your list with 8195 fallback should go below the list here. Best regards, Krzysztof
Il 29/02/24 03:35, Jason-JH.Lin ha scritto: > 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>
Hi Krzysztof, Thanks for the reviews. On Thu, 2024-02-29 at 09:27 +0100, Krzysztof Kozlowski wrote: > > External email : Please do not click links or open attachments until > you have verified the sender or the content. > On 29/02/2024 03:35, 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> > > --- > > .../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 3e6cb8f48bcc..90c454eea06f 100644 > > --- > a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.y > aml > > +++ > b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.y > aml > > @@ -29,6 +29,10 @@ properties: > > - enum: > > - mediatek,mt6795-disp-gamma > > - const: mediatek,mt8173-disp-gamma > > + - items: > > + - enum: > > + - mediatek,mt8188-disp-gamma > > + - const: mediatek,mt8195-disp-gamma > > - items: > > - enum: > > - mediatek,mt8186-disp-gamma > > Please keep this ordered by fallback compatible, so your list with > 8195 > fallback should go below the list here. > OK, I'll move it here. Regards, Jason-JH.Lin > Best regards, > Krzysztof >
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml index 3e6cb8f48bcc..90c454eea06f 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml @@ -29,6 +29,10 @@ properties: - enum: - mediatek,mt6795-disp-gamma - const: mediatek,mt8173-disp-gamma + - items: + - enum: + - mediatek,mt8188-disp-gamma + - const: mediatek,mt8195-disp-gamma - items: - enum: - mediatek,mt8186-disp-gamma