From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: rva333@protonmail.com, "Rafael J. Wysocki" <rafael@kernel.org>,
Viresh Kumar <viresh.kumar@linaro.org>,
Matthias Brugger <matthias.bgg@gmail.com>
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH 2/3] cpufreq: mediatek: add mt6572 support
Date: Wed, 23 Sep 2026 10:36:26 +0200 [thread overview]
Message-ID: <b98716ab-1c7b-4da2-85c8-e425be39b4d7@collabora.com> (raw)
In-Reply-To: <20260923-6572-cpufreq-v1-2-41f7af6d6d1a@protonmail.com>
On 9/23/26 09:23, Roman Vivchar via B4 Relay wrote:
> From: Roman Vivchar <rva333@protonmail.com>
>
> Add mt6572 SoC platform data for CPU frequency scaling.
>
> Signed-off-by: Roman Vivchar <rva333@protonmail.com>
> ---
> drivers/cpufreq/mediatek-cpufreq.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c
> index f15135b2898b..615bccc77c98 100644
> --- a/drivers/cpufreq/mediatek-cpufreq.c
> +++ b/drivers/cpufreq/mediatek-cpufreq.c
> @@ -737,6 +737,14 @@ static const struct mtk_cpufreq_platform_data mt2701_platform_data = {
> .ccifreq_supported = false,
> };
>
> +static const struct mtk_cpufreq_platform_data mt6572_platform_data = {
> + .min_volt_shift = 100000,
> + .max_volt_shift = 200000,
> + .proc_max_volt = 1250000,
> + .sram_min_volt = 0,
Are you sure that there's no SRAM regulator on MT6572?
If there's none, there's no need to set sram_min_volt here, but if there is, you
also need to set sram_max_volt.
The ccifreq_supported explicitly set to false is ok for human readability of the
SoC features - that's also unneeded but keep it for the same of understanding
what's going on with this SoC.
Cheers,
Angelo
> + .ccifreq_supported = false,
> +};
> +
next prev parent reply other threads:[~2026-09-23 8:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-23 7:23 [PATCH 0/3] " Roman Vivchar via B4 Relay
2026-09-23 7:23 ` [PATCH 1/3] cpufreq: mediatek: add support for CPU speedbin Roman Vivchar via B4 Relay
2026-09-23 8:31 ` AngeloGioacchino Del Regno
2026-09-23 8:55 ` Roman Vivchar
2026-09-23 7:23 ` [PATCH 2/3] cpufreq: mediatek: add mt6572 support Roman Vivchar via B4 Relay
2026-09-23 8:36 ` AngeloGioacchino Del Regno [this message]
2026-09-23 8:58 ` Roman Vivchar
2026-09-23 7:23 ` [PATCH 3/3] cpufreq: dt-platdev: block the driver from probing on MediaTek mt6572 Roman Vivchar via B4 Relay
2026-09-23 8:36 ` AngeloGioacchino Del Regno
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=b98716ab-1c7b-4da2-85c8-e425be39b4d7@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=rafael@kernel.org \
--cc=rva333@protonmail.com \
--cc=viresh.kumar@linaro.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®