From patchwork Thu Feb 29 02:35:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?SmFzb24tSkggTGluICjmnpfnnb/npaUp?= X-Patchwork-Id: 208170 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp136445dyb; Wed, 28 Feb 2024 18:36:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWcIiMN5MdH75JAun1fNROOq7QRTOwunn6ey34hKBwHQJGXg7mTHugY/Zea3Nrl9n1DyztFPrpE6iEXsWg5BLYwU16B6g== X-Google-Smtp-Source: AGHT+IHXDy5sVeGzJNCFKi/LNdbN7S8GWSd14SEl/y6Sql5lTpCa1e//DxZm8Y4NoPkXUSHoVhL0 X-Received: by 2002:a05:6358:1226:b0:17b:b52c:c121 with SMTP id h38-20020a056358122600b0017bb52cc121mr1536057rwi.13.1709174198165; Wed, 28 Feb 2024 18:36:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709174198; cv=pass; d=google.com; s=arc-20160816; b=zS3xwXk7paZwOoxSUo0uj08IIjlyhG76ZT7fbgRgVRFKbmndJqcP8eN96xEbkEi2ck Y+rW0QfEnpaDmiIlmA4rgEoTBxs5XphwobeWrx099h56aaSGs6g9RYJBSVsKNlbzzTti 8l9LwAucLJG4GZd3AWbjeg/EFQf7AFjczjf2uK+RsS/9OPLdpLT67uY1kJUlkatFzSIm AF22mfMyZer3ckDmgQIJl/daSDNhQlHvlKcdmh7JZQqUVP2oGZl48GekkxfBLrygqsyE GluyyWWSRcs11uKe5yQNAJ8ztApiQ+u+EfUWgIeCVxWzwUVJd7KCRy1LMFWMQvzZ+Uv7 /ZpQ== 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=siodBAxe3jUCZrekllMPYZtT9MUfipocRXBozlziOE8=; fh=R656t2Juo3+35oIIiKW0xH8vRDW3betM8fKUI0ADTfc=; b=mAwGw2V7/oAwgcQ4MdZb2bJHMjfNU2kmMxOlyNoRWDXpWhYy6m0fbWsU2Nxh9Mr//O I4iv+1mNhZGN1b+KZnc56T+WhQygYi7IszlfIWmgbzPYoXjxXtWDwdz5i/muPefYMuWR AUY30WtKO6WS3ZMMSr0Dw+odWSZnoNDqTsGqJ3Khl94xvY/xgFHvNRLbHtG8b0Rvgbk5 VUw8FXpOEJCl03V8c90nkH1bLRRrukAAUhtwOMgu0UtKdRoccSQDPjOA1PlLV30EnrD/ A9fEHt518tSCXWXAcJHvfqbPdCYHz5xR4xlMYey6HGgRW5QUQReWmicHApcG8MBwb/Rc ru7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=A8YcOTyF; 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-86052-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86052-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 q2-20020a056214194200b0068fe4a98535si484638qvk.559.2024.02.28.18.36.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 18:36:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86052-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=A8YcOTyF; 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-86052-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86052-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 ECA311C21245 for ; Thu, 29 Feb 2024 02:36:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB9A03A1CD; Thu, 29 Feb 2024 02:35:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="A8YcOTyF" 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 1703D376E1; Thu, 29 Feb 2024 02:35:38 +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=1709174141; cv=none; b=NawaS1qfHscLH8kqQ0bY1itgsxEG2fMScafGUaOgQh0afEyyjgtzCI6A4TtR+grmYOo4o3eVTp5GleFmK8Y97Aox3GuCP5IM4ukSe1IfSboybDyf9q+aDQ+P5egM5i8yADEiI3zwYaog8ZjfTytwMfFfzdUytd9/wiFP8WCKOwo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709174141; c=relaxed/simple; bh=DEJVmXvo6At2KdWVj+pMijxpweSuAOBybt4Kn54ieRg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=s45T7WWgZ7Yuf+vkSSGxbPGF5CtBAJkgor1DFZO9x7UV3XVbbqJGVL9RVbB9dGrQRCwG5R76jXZ8cvXhBfzaS4UP+28wEuvuB3GDQk+HQ8pnEbhCNXWAS5fKgeEC3zK5pC1b5IATZa5PrCJ2r2npvKwvlhiTPTWpNcxXlwCCgBo= 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=A8YcOTyF; 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: 32544148d6ab11ee935d6952f98a51a9-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=siodBAxe3jUCZrekllMPYZtT9MUfipocRXBozlziOE8=; b=A8YcOTyFl4kBo/wJlvI6NJ38kGOcdYNkEg+O5zzaq4nejcNeXWCfZzqoboC2IFC/7kD+ymHomA00hWigOGSB40W76AKhnX7WQhFkCrDTmm6GYjPbJjBz15fr6MCwqMvPcY5saaGtao6mfAkC0fQ59ygycOExrLWDDPJ1L6x7zCo=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:c976b97c-2ee2-4313-823b-28ac563e1edd,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:ed016e84-8d4f-477b-89d2-1e3bdbef96d1,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: 32544148d6ab11ee935d6952f98a51a9-20240229 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 971676650; 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 To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Chun-Kuang Hu CC: , , , , , , , Jason-ch Chen , Johnson Wang , "Jason-JH . Lin" , Singo Chang , "Nancy Lin" , Shawn Sung , , Fei Shao Subject: [PATCH 1/3] dt-bindings: display: mediatek: gamma: Change MT8195 to single enum group Date: Thu, 29 Feb 2024 10:35:20 +0800 Message-ID: <20240229023522.15870-2-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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10-0.572500-8.000000 X-TMASE-MatchedRID: oTn/OBj9AQ9nI6of4eefuQPZZctd3P4Bw8djaG0FrZu+pmoxzV3exqPF jJEFr+olwXCBO/GKkVr3FLeZXNZS4IzHo47z5Aa+gVKopVj7xjuRonGTfTkJZD4EzjOU/EVrj9s GszqT+V0l8T+a+xOPOoqQ9E/6HR7c2mNZXsYhBSMeg2EPxk5i2qr2rQs5XG7QeZUpm6wun3ba/0 6NhYDa4wyzCDjlUx89p2y3mIB+it/DyDYcE1wXmQ== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10-0.572500-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: D227AF03FD96C1C6792B7CFC21F09EC2EDF623B826802693F40BCA39B067FE412000:8 X-MTK: N X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792199043683174988 X-GMAIL-MSGID: 1792199043683174988 Since MT8195 gamma has multiple bank for 12 bits LUT and it is different from any other SoC LUT setting. So we move MT8195 compatible from the one of items to the single enum group. Signed-off-by: Jason-JH.Lin Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,gamma.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml index c6641acd75d6..3e6cb8f48bcc 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml @@ -24,6 +24,7 @@ properties: - enum: - mediatek,mt8173-disp-gamma - mediatek,mt8183-disp-gamma + - mediatek,mt8195-disp-gamma - items: - enum: - mediatek,mt6795-disp-gamma @@ -33,7 +34,6 @@ properties: - mediatek,mt8186-disp-gamma - mediatek,mt8188-disp-gamma - mediatek,mt8192-disp-gamma - - mediatek,mt8195-disp-gamma - const: mediatek,mt8183-disp-gamma reg: From patchwork Thu Feb 29 02:35:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?SmFzb24tSkggTGluICjmnpfnnb/npaUp?= X-Patchwork-Id: 208169 Return-Path: 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 (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 ; 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 ) (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 To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Chun-Kuang Hu CC: , , , , , , , Jason-ch Chen , Johnson Wang , "Jason-JH . Lin" , Singo Chang , "Nancy Lin" , Shawn Sung , , Fei Shao 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 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 Reviewed-by: AngeloGioacchino Del Regno --- .../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 From patchwork Thu Feb 29 02:35:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?SmFzb24tSkggTGluICjmnpfnnb/npaUp?= X-Patchwork-Id: 208167 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp136178dyb; Wed, 28 Feb 2024 18:35:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXZRxMQWhT0hYaFJNtzbf4pWv7wODQf+muWF5sFxZSVmAvZuiBj8uT/LdiIFjEFKrbeVaQtQa5KlpooSSUp51vxP55SNQ== X-Google-Smtp-Source: AGHT+IHE5HuTbOD3uWjk9LIV210Whf5xDUID2hkt7JhH7UsqiYvlm+l+58l/VUroUVU31uOj+ENq X-Received: by 2002:a17:906:b43:b0:a3e:d7fe:4c4d with SMTP id v3-20020a1709060b4300b00a3ed7fe4c4dmr438070ejg.57.1709174153329; Wed, 28 Feb 2024 18:35:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709174153; cv=pass; d=google.com; s=arc-20160816; b=TE1icIhW/irTlDi12doiVTtt2XXPK+0oXIbmm3iVxBqqFi2n5tmx1jgaj/zLr+R0ds nCd5+TEnvdxpWKbxDP+qUfnIx++pIuI/FBDwSuz3zNytcfewlCVHWfKanUY8Jtzrwldl 4DlgxCEboqw9Slw1vipjGtiRLSMi/WAVyzA2YSH+i9VHE7Xzr1Boz4jQLOVEbLEIHmBO zrCV9YJPf6GG4DRDmwKBLYe/T8MWn7Dfveq13W4bDdeHBeWE2XAec+/nKTyCnuNtuTJr iR0Con7y/glEBpVzH2yBMVTkFRAQ/dqMuvp0fl5mY6VsbrH6KtpahcMgK212ncn5LglK gTTg== 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=XaVzzEKLqlVT7sak1W3gpXJYjbW2WBJmYyNteM6/XIA=; fh=Ai0mTXzI1IEpr3AXaUr5RGm8S69zHzYUPf0DW9EG7O0=; b=xysAIsXY1iyMENBAuL86trQJcI4sKLJP8B1HJuks1s9cBONfWdGplAD4Ixiowu1Xbt 9KqiYPqj3ZOdk3ZVjNleNWNUirjiVtpC19586rC1A6HaVnSrOM9u46FcLmfIZlG2F1bL zMyTlsZxCOoGKroRXsFsyfGKczA9rpCbTkp5VNUABHlh9C+0eLnHe9NwRfGWqWfvLO5w buIUyX3ZVELfTvskRsWB13tXjjQEKfhZgQbr5WZ+Vyo7pZUEPlKZhYz13LJlE1DSY1QE kAx60eIeHIp0ejZ5yQfCCz7fXNb/0geKFoBcZlmkMlhlebpM7BZ/6g2zRAIZauL0mjaB 54zA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=qzRo017Z; 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-86049-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86049-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p18-20020a1709060dd200b00a430171a385si145756eji.833.2024.02.28.18.35.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 18:35:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86049-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=qzRo017Z; 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-86049-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86049-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 am.mirrors.kernel.org (Postfix) with ESMTPS id EB31F1F22843 for ; Thu, 29 Feb 2024 02:35:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF28837169; Thu, 29 Feb 2024 02:35:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="qzRo017Z" Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) (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 8565F4C63; Thu, 29 Feb 2024 02:35:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=60.244.123.138 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709174135; cv=none; b=X4dljd7uzf4nrdqopHLUnyWJ+f8nSfQhsuH7xFAiPEX6u9aqDQqwstewcwb2MmUayUnGXk0Mnm25+pjFQpApCIKO78XIyzKGusWiuEn26L+37cm2eTB/vkqHnn/O1PDksjGTwC23AV8zP42f+oZUH9eLStf/UsahPmEarFcE5CM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709174135; c=relaxed/simple; bh=DsAyPJ37OxxoBvZR0yBQGZ3qATSDJP1looy5w/QK7K4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PtL9NbIUlagBBqRJIfHl5Xfp/cPcTDClMMMs6xww9Feezk6SWfq8aTrcB66kjKuGhjUlJu/GDIAGZ0R1u0GwtxOiNdiMSKKMENfGzBD18RqdvCZQp2Lnrgzhv32ley0KNpqtjlvj0YRR1e7RtLYLvg37yLvx5bApN2vttyR7jrk= 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=qzRo017Z; arc=none smtp.client-ip=60.244.123.138 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: 31f81170d6ab11eeb8927bc1f75efef4-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=XaVzzEKLqlVT7sak1W3gpXJYjbW2WBJmYyNteM6/XIA=; b=qzRo017ZhtAtQEAEiH9V5M3Bu2iOnqoqnDxpLbNM+uLqSdIRmeMxmy7Xf7Jx0mFYFOi/4fpMqEo51gx8qKFnFP13U3HoUCS+pmGeuzQ3Zr0rttP/CJnbMYPZk1OewkrLuuK03QyUml/NubfZXehtXmrSg9fJRF+hiHbu0hIYatw=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:400ac54b-6d3f-4d38-adb7-56a2aa67a05c,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:6f543d0,CLOUDID:cbded48f-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: 31f81170d6ab11eeb8927bc1f75efef4-20240229 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 457524622; Thu, 29 Feb 2024 10:35:26 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs11n2.mediatek.inc (172.21.101.187) 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 To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Chun-Kuang Hu CC: , , , , , , , Jason-ch Chen , Johnson Wang , "Jason-JH . Lin" , Singo Chang , Nancy Lin , Shawn Sung , , Fei Shao Subject: [PATCH 3/3] drm/mediatek: Add gamma support for MT8195 Date: Thu, 29 Feb 2024 10:35:22 +0800 Message-ID: <20240229023522.15870-4-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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MTK: N X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792198997074532030 X-GMAIL-MSGID: 1792198997074532030 Since MT8195 compatible is in the single enum group, we have to add its compatible into mediatek-drm component binding table to ensure that it can be bound as a ddp_comp. Signed-off-by: Jason-JH.Lin Reviewed-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 14a1e0157cc4..93303bff8f34 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -707,6 +707,8 @@ static const struct of_device_id mtk_ddp_comp_dt_ids[] = { .data = (void *)MTK_DISP_GAMMA, }, { .compatible = "mediatek,mt8183-disp-gamma", .data = (void *)MTK_DISP_GAMMA, }, + { .compatible = "mediatek,mt8195-disp-gamma", + .data = (void *)MTK_DISP_GAMMA, }, { .compatible = "mediatek,mt8195-disp-merge", .data = (void *)MTK_DISP_MERGE }, { .compatible = "mediatek,mt2701-disp-mutex",