From patchwork Thu Jan 30 12:31:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Louis-Alexis Eyraud X-Patchwork-Id: 13954532 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 4E6FAC0218A for ; Thu, 30 Jan 2025 12:35:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=u8afJZgRwsg+rCEE48D7/bZX6jr455cv+uEyQDkxcvg=; b=X7gxpSoV5Z0nAyRYWEIMCR1T8g C0beDC29LQJ4kOSOdkNbULVdN+QT4bGDT7LG4etTF0ePDxSbBgY7VVHATWmR9eZw5HnfVbECyD5UN jPIERSP7QIbNJeWiOYa72HfaDJE5o+r4ltVbSsRoLLe+RMWoaW4DRhZBBB6fnkGZmAoRRJZZDvLoB rvRMe1nm9/RBIuAYIOkmvMiLPQ2+PSwC0b02cNY68MWBDnx3GSfRFP4EqNT6n2LDQq1oSjPDz5d6v 9nPrhUlJ2bERyF38dZn4HfKamr36TGXq0jM4Mqz7nc+v1Q+ruFKD3lipdc3v9BAoHDcPXlwwcde6x VKwuGjKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tdTlV-00000008mNb-1o9M; Thu, 30 Jan 2025 12:35:25 +0000 Received: from bali.collaboradmins.com ([148.251.105.195]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tdThb-00000008lnJ-2EhQ; Thu, 30 Jan 2025 12:31:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1738240282; bh=93P5ZXHodgRz2/DZJHG52x9JGTE1DP1XAy3V1flSNRM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=DorLOpSmA8H+QGiEPuWaTYVCcZPO2kA/fb228oMM2O1Aid7EgEXj36ZmYy9db8zFB TTrKNMZStyx02apZdoaIQBD6TK3ur/o7u8+SHjRu1Qt3E5tmYqkidseVv3bCmmGgVY 7hq3H4rLnn3ZuHfUshPH18a19ou+Kk09WTQ4VG9LLPSVyJlzdEH6Lt3ZFg/uApnqxM zUQNdO599Qfxwbelv3oPHfkwbNVUJy1wDl+15ZWtCDdTGinEpNQHEafurwVJWBhtIT xAi1G32/VA7wMCZEX8+sW87Ss+6hgGov7UiIwgpZTo0K9WdDMxWJm0JT1ZHSmwrY1+ 0vG377m4+Hypw== Received: from yukiji.home (lfbn-tou-1-1147-231.w90-76.abo.wanadoo.fr [90.76.208.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: laeyraud) by bali.collaboradmins.com (Postfix) with ESMTPSA id 33CD717E10D3; Thu, 30 Jan 2025 13:31:21 +0100 (CET) From: Louis-Alexis Eyraud Date: Thu, 30 Jan 2025 13:31:00 +0100 Subject: [PATCH v2 2/3] drm/panfrost: Add support for Mali on the MT8370 SoC MIME-Version: 1.0 Message-Id: <20250130-mt8370-enable-gpu-v2-2-c154d0815db5@collabora.com> References: <20250130-mt8370-enable-gpu-v2-0-c154d0815db5@collabora.com> In-Reply-To: <20250130-mt8370-enable-gpu-v2-0-c154d0815db5@collabora.com> To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Boris Brezillon , Steven Price Cc: kernel@collabora.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Louis-Alexis Eyraud X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1738240278; l=1123; i=louisalexis.eyraud@collabora.com; s=20250113; h=from:subject:message-id; bh=93P5ZXHodgRz2/DZJHG52x9JGTE1DP1XAy3V1flSNRM=; b=N6UtDwnG820Ja6QmEOtTIDM2xlq+nyy2jgencPUCTPXYODCgxJ/NgTlaFFdS7qvHKxw1tOEVt qujoDiMacIeCzr9WLEQ7R6quQVNICEYyPQ7e+4Frfuidy3rh32JkwJ3 X-Developer-Key: i=louisalexis.eyraud@collabora.com; a=ed25519; pk=CHFBDB2Kqh4EHc6JIqFn69GhxJJAzc0Zr4e8QxtumuM= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250130_043123_717792_71449679 X-CRM114-Status: GOOD ( 10.37 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Add a compatible for the MediaTek MT8370 SoC, with an integrated ARM Mali G57 MC2 GPU (Valhall-JM, dual core), with the same platform data as MT8186 (one regulator, two power domains). Reviewed-by: Steven Price Signed-off-by: Louis-Alexis Eyraud --- drivers/gpu/drm/panfrost/panfrost_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panfrost/panfrost_drv.c b/drivers/gpu/drm/panfrost/panfrost_drv.c index 0f3935556ac761adcd80197d87e8e478df436fd5..7b7e9f6f620659a7fdcb5d907ebc4f01eca876e0 100644 --- a/drivers/gpu/drm/panfrost/panfrost_drv.c +++ b/drivers/gpu/drm/panfrost/panfrost_drv.c @@ -859,6 +859,7 @@ static const struct of_device_id dt_match[] = { { .compatible = "mediatek,mt8186-mali", .data = &mediatek_mt8186_data }, { .compatible = "mediatek,mt8188-mali", .data = &mediatek_mt8188_data }, { .compatible = "mediatek,mt8192-mali", .data = &mediatek_mt8192_data }, + { .compatible = "mediatek,mt8370-mali", .data = &mediatek_mt8186_data }, {} }; MODULE_DEVICE_TABLE(of, dt_match);