All of lore.kernel.org
 help / color / mirror / Atom feed
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Chen-Yu Tsai <wenst@chromium.org>
Cc: matthias.bgg@gmail.com, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v2 02/16] arm64: dts: mediatek: mt8183-kukui: Override vgpu/vsram_gpu constraints
Date: Fri, 24 Feb 2023 14:02:23 +0100	[thread overview]
Message-ID: <fa6c2d63-0341-b5d6-059e-d44b1f2e9d02@collabora.com> (raw)
In-Reply-To: <CAGXv+5FUzeB1SPDt+Ys8ALA_y5ZAPQGnz43NnLCPorvurF3eYg@mail.gmail.com>

Il 24/02/23 10:50, Chen-Yu Tsai ha scritto:
> On Thu, Feb 23, 2023 at 9:43 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.
> 
> The maximum voltage numbers don't match the existing OPP table though.

The OPP table that we've got in mt8183.dtsi does not declare frequencies for the
highest binning for this SoC, I guess because there was no way to check fuses to
restrict the table to bin XYZ.

These maximum voltages are - true - higher compared to the highest voltage in
the GPU OPP table, but they're still in spec (check datasheets!).

Should I reword the commit description?

Regards,
Angelo

> 
>> 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>;
>>   };
>> --
>> 2.39.2
>>



WARNING: multiple messages have this Message-ID (diff)
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Chen-Yu Tsai <wenst@chromium.org>
Cc: matthias.bgg@gmail.com, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v2 02/16] arm64: dts: mediatek: mt8183-kukui: Override vgpu/vsram_gpu constraints
Date: Fri, 24 Feb 2023 14:02:23 +0100	[thread overview]
Message-ID: <fa6c2d63-0341-b5d6-059e-d44b1f2e9d02@collabora.com> (raw)
In-Reply-To: <CAGXv+5FUzeB1SPDt+Ys8ALA_y5ZAPQGnz43NnLCPorvurF3eYg@mail.gmail.com>

Il 24/02/23 10:50, Chen-Yu Tsai ha scritto:
> On Thu, Feb 23, 2023 at 9:43 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.
> 
> The maximum voltage numbers don't match the existing OPP table though.

The OPP table that we've got in mt8183.dtsi does not declare frequencies for the
highest binning for this SoC, I guess because there was no way to check fuses to
restrict the table to bin XYZ.

These maximum voltages are - true - higher compared to the highest voltage in
the GPU OPP table, but they're still in spec (check datasheets!).

Should I reword the commit description?

Regards,
Angelo

> 
>> 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>;
>>   };
>> --
>> 2.39.2
>>


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2023-02-24 13:02 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-23 13:43 [PATCH v2 00/16] Enable GPU with DVFS support on MediaTek SoCs AngeloGioacchino Del Regno
2023-02-23 13:43 ` AngeloGioacchino Del Regno
2023-02-23 13:43 ` [PATCH v2 01/16] arm64: dts: mediatek: mt8183-kukui: Couple VGPU and VSRAM_GPU regulators AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24  9:48   ` Chen-Yu Tsai
2023-02-24  9:48     ` Chen-Yu Tsai
2023-02-23 13:43 ` [PATCH v2 02/16] arm64: dts: mediatek: mt8183-kukui: Override vgpu/vsram_gpu constraints AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24  9:50   ` Chen-Yu Tsai
2023-02-24  9:50     ` Chen-Yu Tsai
2023-02-24 13:02     ` AngeloGioacchino Del Regno [this message]
2023-02-24 13:02       ` AngeloGioacchino Del Regno
2023-02-23 13:43 ` [PATCH v2 03/16] arm64: dts: mediatek: mt8183: Remove second opp-microvolt entries from gpu table AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24  9:51   ` Chen-Yu Tsai
2023-02-24  9:51     ` Chen-Yu Tsai
2023-02-23 13:43 ` [PATCH v2 04/16] arm64: dts: mt8183-pumpkin: Couple VGPU and VSRAM_GPU regulators AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24  9:51   ` Chen-Yu Tsai
2023-02-24  9:51     ` Chen-Yu Tsai
2023-02-24  9:53     ` Chen-Yu Tsai
2023-02-24  9:53       ` Chen-Yu Tsai
2023-02-24 13:03       ` AngeloGioacchino Del Regno
2023-02-24 13:03         ` AngeloGioacchino Del Regno
2023-02-23 13:43 ` [PATCH v2 05/16] arm64: dts: mediatek: mt8183-evb: " AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24  9:54   ` Chen-Yu Tsai
2023-02-24  9:54     ` Chen-Yu Tsai
2023-02-23 13:43 ` [PATCH v2 06/16] arm64: dts: mediatek: mt8183: Use mediatek,mt8183b-mali as GPU compatible AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24  9:54   ` Chen-Yu Tsai
2023-02-24  9:54     ` Chen-Yu Tsai
2023-02-23 13:43 ` [PATCH v2 07/16] arm64: dts: mediatek: mt8192: Add GPU nodes AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24  9:55   ` Chen-Yu Tsai
2023-02-24  9:55     ` Chen-Yu Tsai
2023-02-24 13:04     ` AngeloGioacchino Del Regno
2023-02-24 13:04       ` AngeloGioacchino Del Regno
2023-02-24 13:04     ` AngeloGioacchino Del Regno
2023-02-24 13:04       ` AngeloGioacchino Del Regno
2023-02-23 13:43 ` [PATCH v2 08/16] arm64: dts: mediatek: mt8192: Add mfg_ref_sel clock to MFG0 domain AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24  9:57   ` Chen-Yu Tsai
2023-02-24  9:57     ` Chen-Yu Tsai
2023-02-23 13:43 ` [PATCH v2 09/16] arm64: dts: mediatek: mt8192-asurada: Add MFG0 domain supply AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24  9:57   ` Chen-Yu Tsai
2023-02-24  9:57     ` Chen-Yu Tsai
2023-02-23 13:43 ` [PATCH v2 10/16] arm64: dts: mediatek: mt8192-asurada: Assign sram supply to MFG1 pd AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24  9:57   ` Chen-Yu Tsai
2023-02-24  9:57     ` Chen-Yu Tsai
2023-02-23 13:43 ` [PATCH v2 11/16] arm64: dts: mediatek: mt8192-asurada: Couple VGPU and VSRAM_OTHER regulators AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24  9:58   ` Chen-Yu Tsai
2023-02-24  9:58     ` Chen-Yu Tsai
2023-02-24 13:05     ` AngeloGioacchino Del Regno
2023-02-24 13:05       ` AngeloGioacchino Del Regno
2023-02-23 13:43 ` [PATCH v2 12/16] arm64: dts: mediatek: mt8192-asurada: Enable GPU AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24  9:59   ` Chen-Yu Tsai
2023-02-24  9:59     ` Chen-Yu Tsai
2023-02-23 13:43 ` [PATCH v2 13/16] arm64: dts: mediatek: mt8195: Add mfg_core_tmp clock to MFG1 domain AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24  9:59   ` Chen-Yu Tsai
2023-02-24  9:59     ` Chen-Yu Tsai
2023-02-23 13:43 ` [PATCH v2 14/16] arm64: dts: mt8195: Add panfrost node for Mali-G57 Valhall Natt GPU AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24 10:01   ` Chen-Yu Tsai
2023-02-24 10:01     ` Chen-Yu Tsai
2023-02-23 13:43 ` [PATCH v2 15/16] arm64: dts: mediatek: mt8195-cherry: Enable Mali-G57 GPU AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24 10:02   ` Chen-Yu Tsai
2023-02-24 10:02     ` Chen-Yu Tsai
2023-02-23 13:43 ` [PATCH v2 16/16] arm64: dts: mediatek: mt8186: Add GPU node AngeloGioacchino Del Regno
2023-02-23 13:43   ` AngeloGioacchino Del Regno
2023-02-24 10:02   ` Chen-Yu Tsai
2023-02-24 10:02     ` Chen-Yu Tsai
2023-02-24  9:41 ` [PATCH v2 00/16] Enable GPU with DVFS support on MediaTek SoCs Chen-Yu Tsai
2023-02-24  9:41   ` Chen-Yu Tsai

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=fa6c2d63-0341-b5d6-059e-d44b1f2e9d02@collabora.com \
    --to=angelogioacchino.delregno@collabora.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.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+dt@kernel.org \
    --cc=wenst@chromium.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.