Message ID | 20230208104527.118929-3-angelogioacchino.delregno@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3381199wrn; Wed, 8 Feb 2023 02:46:58 -0800 (PST) X-Google-Smtp-Source: AK7set+vKOJKh+zvJVE4DbkjUoxQWDjkLsBr4rXixUoSubc1FpwkXyOvuK2VfHJoBqiIyARegz6+ X-Received: by 2002:a05:6402:40c4:b0:4aa:a0ee:7ed2 with SMTP id z4-20020a05640240c400b004aaa0ee7ed2mr8396937edb.3.1675853217904; Wed, 08 Feb 2023 02:46:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675853217; cv=none; d=google.com; s=arc-20160816; b=JVPmzaYg46sKVZo1YEp6EaX7RK2GInMIzBZCM80W9Tl/+VurGrDf4BJWbWqy5/VgOJ R9pgLAih4/LbZxb1go+zw24x4qxKlzn3PJatb73nIhrfGOJccUj8W7z0WV05K9f88NvU Nqx0N21JuHSVe871ZdcXa0PPA/odUm94Cf9+UZrCp6JLSx9dlkj0W15InKXqWnP3A0rM LRUw8hgujAklYqly2h/q0enEZ1qKQKyS904ckA3wmPjgtM2G7P+vE5sJsidsCwiQbUm9 I4WraMoSlWT6LJvgFIOhThEPxNK/EHQM67dsK5k2/l1YIpr/2CzYjTBMgwWQx7bAENDj kq9g== 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=qVocxtMo9LiVm388KriIhTsgeomK/hVwPEfH4C5y6+I=; b=0QXG87cosFyvk/xqtWT2emgxQm0uFKgaKoSsPVjRNTaz37pe07IJz4kDNa7VGuner8 p7rh4FMy7Y4RJXEyVM+9AJs/bwhHccmrmPpIKQI5BIzg64t0loJkwPH5FGjfx2K7Wj2s VtIt3Iigu2syLRCEZrTey9i72A6en/ThqnDTMekw0t/qcFhi9/6dRYSVZtlDM/KHF8yb PwLJ9zvpk9S7Ez3/orQ4CkPSZf4Ji/mfCLr0/arMq3Uj33W+NkoarU4MF7UzJBD1l3gU KMQtJaEizlzf7Jfxy3ajN6k8LiOumtHYlDHhxeNkTD2W98HLBtTt3Sg7lGI7tDRxRk1g chyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=dS9ePikT; 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 n17-20020aa7db51000000b004aac9421ba0si6343512edt.372.2023.02.08.02.46.34; Wed, 08 Feb 2023 02:46:57 -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=dS9ePikT; 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 S230215AbjBHKqB (ORCPT <rfc822;ivan.orlov0322@gmail.com> + 99 others); Wed, 8 Feb 2023 05:46:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230061AbjBHKpz (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 8 Feb 2023 05:45:55 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 027A43CE33; Wed, 8 Feb 2023 02:45:37 -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 2FE266602096; Wed, 8 Feb 2023 10:45:36 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1675853136; bh=LMUmM4vzAct44Jl/7e6cb9I2iurl6RcV+++kY88mRLk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dS9ePikT1qyVvkG1GPge4M8E6i6rRCXNQ8xnDipYzQ3mFWJHfaUeRYlLvsRu9uvRL 7UfMdgplKCZa7TfcqhmC3s40g2D/O2djH0Rk7pmJqx42mLSQ4vsGXbBT23Qq+RYnmO OBRTp/N4QHtg1GRWYRRTWyFLB4V3FPWWwp8h2DRF6nW6oSEUPH10KDz1OjQO6Q0Kie bXM28Iq1BAxvuR78j+ifj519bnQzpKkRTezycr0BGiDDLEhejcHrdH09rJvvnu4CfC A3qrtZXoCHsHXSs/AW0WgTsuMlRWrnNEDUzlvRXZt2iQ7968w0L/Hwic5J9I+5XRP8 e8ofEfmf8vBvg== 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 02/16] arm64: dts: mediatek: mt8183-kukui: Override vgpu/vsram_gpu constraints Date: Wed, 8 Feb 2023 11:45:13 +0100 Message-Id: <20230208104527.118929-3-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 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?1757259464108252770?= X-GMAIL-MSGID: =?utf-8?q?1757259464108252770?= |
Series |
Enable GPU with DVFS support on MediaTek SoCs
|
|
Commit Message
AngeloGioacchino Del Regno
Feb. 8, 2023, 10:45 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(+)
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>; };