From patchwork Tue Dec 12 12:19:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?U2hhd24gU3VuZyAo5a6L5a2d6KyZKQ==?= X-Patchwork-Id: 177302 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp7682254vqy; Tue, 12 Dec 2023 04:21:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IF47YywcXLJKfv0RVW0Bf9+AmzprVZCgs0KqIlRQOom5MADCdv7kBkpubBVmoCqxaTGXAbH X-Received: by 2002:a05:6a20:9492:b0:18f:b988:5aa1 with SMTP id hs18-20020a056a20949200b0018fb9885aa1mr2865679pzb.37.1702383673494; Tue, 12 Dec 2023 04:21:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702383673; cv=none; d=google.com; s=arc-20160816; b=mhQyCw+fWLQrGYzkBg5aWUc8mq2jJKjOt4LwIVbwQrcW9K+VB4GgFYOPk80X407kKY M+gj9dYryhfbA1qWe9EnSQnRZamSQMuUYRXZa97MJ5j7lGZE3MI4/v6PdFZzS2OIKB6G aW+1okisR7LsIeDNJ4GOExrQ67lnwS2iDb7Um//4ef+QRT8fX/Z4WwukuTGzMNwHlOzH YWqZaT5hl0vsvR0RTyy1uPv2k6y6FeDtw9XVjgh3p/9g85pYOziwUZAGOmZ1RaS/Q1Kl 0SG28j3uYghY/VpMcQu7WCSIGaJXr3wsgKQMfoWbrbvdptEgaxmurlJhncW/0yLAG4oA 5l8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=qLWx+HZRKPvH3+Dk9QJq2Dd9wV6RcWPjJPAYx49RqJs=; fh=QYlm5YDIRnf0TNvgVsTQgUkIX+nQmf4Pag0ob76cGl4=; b=bSxTRVGfS/TwMa8IqcBxHR9yTDacjQrjXB9dR3GJ+5ouHr9nr9sV5z82lISoC9WzvJ S+kSAy84hvWY/2to7TMpXIXTlMmlIfEn2mTqVIpTTZSa+Ousfc1wvReWjqj2EZC6HTpK bInt/9O1NHMFfDP7wiiceEL/yNYiqGzDNYP7aMSmKmyxIxP4LnIrPZYhwWYE2h2xeBaV WuBfru2FDPAWfmOPFCGl3MGdA8N9kSIyKSfM/bkOJWOhIeELvUKaIOaY7glYlcQWX9yf Xm5pvcaNhz8uOmcKdZA9h+ZxNxDd1TXCU2CjwbhBbg2CQ6HqR7nvOiixQRpKGMmDuJ5j IXWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=avnwPJz1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id u24-20020a631418000000b00584b6af3b9fsi7838971pgl.524.2023.12.12.04.21.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 04:21:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=avnwPJz1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id C0DCC80A18CE; Tue, 12 Dec 2023 04:21:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346490AbjLLMUy (ORCPT + 99 others); Tue, 12 Dec 2023 07:20:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232079AbjLLMUL (ORCPT ); Tue, 12 Dec 2023 07:20:11 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D71F5FD; Tue, 12 Dec 2023 04:20:12 -0800 (PST) X-UUID: c6707abe98e811eea5db2bebc7c28f94-20231212 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=qLWx+HZRKPvH3+Dk9QJq2Dd9wV6RcWPjJPAYx49RqJs=; b=avnwPJz1GnVsr+ASIO9IR1mFQIuA9HoeCABc7j2kXioWPy3kSlrVqpAjDlk3qkpDgisUuOsopz1BGUDu1NB6KEgOlT/Vnr1AsYR8t2fdIfLPwRMcZAzplyvqj1UoTG+0of6IMBayVmIQnmQ6JtIMbFqEzud3/iJglI8j+TyLd2A=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.35,REQID:afa2bb8c-3f41-4ee8-ba6c-3349d0955466,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:5d391d7,CLOUDID:0e7d16bd-2ac7-4da2-9f94-677a477649d9,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:11|1,File: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 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_ULN X-UUID: c6707abe98e811eea5db2bebc7c28f94-20231212 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 1101473199; Tue, 12 Dec 2023 20:20:02 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) 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; Tue, 12 Dec 2023 20:20:00 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Tue, 12 Dec 2023 20:20:00 +0800 From: Hsiao Chien Sung To: AngeloGioacchino Del Regno , Chun-Kuang Hu , CK Hu CC: Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , "Krzysztof Kozlowski" , Matthias Brugger , Chen-Yu Tsai , Sean Paul , Fei Shao , Bibby Hsieh , , , , , , "Hsiao Chien Sung" Subject: [PATCH v4 04/17] drm/mediatek: Add OVL compatible name for MT8195 Date: Tue, 12 Dec 2023 20:19:44 +0800 Message-ID: <20231212121957.19231-5-shawn.sung@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20231212121957.19231-1-shawn.sung@mediatek.com> References: <20231212121957.19231-1-shawn.sung@mediatek.com> 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--5.158800-8.000000 X-TMASE-MatchedRID: GIpmbigRs3bREKzvS64+oRWCVBr+Ay986SXuwUgGH0jvnm3ZesFzgvKC 81FnsF5IThbvLLI8RvOlEtDJyVR88h8TzIzimOwP0C1sQRfQzEHEQdG7H66TyH4gKq42LRYk3IX 35wrrNuzRJKYA5zmYK99uNaKbMwndq/PWrh7GSAB+3BndfXUhXQ== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--5.158800-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: 44375C04DBE7903F73D87F3E6318336E804BBBD17EA592E22860AF42C7C3B7A82000:8 X-MTK: N X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 12 Dec 2023 04:21:04 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785078662704325293 X-GMAIL-MSGID: 1785078662704325293 Add OVL compatible name for MT8195. Without this commit, DRM won't work after modifying the device tree. Reviewed-by: CK Hu Signed-off-by: Hsiao Chien Sung 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 eecfeb8fbde1..5d551bff6b3f 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -767,6 +767,8 @@ static const struct of_device_id mtk_ddp_comp_dt_ids[] = { .data = (void *)MTK_DISP_OVL }, { .compatible = "mediatek,mt8192-disp-ovl", .data = (void *)MTK_DISP_OVL }, + { .compatible = "mediatek,mt8195-disp-ovl", + .data = (void *)MTK_DISP_OVL }, { .compatible = "mediatek,mt8183-disp-ovl-2l", .data = (void *)MTK_DISP_OVL_2L }, { .compatible = "mediatek,mt8192-disp-ovl-2l",