From: Pablo Sun <pablo.sun@mediatek.com>
To: AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>
Cc: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-mediatek@lists.infradead.org>
Subject: Re: [PATCH] arm64: dts: mediatek: mt8395-genio-1200-evk: Enable GPU
Date: Wed, 11 Sep 2024 18:35:48 +0800 [thread overview]
Message-ID: <2fd45240-a341-806b-f336-78d0595a8031@mediatek.com> (raw)
In-Reply-To: <01020191e04d4237-204596e1-6cc1-491c-a60f-de3917af7d42-000000@eu-west-1.amazonses.com>
Hi Angelo,
Thanks for the review,
On 9/11/24 16:57, AngeloGioacchino Del Regno wrote:
[snip]
>> +/* for GPU SRAM */
>> +&mt6359_vsram_others_ldo_reg {
>> + regulator-always-on;
>
> No, that's not good. Like that, the GPU VSRAM will be subject to current
> leakage.
>
> Remove the regulator-always-on property.
> The right way of doing that is to add the vgpu to the mfg0's domain
> supply and
> vsram to mfg1; that way all of the GPU regulators will be off at PM
> suspend time.
Thanks for pointing this out, I'll send v2 to fix this.
>> &mt6359codec {
>> mediatek,mic-type-0 = <1>; /* ACC */
>> mediatek,mic-type-1 = <3>; /* DCC */
>> @@ -839,8 +851,8 @@ regulators {
>> mt6315_7_vbuck1: vbuck1 {
>> regulator-compatible = "vbuck1";
>> regulator-name = "Vgpu";
>> - regulator-min-microvolt = <300000>;
>> - regulator-max-microvolt = <1193750>;
>> + regulator-min-microvolt = <546000>;
>
> I'm okay with this constraint but are you sure that MTK-SVS won't go any
> lower than 0.546V?
I'll see if I could confirm the maximum voltage drop that may be lowered
by mtk-svs for MT8395. There are 3 constraints that I am aware of:
- capability of Vgpu buck: 0.3V-1.193V
- sign-off voltage of the EVK board: 0.6V to 1.2V
- recommended operating voltage of MT8395 DVDD_GPU: 0.546V to 0.787V
For the device tree of the board, would you recommend set the regulator
voltage constraints in narrower range (because it's safer to keep in
recommended operating conditions), or in a wider range (leaving the
check to driver software for potential power saving?)
Thanks
next prev parent reply other threads:[~2024-09-11 10:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-10 14:32 Pablo Sun
2024-09-11 8:57 ` AngeloGioacchino Del Regno
2024-09-11 10:35 ` Pablo Sun [this message]
2024-09-12 7:52 ` AngeloGioacchino Del Regno
2024-09-12 11:38 ` Pablo Sun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2fd45240-a341-806b-f336-78d0595a8031@mediatek.com \
--to=pablo.sun@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®