From mboxrd@z Thu Jan 1 00:00:00 1970 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 A218AC3ABAA for ; Fri, 2 May 2025 12:21:32 +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=tj+BC98THijTPMDOLDrLf/LjWmuwkIYNrDWo+NMvQHE=; b=mTfROAfEt6FaangE+LngqHdKWl agKx3CU39Qd9A76Byq8p3cPkCFtSxzRd49mLO9jTjdECqNlJy6+Eg/X3to02qaeR5MISkB77O3WSc /XJxztI9RoFdW8gdmugROK8nKcxXIoRwGgizKaV4L4m0YH6SSX/IrtlUSQXiXzTQYyawCxhfaLIbD U+OZzrfX7q96KF85zEkKUsGGJuklMTgB+Rsg/O3u9F57N+AlcXMVo21lsfab8xXPYzjPpM9zD8Ml5 YB1NyQOIRNByVwoMIup2tiDeaosVZezPHVQZWudiBcsWOtCh74Eq+/4x4IKmMRQ/4xgPJ2quKFVuL YCWgdinQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uApOV-00000001tPt-2nIt; Fri, 02 May 2025 12:21:31 +0000 Received: from bali.collaboradmins.com ([2a01:4f8:201:9162::2]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uApKd-00000001sSO-0P9m; Fri, 02 May 2025 12:17:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1746188248; bh=tC3yerrzg8rWelNEn6xwDuErAgY2oEHyEk9X9qlwnaA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=S6yH0aIPv6+Y4J/CTeVkMVQErQvZLIvVa94SXTDFatQ6CW+HIdJSnbbNkXjPXyEPz 2dPA6MgGO3Jw92nrhecf8JcWDR6cpwcpmfhJPn5IGd2mo/7kBkJlhYV04ZmcOEH+Tt 3WjUhVTYiP46dzw9ehts2L8h78weUZ/J6xoMI+uWn3frHkFtk/BFctpMJg/+ZwbD0f sH5F3pYbHqO4u2EIZuVQxWv0bUA4ccxS2ksXQ0YLW2RivHQFuTlJG+OqxDS37dBQDN gmBIOjFAaVmPH/7Vbhcx44A9iIp+mP5wIwHy881P7kTv2tNzk1inDfJxQXyt4+hEdQ DbnplMzq0lcIw== Received: from yukiji.home (amontpellier-657-1-116-247.w83-113.abo.wanadoo.fr [83.113.51.247]) (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 D8E3A17E1047; Fri, 2 May 2025 14:17:26 +0200 (CEST) From: Louis-Alexis Eyraud Date: Fri, 02 May 2025 14:17:16 +0200 Subject: [PATCH v5 1/3] dt-bindings: gpu: mali-bifrost: Add compatible for MT8370 SoC MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20250502-mt8370-enable-gpu-v5-1-98e247b30151@collabora.com> References: <20250502-mt8370-enable-gpu-v5-0-98e247b30151@collabora.com> In-Reply-To: <20250502-mt8370-enable-gpu-v5-0-98e247b30151@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 , Conor Dooley X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1746188245; l=1599; i=louisalexis.eyraud@collabora.com; s=20250113; h=from:subject:message-id; bh=tC3yerrzg8rWelNEn6xwDuErAgY2oEHyEk9X9qlwnaA=; b=vVN4lbu8agmw0jNb5OBsUl+KyjjfGYL+6AQ/tEDBrN65MFF5zBz/lv07ezI/3a5Xq8QYx8P2O hkcYeiq/3W3A5BAXYftpMyh/QszQAldt5J1SHwTiQpLvPpc8TZ1gg/+ 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-20250502_051731_317311_B5591397 X-CRM114-Status: GOOD ( 11.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). None of the already existing SoC specific compatibles is usable as fallback, as those either do not match the number of cores (and number of power domains), or are for a different GPU architecture. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Conor Dooley Signed-off-by: Louis-Alexis Eyraud --- Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml index 019bd28a29f19bb4f7a9c32434b208b6d04db221..5726b79fd0f9de8914f724929f462409e088ec31 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml @@ -40,6 +40,7 @@ properties: - enum: - mediatek,mt8188-mali - mediatek,mt8192-mali + - mediatek,mt8370-mali - const: arm,mali-valhall-jm # Mali Valhall GPU model/revision is fully discoverable reg: @@ -221,7 +222,9 @@ allOf: properties: compatible: contains: - const: mediatek,mt8186-mali + enum: + - mediatek,mt8186-mali + - mediatek,mt8370-mali then: properties: power-domains: -- 2.49.0