Message ID | 20230228104741.717819-3-angelogioacchino.delregno@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2940092wrd; Tue, 28 Feb 2023 02:49:14 -0800 (PST) X-Google-Smtp-Source: AK7set8RfJ+NbCyz3qc17D4jD7mv4sciNW6mSmd/vcak1SdjyXQ0wDpv1LOgLD5UgcJpe9wtcFD1 X-Received: by 2002:aa7:d3cd:0:b0:4ad:7c7c:a70d with SMTP id o13-20020aa7d3cd000000b004ad7c7ca70dmr2787683edr.19.1677581353947; Tue, 28 Feb 2023 02:49:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677581353; cv=none; d=google.com; s=arc-20160816; b=uR9wEVpXyw8LKfZoFeu4CSHTC50wE3E56RW4VL9eVZrUKu16OtDPExKNFXjNsdKB58 JKJtFFxKJ8IWtSthHEO54xDSMUQgWyet87VS1gPU7qGt9NVLCke28UAqh5MRqBorCDGS a5SqCPmLgi1roxyqfBxh41RH3+tNOnZ0zVpPMNT9cTnZZhSANDDEpBbJfb3OK4up8oBl MgenBGwjB4esFr4wHkvvaT/iwdS0Yr/aJGuj4usvFOA+GhTnXeJ1i/8AkbJnaEZiJR1S G3YS5G092iA534UrqIXWBfkFFQzTBK4nla8UBf3b3+b6R4qRBzcWb5j73Hrt+DPwIqMg FLRQ== 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=EcWytE1zV3qPuUgTUrHlKD06haM13Dukluujzyp0c64=; b=mNNGHPdJXkqMbWxcIHOxPj9nRPZS1+YXYZ8ODVUMS0ubD2pR2UErs2kpimRXjiZTWR qmHJGorCJxPWVzmce1K/gIxwR9WLosh/f9cX+dTlwpyYjyH9AH24LY/ox6ekVym8cASO pXHpOv8F7b8b/AhoRT0uRacakIxtGEtD4pekR0OGLu56ttQ4Z/rrrvaT6mlh2JGOpcdm zJ4+6rwqYBlOd3PQMCM7Aqb83ODZhy/cCjMU5+8HhcyATJOzLviuB07Wq/dIht3iGrwd Oe+itZOlhKc4lCBbwFRVz9aRlGNhuHLBsoPjRUhR6ync3ZlLBsM7GI4Fc51/M6ZGt491 6/rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=OYeliOY9; 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 q14-20020a056402040e00b004ab250bcee6si10592808edv.648.2023.02.28.02.48.51; Tue, 28 Feb 2023 02:49:13 -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=OYeliOY9; 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 S229714AbjB1KsB (ORCPT <rfc822;brysonjbanks@gmail.com> + 99 others); Tue, 28 Feb 2023 05:48:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230151AbjB1Krx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 28 Feb 2023 05:47:53 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9FA81996; Tue, 28 Feb 2023 02:47:51 -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 459E16602FD8; Tue, 28 Feb 2023 10:47:50 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1677581270; bh=hCOuhzILoJBXJQ8GwcXy/t+mRkm6ZJBcUpxH7FjYYQQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OYeliOY9+LesjMYhIx7f5QCcRs2qu3uoATLfmuW161HAHJsRBbA7dGR8kJMeyWlN7 VknOmJMi0yrWc0B/6RBmvyxo8qwWkdRABE9k28d+72bvdQBAUB0YQvAPvs7AeviDDp DZOqbEeffJY6yA8Bq5w+D8wMWQAKantkckWH84Fiitl8WN4BBh/kBWO0CdRaPvdu5+ FvipDMtYmV0DHmY8FNE3ZukS4sAFh4Kyrdp4c0VaKpSLjbcofQzH9wO6Lyy+5HSZgR TkypHtjO/yVP2CiD2LKq7oHH+qsTZuS9D+93y3jXXYfP7YqtgXL21IMdt1fcfbTzNy Cpbmyhm4b9+7A== From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 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 v3 02/18] arm64: dts: mediatek: mt8183-kukui: Override vgpu/vsram_gpu constraints Date: Tue, 28 Feb 2023 11:47:25 +0100 Message-Id: <20230228104741.717819-3-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230228104741.717819-1-angelogioacchino.delregno@collabora.com> References: <20230228104741.717819-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759071545833763443?= X-GMAIL-MSGID: =?utf-8?q?1759071545833763443?= |
Series |
Enable GPU with DVFS support on MediaTek SoCs
|
|
Commit Message
AngeloGioacchino Del Regno
Feb. 28, 2023, 10:47 a.m. UTC
Override the PMIC-default voltage constraints for VGPU and VSRAM_GPU
with the platform specific vmin/vmax for the highest possible SoC
binning.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
Comments
On Tue, Feb 28, 2023 at 6:47 PM AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> wrote: > > Override the PMIC-default voltage constraints for VGPU and VSRAM_GPU > with the platform specific vmin/vmax for the highest possible SoC > binning. > > Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi index de9778c85b94..63952c1251df 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi @@ -401,6 +401,9 @@ &mt6358codec { }; &mt6358_vgpu_reg { + regulator-min-microvolt = <625000>; + regulator-max-microvolt = <900000>; + regulator-coupled-with = <&mt6358_vsram_gpu_reg>; regulator-coupled-max-spread = <100000>; }; @@ -416,6 +419,9 @@ &mt6358_vsim2_reg { }; &mt6358_vsram_gpu_reg { + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <1000000>; + regulator-coupled-with = <&mt6358_vgpu_reg>; regulator-coupled-max-spread = <100000>; };