From patchwork Fri Oct 14 15:16:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Ranquet X-Patchwork-Id: 13007153 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 5D9CFC4332F for ; Fri, 14 Oct 2022 15:46:24 +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=P2EVZDKc2b7ebj TShObUuAFHG3N8BRCiMR3mV9CIwmLsw0DHfsTjpEGh4eQsIm0HqobKu/t4bmMzCfEO+kLguiZkuBg vbY6Pm5oWkHKwHTQPqr9FGQGpTZHl6tpGlS5bzpQZ51GdoFBUkhZsF8b2KZSzhugeumUxA51UZNHR xW5YUZDGB4haE7FUDS5udWFVDQjXpN5pwqM9TfcdLJ5I5kHJduDiZ5YTXRbImM4K6DGrI1vKTLh7W qOr4QnJ0LbCjrX4usZqh2YEuxA4UF0Syh9Qb7pwdw7rBbYZAoZXFGjdeYSxqqsQMnY6F31eJ8yzbF UDpX+iP7XbLpQRu0ml6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojMsA-00FDab-Vk; Fri, 14 Oct 2022 15:45:19 +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 1ojMs8-00FDZV-Nx for linux-arm-kernel@bombadil.infradead.org; Fri, 14 Oct 2022 15:45:16 +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=JnJtnCz0POAXZbRGz2T+C0YjmJ ufoudh+uyOCAlvkux0R8QLy5TPywerW3E+V/bDsjl5F2/MQLtrFqOAmQH5988Q+Mh9D6rOQVf8S32 G0cAsg2Zwa+EwME30GJf++Y4LLpL24kYE93tzZpyMsp/kZrCAoffD5idVVxs+xQlcO7QqLuLyA1X8 qVQ6832/VpZdW+Qh+jtsOuHWIRRIaXYpLPDvKpcYW6vD3OYUDuczfYZHsa3vrOKl5LmP+c1awl8MS 4omiXIZeUKHZJol08re51XaafQ07Gc/std6GIx7HfZDnKfHq4RGZ1w1kZM5LLbEPfL5Zi/fT1IGuG 04LIbbng==; Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by casper.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojMUA-007iWJ-Ua for linux-arm-kernel@lists.infradead.org; Fri, 14 Oct 2022 15:20:34 +0000 Received: by mail-wm1-x32c.google.com with SMTP id n16-20020a05600c4f9000b003c17bf8ddecso5540373wmq.0 for ; Fri, 14 Oct 2022 08:20:25 -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=InRjgTzMx8XbJ1KgDcGDMbzPZR1VxxoUtvri/RCqT8YLh7f/82+k/7VKqOBPHZA6KE DjmoxFOo7cBXuluOxICdbZ6Nd777/hg9Rbgzx59EX75Ekfvw385ym4CpGVEIBf2rI0F4 2T57uC07p/giZ+1uIsZl1203TlTFHLp8RtmiKxiHcc+fnDKQvt7UKqiMUE4qyggyxSKP vjEcNJIOc+/1xrMJWbJmxzGjyqVshyoULY+TuQ3xUS7OlI77FshBULxX/Z1L2Ifgknua dtgtlXOtz+N8x9h9dBBY69SbeDIvb4jmXgFelp4ELOHm7B/0521zrF63l0q7oXpU2AeV 3fhQ== 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=a4vcnGIHGCTHakBYcivb0sOxQmjDttxOOslvTnWybbB8E0GHUUOV60BP77ynW8hjkQ R/2VHaeral9+5kPW7SJVxnVqAZHOWlIvuEN75IfWjQMqnJRuyZOkFEypsTzdji/nLU/G C7L0UEbCWW5JEh5glOS8/RbN4lREVz6cPiSudTH0TYmt+w9+w2B+nAty4f8NvouZYEOP i3R+0UAqSO0BTVuR4Qcn4F5yb+r0bd+Pkc4nlmgO35j1t0Cqyp8Bweic69IGoOmpO2s6 LOpA366Ci3Wwdd+p7A8VBRFeJOboZUY1L6mFwDLtd4k8U+EGcb0h6QXna2+SacKQE6Ah OIlQ== X-Gm-Message-State: ACrzQf23+drDR2v4pp5hb29QIcSAMxlsto3BGJI024AHaB/GDsyWcLjp jw3qsCQQ1IP0z1+SBZFcSST7Gw== X-Google-Smtp-Source: AMsMyM7GI20M1DkrCHHPZWF7On1eDILIzgkIsk3u76ZoQXKutoYqkqtDCydpDuEe5T/fviFsBjXNiw== X-Received: by 2002:a05:600c:1c1f:b0:3c6:bfda:d485 with SMTP id j31-20020a05600c1c1f00b003c6bfdad485mr3852252wms.59.1665760823841; Fri, 14 Oct 2022 08:20:23 -0700 (PDT) Received: from [127.0.0.1] (2a02-8440-6241-7429-3074-96af-9642-0004.rev.sfr.net. [2a02:8440:6241:7429:3074:96af:9642:4]) by smtp.gmail.com with ESMTPSA id z11-20020a05600c0a0b00b003c6bd91caa5sm2818223wmp.17.2022.10.14.08.20.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 08:20:23 -0700 (PDT) From: Guillaume Ranquet Date: Fri, 14 Oct 2022 17:16:05 +0200 Subject: [PATCH v2 12/12] drm/mediatek: dpi: Add mt8195 hdmi to DPI driver MIME-Version: 1.0 Message-Id: <20220919-v2-12-8419dcf4f09d@baylibre.com> References: <20220919-v2-0-8419dcf4f09d@baylibre.com> In-Reply-To: <20220919-v2-0-8419dcf4f09d@baylibre.com> To: Chunfeng Yun , David Airlie , Philipp Zabel , Jitao shi , CK Hu , Rob Herring , Krzysztof Kozlowski , Vinod Koul , Kishon Vijay Abraham I , Matthias Brugger , Daniel Vetter , Chun-Kuang Hu Cc: Guillaume Ranquet , stuart.lee@mediatek.com, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, AngeloGioacchino Del Regno , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , mac.shen@mediatek.com, linux-mediatek@lists.infradead.org, dri-devel@lists.freedesktop.org X-Mailer: b4 0.11.0-dev X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221014_162031_102038_D5FD408E X-CRM114-Status: GOOD ( 21.62 ) 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