[PATCH] arm64: dts: mediatek: mt8395-genio-1200-evk: Enable GPU

Pablo Sun pablo.sun at mediatek.com
Wed Sep 11 03:35:48 PDT 2024


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





More information about the Linux-mediatek mailing list