Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp356898rdb; Thu, 15 Feb 2024 02:12:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXfL1V6FiIkhRj3ttpyDYCnwX/bGAIlH9GxIByD4bZt8dYIM9BPiBUrvbL08HSkIQg80J240q/ui1wyT878eWju28+s2mRjssgbVJIbqA== X-Google-Smtp-Source: AGHT+IEgrIpJjJwj/+sI25GGDGO2N7G/FTn1udLm6FEiRCppwL2wH221yW6jAzyQ655OJtlSaTgn X-Received: by 2002:a05:6402:645:b0:560:5e66:694e with SMTP id u5-20020a056402064500b005605e66694emr973268edx.23.1707991961867; Thu, 15 Feb 2024 02:12:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707991961; cv=pass; d=google.com; s=arc-20160816; b=yRCMtZpXZ6BFzGhsdCg4I9u5l0cYxfndgb9y3E5IKVf+Uz9HTAd+26sNcuBu518vWi Xlt7SZtRgA0ARPiToLJGFBWbFt/gNh8QhGoVgUmOJxIpViCcS9pGJhmiHnhzP1j8Ahk0 cFKNWJmndcvRecCwhpgXw99oZ778cPTkIL4ey1d5I7T+kdYKwpFGiVZoTv0RE/1tkH9k aljiogThmQ3SfnH3uwtP2NkZ1PMt1rqNI6KMRBXajlIg92ns7KT1KMoV808KpT8Mfu5D 6WJV87OcaYEFu5Uc/Km8ugM1fCUzNb0URpsKLPRG/ks/oLLNGV5rXXXF8G/gn1Jscm2z Xitg== 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=j2PUb2FOAEIMk7MkRhuGPiTn5JVd27Vx1Ioy8tgssgE=; fh=PWpMUFySz/+abNBcZMGAF+1x8Vi76p56GtPU1dgQSG4=; b=U+TjDsPCebp2/7acW7eS2fAl8V9TKmuYQv1MU6xR0yMbGMM6euJ6MpZ641eRGjs4Lh j8S2UHdtzaIWY/FcUS3MWnAhCWrh6/8lExLtsChi5OtN1HbjprdL0RlYG0de5FnC0RTK 5kOmn4h1mTm6mfT87jMODOa0mmPXXf8nDbYc4enqUx9WPel5eDXHpl59H140JTN1+Yzq Ghj/wJWhupatYQ/AqbZSoH07yzfkyIDcRMcbIUW/mmtLeZToFYLGfOyU9UBX4TB8v0u8 sXr4p19QVrE+7YdrUmAkZFh9O1UnYkdOoyyVBs7NbKqCvdgmoDuGHLu6+u2L3g44Jqsw KbBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Z2vpxI5T; 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-66602-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66602-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 21-20020a508e15000000b0056131842e25si506370edw.512.2024.02.15.02.12.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 02:12:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66602-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Z2vpxI5T; 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-66602-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66602-linux.lists.archive=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 9BBC11F24565 for ; Thu, 15 Feb 2024 10:12:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E92006A8A2; Thu, 15 Feb 2024 10:11:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="Z2vpxI5T" 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 E6C1269D24 for ; Thu, 15 Feb 2024 10:11:29 +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=1707991891; cv=none; b=sAH70Yki/Wl552SH9XRK80J7Z92KD+zWx7VRrLsn7XPrHtU6T80i10xL1Qsi1zsBnnaeKXzC/ega+Yeusero3mNwrAdKpjyT1gZWEBa1lSHhAD0F+yk+uCxUP+h1NjH2/o5AdUHX+CocV6qZaleYF/2ZMxL1oGV10Sjw0GdB/Sg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707991891; c=relaxed/simple; bh=gWHBDgSOTYFMxv/jwjWssvJfrKCERyo80TlI8JemzRU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DrpgwQd3Zr5S5TVbvD3kR0p4TpopFXHGRUBoslT8uAZ3iCXtRpeFmfu/1X/WoGIr3VdLnWFLjfVYabxsxttSUiRsrMag1xEJci0P5lZDUzq7gcdI7MyHTjFNGY43cVHDGVQAsbH9pi4jYmgv4rMCt3lYJbvY3ebsRqyBGGG92WU= 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=Z2vpxI5T; 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: 92515160cbea11eea2298b7352fd921d-20240215 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=j2PUb2FOAEIMk7MkRhuGPiTn5JVd27Vx1Ioy8tgssgE=; b=Z2vpxI5TVF59snb5I0tYrFLp3FZ9GWz1388FxRUGGP9Fr3p+ZltBxsPC9CWJ800OEBcorXCtwZ5ab0YEgb5zJam7z+stpvxFvptU6qeS3ZdiR9yNigOcosGngijG5y7c+y55/8ZhAU2lQyFuYMXtCoxmt7P3poydgRQWg0GLksE=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:39786f34-e60f-42a8-b9f1-e64855859b06,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:5a636b80-4f93-4875-95e7-8c66ea833d57,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:11|1,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 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_ULN X-UUID: 92515160cbea11eea2298b7352fd921d-20240215 Received: from mtkmbs14n2.mediatek.inc [(172.21.101.76)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1044946201; Thu, 15 Feb 2024 18:11:23 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by MTKMBS14N1.mediatek.inc (172.21.101.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Thu, 15 Feb 2024 18:11:21 +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; Thu, 15 Feb 2024 18:11:21 +0800 From: Hsiao Chien Sung To: AngeloGioacchino Del Regno , Chun-Kuang Hu CC: Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , Bibby Hsieh , CK Hu , Sean Paul , Fei Shao , Jason Chen , "Nancy . Lin" , , , , , Hsiao Chien Sung Subject: [PATCH v5 02/13] drm/mediatek: Add OVL compatible name for MT8195 Date: Thu, 15 Feb 2024 18:11:08 +0800 Message-ID: <20240215101119.12629-3-shawn.sung@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20240215101119.12629-1-shawn.sung@mediatek.com> References: <20240215101119.12629-1-shawn.sung@mediatek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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--4.645500-8.000000 X-TMASE-MatchedRID: GIpmbigRs3bREKzvS64+oRWCVBr+Ay986SXuwUgGH0hbKBBN5zqG8AYB 5gsbo0L8o5qw/iFKtvYBtjkcfRMmqZH0YXYnbGozFEUknJ/kEl7dB/CxWTRRu+rAZ8KTspSzEi3 RtA+MN2j5QetUecY4pjewEY3isXHskmcADZfERrb7YScvHGI+s/9aJ3Fk8P+JAthyou0E3ktMyX ZOCOvF4KWtbghw5BC9F0aD5ljt43pMcHZD6gqu7wxMjfifIXfowkvVoA11Twp+3BndfXUhXQ== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.645500-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: 5F9259228736A3FBB0D90F4767931191BAC68F2D83900545EC1D59DE3F1F260F2000:8 X-MTK: N Add OVL compatible name for MT8195. Without this commit, DRM won't work after modifying the device tree. Reviewed-by: CK Hu Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Hsiao Chien Sung --- 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 cc746de91834c..890e1e93a2227 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -762,6 +762,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", -- 2.18.0