Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2826629rwb; Mon, 19 Sep 2022 10:30:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4x2E4pqwiwXE7OuYBz8T1oVfOhQRExwdOySfQsb1RBUcbwXrWVLat+d4i3aL2fr/snV30P X-Received: by 2002:a17:90b:164b:b0:202:d347:2512 with SMTP id il11-20020a17090b164b00b00202d3472512mr21237608pjb.185.1663608630672; Mon, 19 Sep 2022 10:30:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663608630; cv=none; d=google.com; s=arc-20160816; b=yRoI2d947TQA4LVansDWDyuGJGR0SpK7Be9dMJJ2Me65FoQVpUNXfm47h0WGpISdDe 3YuVdJRB2UDA+zexPMWejqxhX8zLSe3v8z3Ji/eF9oJFtF1eRBs9jAJ0ThCwmbX7NiU8 fIa0kYhVcC800meUGQpmTVNLYPcStUkHpFJ0WkduPRgJ/lz6ur0XlGtiaHbp24QGo8yC PoPzaD1Afifn1pkHrUk+wYcZpS0wGpOkjhbXpEvv48r9Ppa+NXQL55XGdb/Y1bygBPTp 2U6/jAGC2A+bk4Zz+rBI//ea09R4HvxRczWL4XEXtbM4s3+9oFH4HvzevmZZoDB/ui3X YOug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=w6fAZjUSUbrTkGOCw5LFlmC1xlGoTF8FJL/IRWB3F4k=; b=CtzkSpOkIvpx7rSjAV6pzIQ77K4STbpasWBpq/7YOTFQwj1/zpgtBc905yxl5TzPj6 hdUR9kpCl37w3reW5aAetyG3LcZtpH7+2aXkhN1n/mpoH0/BvVQU+iFhMEJV79MHSFsQ pEvQdi6iljk+zaNb/1qtRxl/WoCVsJ0thmK1o86ETD9IXGiBfrT1j22N6cXi5mTwMs78 ra3GysSmyVkJO7lfmmjVlR/QDAmBWhOLV4rKtSrr4F9t0IV+tpGc7RxDZIHgrEZRfwac 7tJw4sEnHnNq0+WRMoMdHTuQGhWh35bL1esJS0h75UeXDvKrv4GQ7l4yeIaeivgk/tGZ zOEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=VyeY5nKy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e8-20020a656488000000b00435b2509951si274285pgv.439.2022.09.19.10.30.18; Mon, 19 Sep 2022 10:30:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=VyeY5nKy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231182AbiISRCH (ORCPT + 99 others); Mon, 19 Sep 2022 13:02:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230383AbiISRBD (ORCPT ); Mon, 19 Sep 2022 13:01:03 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04BF93F1FF for ; Mon, 19 Sep 2022 10:00:31 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id z13so76233edb.13 for ; Mon, 19 Sep 2022 10:00: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; bh=w6fAZjUSUbrTkGOCw5LFlmC1xlGoTF8FJL/IRWB3F4k=; b=VyeY5nKyZ2Xt/Foj79ukjzeYW4F8E4loVlhOJLflWXPXa38+TG6kPPbnPJK5N6wYlp l00cwyDPfxCvQZiSOSkA5M2GaDMATf8caLakqM7xgzSCpDc/np8/N3mN6C5k/Z5eGs5M wbmqXtAovwQK910RwxBV10RsnW/DTczpNc0tkVi+KPEn5b9+M4uh8g7fSddQOAMawP2K 4Zb4cHnVWy5+eeIIKaTBXD8QEb6y5h5w+Yw4DlEj8JOI8cWnh+fcrvbfZKYqQXVXfpjW s9yJLZzVW357YxZ6NIUfkLNAeku8MQ/rpeEFJ3Nz/EOZYEe8b0ZB5EvQcow/777qr4B0 ubnw== 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; bh=w6fAZjUSUbrTkGOCw5LFlmC1xlGoTF8FJL/IRWB3F4k=; b=H2cemJD6xzAEvhbbeHT7/MTIb5bHVVdky2MgIaH3KpvGU5YcSp0MqFCMcdCWANFHlQ 7fxmTc/1ofaFpBN0xcUKMYJnkjaljK7Z7lgggGhNHumJTS1WCqplsLYD9dW4fsZQ7Pz1 7kPYzu85ZnR02rixd2q1yoyVOdcjORKzqZHkVSgMIEmqNM/NIkHljkZDOiZqfAfI+KNx zdRVMaiNMkSo1k3/a3jULYO6VRcJGyhByvIKIgH8gcfqgO9kVIQ55xrSm174HW1krH6j OKWPOQvbuCtsPCMWch7oBkQGyqVnJQxVYIfCNceMZU9x935US7+JE1p+6wHnVvuv5CwM VHqA== X-Gm-Message-State: ACrzQf3k6JNMSeachNxD3BbBy8wpeYpr1+We37NO35bltnb9AvIEMr7K mZv9bSG8O5WrpJs9Thpr7Z92qQ== X-Received: by 2002:aa7:ca56:0:b0:453:ceea:99d4 with SMTP id j22-20020aa7ca56000000b00453ceea99d4mr7672718edt.54.1663606823801; Mon, 19 Sep 2022 10:00:23 -0700 (PDT) Received: from [127.0.0.1] (2a02-8440-6340-f287-3074-96af-9642-0003.rev.sfr.net. [2a02:8440:6340:f287:3074:96af:9642:3]) by smtp.gmail.com with ESMTPSA id cf16-20020a0564020b9000b0044fc3c0930csm20424246edb.16.2022.09.19.10.00.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 10:00:23 -0700 (PDT) From: Guillaume Ranquet Date: Mon, 19 Sep 2022 18:56:15 +0200 Subject: [PATCH v1 17/17] drm/mediatek: Add mt8195-dpi support to drm_drv MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20220919-v1-17-4844816c9808@baylibre.com> References: <20220919-v1-0-4844816c9808@baylibre.com> In-Reply-To: <20220919-v1-0-4844816c9808@baylibre.com> To: Vinod Koul , Stephen Boyd , David Airlie , Rob Herring , Philipp Zabel , Krzysztof Kozlowski , Daniel Vetter , Chunfeng Yun , CK Hu , Jitao shi , Chun-Kuang Hu , Michael Turquette , Kishon Vijay Abraham I , Matthias Brugger Cc: linux-mediatek@lists.infradead.org, dri-devel@lists.freedesktop.org, Pablo Sun , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Mattijs Korpershoek , linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, Guillaume Ranquet , devicetree@vger.kernel.org X-Mailer: b4 0.10.0-dev X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add dpi support to enable the HDMI path. Signed-off-by: Guillaume Ranquet diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 72049a530ae1..27f029ca760b 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -820,6 +820,8 @@ static const struct of_device_id mtk_ddp_comp_dt_ids[] = { .data = (void *)MTK_DPI }, { .compatible = "mediatek,mt8192-dpi", .data = (void *)MTK_DPI }, + { .compatible = "mediatek,mt8195-dpi", + .data = (void *)MTK_DPI }, { .compatible = "mediatek,mt8195-dp-intf", .data = (void *)MTK_DP_INTF }, { .compatible = "mediatek,mt2701-dsi", -- b4 0.10.0-dev