From patchwork Wed Feb 8 10:45:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 54383 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3388204wrn; Wed, 8 Feb 2023 03:04:18 -0800 (PST) X-Google-Smtp-Source: AK7set9jR8u9ZpFlLrDvHc9kAPc/UzCYq6DSE4LAHRPJZ0ndO6pTPb0JHto0V1PO1iOjSfH82iou X-Received: by 2002:a17:906:2098:b0:889:3d10:ae93 with SMTP id 24-20020a170906209800b008893d10ae93mr6524973ejq.6.1675854258158; Wed, 08 Feb 2023 03:04:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675854258; cv=none; d=google.com; s=arc-20160816; b=f5QSLjgEk8YqbuSamHwyn3vVQ2NkRpxKopP3NFk/SaU5uO8e2ypSV8JlsDoM25/yjA u2Q6FvEyHVuLtVw3PwEMY9h8LAAr06v3UMYV0FlT+YrRo4U+Ve+pn3DVchWHsJ93FGFc veaGYfOzO9pEX/DEsAtC8lOGUrldrbuMGXTvWC5bM4JTTw5+Uu+CIgyJn4hy86zI1PFq qzHWjQIQSh5ObZ2Upgr0vCaZq7GDL5QoMQlT6hZ9J40DHUBqqeXVIKD+pvc9PGrMzzb/ kBYyBhZWunkr11BkCPrt5E+KsZz/+QGgge1hYhdAz1F0thiO6WzBVpUz25H4Xcnxs8vq ch7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nVuRbxG2KICgo3eNox1HS/XV0dm6dwDBd9w0Ym3pfTQ=; b=w+fE4WT5+3hGA+akjxqdN+Q4c1HCkRPkY31A1Rs/28F2wspX3izoff2wfZ/88CweJ2 eh7A1wJSFkVpsTKDFFwgepCy7d0kzVvoaANXCJlfhnrfM1CjkZre4OzsYSrs5wfScBxc xEg9XLj7E28VHWSKOFKMXyvn95/QtGNHIKtzZhRPbqLA0rcvHg10L3TDEf6nmlyjvzOj A2KcKoD+HsXQYwQGEX7pExL5um75huTxwaRVwxeu+xxdYvbPeF9UVatfTY9QkhaiB9Nl SHAvNYTHr2gc0DvQW3ytW/tvVx2BwurfZpJY3fhoQ+Yukj7rBcMEuVnsgHkAAb+bva5f kv8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=AUjBo8hy; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l22-20020a170907915600b0088e0c76c466si354196ejs.356.2023.02.08.03.03.55; Wed, 08 Feb 2023 03:04:18 -0800 (PST) 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=@collabora.com header.s=mail header.b=AUjBo8hy; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231473AbjBHKqu (ORCPT + 99 others); Wed, 8 Feb 2023 05:46:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230433AbjBHKqO (ORCPT ); Wed, 8 Feb 2023 05:46:14 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 755B1485A9; Wed, 8 Feb 2023 02:46:07 -0800 (PST) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (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: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id D682766020A6; Wed, 8 Feb 2023 10:45:45 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1675853146; bh=Mqy0LgOrBL26ZfucrNTJt9JsISYGYClqtHybCr31CoI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AUjBo8hyLbjv5WQUTkYxYo5hESE6F8+22wnGjjCI3xKDFuQxIV3ZfVgiKCdpF/jUI R2de2m9z+Ab2XnjLG1yn/kuuJcGeCzNgceH6vOwVCAqhOQAhJJLuhmndj+tKZo9S4h e1s3AY//QlYxfG2FBb9iJkkxwD2se5WCCS77jZSwgCFRmqCx8xjmWZ0YVBQJtdC3vA 5XfiLiGOQeQmHhBORsO5x6SNwzudYjS3x3OgZ2CUx5XN+Tc/faqUe6kN/5oAO0nPfQ 9AgtMGf9RZg97bMvVYPvtXyJUA7MuZClvdjMCAtTI/jTTTB17yCBGZeHwRs7fSwHu1 pvCCASccPyfNw== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, angelogioacchino.delregno@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, wenst@chromium.org Subject: [PATCH 15/16] arm64: dts: mediatek: mt8195-cherry: Enable Mali-G57 GPU Date: Wed, 8 Feb 2023 11:45:26 +0100 Message-Id: <20230208104527.118929-16-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230208104527.118929-1-angelogioacchino.delregno@collabora.com> References: <20230208104527.118929-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757260554440190860?= X-GMAIL-MSGID: =?utf-8?q?1757260554440190860?= Enable the Mali-G57 found on this platform with the open-source Panfrost driver. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi index 56749cfe7c33..24669093fbed 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi @@ -238,6 +238,11 @@ dptx_out: endpoint { }; }; +&gpu { + status = "okay"; + mali-supply = <&mt6315_7_vbuck1>; +}; + &i2c0 { status = "okay";