From patchwork Wed Mar 1 09:55:20 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: 62824 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp3539760wrd; Wed, 1 Mar 2023 01:57:25 -0800 (PST) X-Google-Smtp-Source: AK7set86K8gSn9OysI9EjqSzdXJlsblJRrRZPhsUpZe7AK2BSzi4dI8HTjWy5mjpo1AgIVU9uyMF X-Received: by 2002:a17:902:b107:b0:197:9184:34c6 with SMTP id q7-20020a170902b10700b00197918434c6mr4567414plr.55.1677664645194; Wed, 01 Mar 2023 01:57:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677664645; cv=none; d=google.com; s=arc-20160816; b=H/3NXUfk3il3Vs2ptL4c6EzcvSuvZPlvZdcdf2OVH3gF8x464mffLdT6AG4B9aNbTA kTVF8eZuI2lTeHPH+U1mnHBnRCik6eS5MYz21Jba8aUpLo9UBK2IhO0rv0ObXZowd5qb 89hqpR/wChcwA6LN5u8mITU3ReS9sDdr2FWkhmrrBEXVg0f+f8Y4OJraSZI2vcQFAd2J nuqqw4/exLyHV8pzodwNjA+Kd1iN/d5sZy4phm0qg69uqHH3F1e+ehAN48ghG6lbTw6v OSEF9m6YCp0qq9jK5c8LS96NHZ5/V9ydytReMDa9Ol4lASyw7SrMekjyljysPiErD+K4 kNrQ== 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=pb6hDVN8FtBiRxZXSTwPMzxOH1IVqv4t7H7OxKKzXGo=; b=BPFycfLuLnJGuSwZL6ttsTe+19Tjz/SSUqzpksiz7lTFEQ2nO391Qz15PGs9Q3viB+ 15PUPREzGWdsXq9DBLUgFIksv3wjFwquBlTy35bnWc8FAiPtLh2HYO3hasfN91rlkwVQ rAe8z6zuoAGBZ6P1b523gB9FjtNZuK1KnA9HTyFx3D9Nl952dVlZv1tMIu4ZPDlZTZxV HVs3e9Jm7r9VSO2Rt/JmAXmVq/CF9lELVpi3Od6geK+3PGf5xEE84qJx1du2HsVNOuN0 58QznGt3m11Bw3FJfDISi1PK9bjJDI1SnwckzpdH6x/ZSJlw0HsBBkRC12aRpbxNBgsa Vmdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=hhkBXk2E; 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=QUARANTINE sp=QUARANTINE 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 li15-20020a170903294f00b0019cd865cba4si11726370plb.142.2023.03.01.01.57.11; Wed, 01 Mar 2023 01:57:25 -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=hhkBXk2E; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230033AbjCAJ43 (ORCPT + 99 others); Wed, 1 Mar 2023 04:56:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229879AbjCAJzv (ORCPT ); Wed, 1 Mar 2023 04:55:51 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5636A3B65B; Wed, 1 Mar 2023 01:55:41 -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 9879F6602124; Wed, 1 Mar 2023 09:55:39 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1677664540; bh=eoUuj+cxZRXF8or5zd6PgagsDUpoYC3djot0WKXw2CA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hhkBXk2E6FkkjzWFHfrQFY3szV5J3eYC7vihoX8QMtmYiJnBouEHytcgWIlQdh774 nS6GF8niejem4pwYCIwno8u55hl5sL17pA2rFL+6C1NU5TQAOaJ+PMSVPSts6GVego jQcb3SUaOknckuaAW+pYCoQIcsRRZEuQ9U/p7b9+cNkwPTPH09jpoPmfmSMzziuRFd xAaSRUyZ9Ji8z25/i+Gx+0B9NeY4FW0rhKzRhy3wUV583rDqmp+tC2W7XXsSd1Kpt8 RdyY/5NKnuckUtJgOxFBDnaxTlSl3pVBDV7BFdxAenTHm56YjX5kPIDLTjeiYV+owM 0MtB7C6puB40Q== 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 v4 16/19] arm64: dts: mediatek: mt8195-cherry: Enable Mali-G57 GPU Date: Wed, 1 Mar 2023 10:55:20 +0100 Message-Id: <20230301095523.428461-17-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230301095523.428461-1-angelogioacchino.delregno@collabora.com> References: <20230301095523.428461-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?1759158883120219456?= X-GMAIL-MSGID: =?utf-8?q?1759158883120219456?= Enable the Mali-G57 found on this platform with the open-source Panfrost driver. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Chen-Yu Tsai --- 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";