Message ID | 20230301095523.428461-5-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 v21csp3539604wrd; Wed, 1 Mar 2023 01:56:57 -0800 (PST) X-Google-Smtp-Source: AK7set/40ltLb6ooPJwGFdDt0BB2d1TAv8HDgzktVtPelRA5n0geDxBxFpEHuQqU5HcOLlXvfHEm X-Received: by 2002:a62:5386:0:b0:5a8:2008:d1eb with SMTP id h128-20020a625386000000b005a82008d1ebmr5242902pfb.17.1677664617308; Wed, 01 Mar 2023 01:56:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677664617; cv=none; d=google.com; s=arc-20160816; b=JXBeO76czLJCVaZFb97hIDzTSSYeG5vsk9xrbpD2wTEkCOrVCBUfVM7cYSfFlPlaBQ dl7shQbYKVag2J/UK7V9DsIDFa7WfIPEVcb/nwABYFmay1YySvZY3Bx16WOVzSHWlJi0 szK7mxGj8CEnl+Tr3D2Iatrg9xdmXf1GtcEg4YfDq3Use/N4awFsZXWF6LbekrZ/Wk27 bbRyoNnIeL/XUEjdIT9YdLUbQZKim9pBPxpVfdsulpf7EQGdKPfJRn+/AQ+5MNJGE8Em ODMeH9fg/AB2LtAsLSgemXsiy7A7AAdWgoGpwuIOgpjyziUUA1MXlA+zWHTjnPG6FMzm Qccg== 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=RWg/EdVW8Yuj+rsxEgajt+GyBL3AvWUiqv9uyaF7DyQ=; b=g0U9NrQUzs4OhDoWUoiEvbjz+IOayFCWJa1z9NsA/7c9Cw0y2aUMNsEqCRTVwrVg6C XKgHi5qtHEUk21R5R6/EThV9ZarBi9H+cw0ooLzTiQfHuNpyufJh1kvAtBc63sSZXz5T 5WfioaZc+C+9wuDLvdVNMq8EDvwyOrdTK0UF4b3AM9eOqJYx2q4MLAWjXoHVFbWdSxo6 qBlQjz4ObKffhQW48nu8D4WLWEfP//TQY8OaRsj7F8+kht8hGsjqozRBXVuDuyv1FqSG g96EWQq3BlUMLeysrHIDD1mAH/nsnIJE6bwKL1VjhdPWb0L3ejrjWZgmGlDBPR8/svkt tVqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="U1HDW/xG"; 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 x79-20020a633152000000b004dccf388f93si12336419pgx.522.2023.03.01.01.56.44; Wed, 01 Mar 2023 01:56: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="U1HDW/xG"; 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 S229577AbjCAJzp (ORCPT <rfc822;dipsyhu@gmail.com> + 99 others); Wed, 1 Mar 2023 04:55:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbjCAJzg (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 1 Mar 2023 04:55:36 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 186F9366AD; Wed, 1 Mar 2023 01:55:33 -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 4CEDD6602126; Wed, 1 Mar 2023 09:55:31 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1677664531; bh=68pAuhR2AwbWVXI3OvP5qkhYBgJxnDaV6L7C5W0OdA8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U1HDW/xGfyw5NrMrPFCU/v9jyz8pC0fuA9PeRsZ5TFG0+qFsW5D6upIxRYwPsMFqM gTl4RmQ/oxW45ILWFsgzUZMSx5qakJoGVo1g9YN4bECROPHNFvrPMm03u29ayUtY1/ +dA43RxktVhEFfeCINFMnHmGPsIhVs2kWjRX7HXlHTXZs/HcjanVmrovgHj1MmKHB9 AMcXrmFtHVi2/qlAExpp0DiCSU4gY18atchb+tdfdnK52YvdY5FoQzmoQhTqqtKkRo voW63sMbjs5yMG4uoyGYm4iyxoaFfytZwoTKYo63Uv0FkXb57ytFTgBLZ7uOuCkKWO ueFcDgCgM6BcA== 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 v4 04/19] arm64: dts: mt8183-pumpkin: Couple VGPU and VSRAM_GPU regulators Date: Wed, 1 Mar 2023 10:55:08 +0100 Message-Id: <20230301095523.428461-5-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 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?1759158853488424598?= X-GMAIL-MSGID: =?utf-8?q?1759158853488424598?= |
Series |
Enable GPU with DVFS support on MediaTek SoCs
|
|
Commit Message
AngeloGioacchino Del Regno
March 1, 2023, 9:55 a.m. UTC
Add coupling for these regulators, as they have a strict voltage output relation to satisfy in order to ensure GPU stable operation. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> --- arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts index a1d01639df30..c228f04d086b 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts @@ -71,7 +71,6 @@ &auxadc { &gpu { mali-supply = <&mt6358_vgpu_reg>; - sram-supply = <&mt6358_vsram_gpu_reg>; }; &i2c0 { @@ -176,6 +175,16 @@ &mmc1 { non-removable; }; +&mt6358_vgpu_reg { + regulator-coupled-with = <&mt6358_vsram_gpu_reg>; + regulator-coupled-max-spread = <100000>; +}; + +&mt6358_vsram_gpu_reg { + regulator-coupled-with = <&mt6358_vgpu_reg>; + regulator-coupled-max-spread = <100000>; +}; + &pio { i2c_pins_0: i2c0 { pins_i2c{