From patchwork Fri Nov 4 14:09:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Ranquet X-Patchwork-Id: 13032122 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8850CC433FE for ; Fri, 4 Nov 2022 14:36:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fvKVBCfB10ahrybPakmyvmB+4Q303+naF/jZJCkuwh8=; b=qbGNsBDcr4d9XW mdlzySiwkx3NtwwgjVzNyU4/aeQRCQpe0mHt4NyftnmwxKcWA5j6V1hba5A5i7oxOFg4b+uat8jVm GmiLa+CLKXJTXaCpc+FSrQVbUPyuSeuIdS92zhFIhOZ/HO0aSjf1W6KgZRnNCTSHYrhxZ8xXmt/GN BocpU5qsg7rO3ZTpPdnEsibKvn8TtwOov1k5QYkd34910Qg2RJya3NIT/AepwAAeM3LosUGQxCIvn hyUu2+5t9ZaBTrrZe+H1MUPw9D6XjTchitpY+U4tw6CjEmyH3lRTSRf7w34f4fC+zBlOdF9yYF2oD DhRwMwzJIGP/zTawGrcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqxn6-0041bo-O7; Fri, 04 Nov 2022 14:35:28 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqxn1-0041Uo-Nm for linux-arm-kernel@bombadil.infradead.org; Fri, 04 Nov 2022 14:35:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Cc:To:In-Reply-To:References:Message-Id :Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From:Sender :Reply-To:Content-ID:Content-Description; bh=tVeGkGwr3GPdeR7i1EiSinttHW7VHiK035a7xfUpheg=; b=kPkX8LAuHFu7FfzablD7QO/dCs YnVvl6TMN+c34OkB1Ao2x4tgB63E4zPXJb8+6bCKnIBoAN9G5l6zHajk0wtwHQHPyR07fcm4A9A5u vpCXLGnNX86CqcgC0HP9RbdRYFhxcgiEc829XHnKbJG3ZZvCM40u+l0dz+BVJVTZWhuHlVQo2TpUM qUcQMk6EdPVuhRO1BeG3ReHqoyPr3xmLrwMMWovwEwKPmVRZLeE0vuCF4junXw0g/IsnetOh9dYZ6 iacU81mrJ/yAs+4gN+dvxRmqC9VgVMSaj+P/902uvmzby3NOJJxTSpzVf5adCebpfeUgHIxsRf1mx UR/REvzQ==; Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by casper.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqxT1-007Ppr-Vu for linux-arm-kernel@lists.infradead.org; Fri, 04 Nov 2022 14:14:48 +0000 Received: by mail-wr1-x431.google.com with SMTP id w14so7227209wru.8 for ; Fri, 04 Nov 2022 07:14:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=tVeGkGwr3GPdeR7i1EiSinttHW7VHiK035a7xfUpheg=; b=RCyBPJvwhOLCj3/RNokf2JgooAwJHyvwVSCM4BwunHJzPhtOJ+SzN1fHjOfDHEEXHQ Nl2GB0ZYTF37W75Vuk5Y6W+JulQXsQVyHvbSGUdcdgc5GDVr1g7q3HtKQy6d4FayZ9v9 qRRlKVKKmJOQ1Gq2ZVn/nkN+0QrQzLAMp61xAfPFGhiAOpwC3EafcseuFNslK+2WC7OU eElhNkMrjNfLwYBnas75Xnya45p6jl07sGY1JFq6+LjWccvUqXgJeAI2K9SmpvmxzHDp xZadrFGOJPXBhFaBl36XHSwx3z1gC4jlaef/IKvmFuo28U76lUPMkgA7CmuT8mqJ2tCJ YM/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tVeGkGwr3GPdeR7i1EiSinttHW7VHiK035a7xfUpheg=; b=qyjaih4K2xqTeZg9v4exG4JOxgrQIm2eUZrYaeZKprrtfJBdSc71W7rDlOLZwfT/8G QmvukuZCWlSkHBe4MTc7leJ9ff9HE71QiSsbF7JTGRhCXHSTwCNFmQf93jMCMDwn2PgM 03FRrPLdCvi32BF2grpSay78xECEiHpZd4/X23Qhv6tTM8pXQGJbZWpQukDK9Szwk8ZP c+SifY61Ekp3rIdH23pPNdtRSVUlb7cduq7UeQgO73touf/+GOALY4ySJkdZPskaf/cZ dzLYMDB0eXv1WSEIlKyqxJVqF/j04odZCWF6wkWxUPUwdc9CmAYemO+sDpjKCuEU6MrZ HAPg== X-Gm-Message-State: ACrzQf1xfcI1HdhMtib1r+CYyYjIv3+mQpw5TEn1rWcsqgdjelFYlJAQ 8xMSJQhKi6vs/FuedY5lW0MHhA== X-Google-Smtp-Source: AMsMyM6m1Uze6fLYU9H4EiVlYzz8WUlNIc/+yVXsZi2Cve2/1/ya3ilrFdP+gj+QlVosCe/JR5x1/g== X-Received: by 2002:a05:6000:381:b0:236:f075:d2a9 with SMTP id u1-20020a056000038100b00236f075d2a9mr9823911wrf.65.1667571269624; Fri, 04 Nov 2022 07:14:29 -0700 (PDT) Received: from [127.0.0.1] (2a02-8440-6440-7fff-3074-96af-9642-0003.rev.sfr.net. [2a02:8440:6440:7fff:3074:96af:9642:3]) by smtp.gmail.com with ESMTPSA id bj9-20020a0560001e0900b002365cd93d05sm3594512wrb.102.2022.11.04.07.14.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Nov 2022 07:14:29 -0700 (PDT) From: Guillaume Ranquet Date: Fri, 04 Nov 2022 15:09:58 +0100 Subject: [PATCH v3 12/12] drm/mediatek: dpi: Add mt8195 hdmi to DPI driver MIME-Version: 1.0 Message-Id: <20220919-v3-12-a803f2660127@baylibre.com> References: <20220919-v3-0-a803f2660127@baylibre.com> In-Reply-To: <20220919-v3-0-a803f2660127@baylibre.com> To: Rob Herring , Chun-Kuang Hu , Chunfeng Yun , Jitao shi , Matthias Brugger , Vinod Koul , CK Hu , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Philipp Zabel , Kishon Vijay Abraham I Cc: Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, stuart.lee@mediatek.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, AngeloGioacchino Del Regno , linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, Guillaume Ranquet , mac.shen@mediatek.com, linux-phy@lists.infradead.org X-Mailer: b4 0.11.0-dev X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221104_141444_067134_B6B5EEDE X-CRM114-Status: GOOD ( 22.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the DPI1 hdmi path support in mtk dpi driver Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_dpi.c | 143 ++++++++++++++++++++++++++++++-- drivers/gpu/drm/mediatek/mtk_dpi_regs.h | 5 ++ 2 files changed, 141 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediatek/mtk_dpi.c index 508a6d994e83..8052b47042b8 100644 --- a/drivers/gpu/drm/mediatek/mtk_dpi.c +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c @@ -14,7 +14,10 @@ #include #include #include +#include #include +#include +#include #include