]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq: mediatek: raise proc/sram max voltage for MT8516
authorJia-Wei Chang <jia-wei.chang@mediatek.com>
Fri, 24 Mar 2023 10:11:29 +0000 (18:11 +0800)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 30 Mar 2023 03:50:02 +0000 (09:20 +0530)
commitd3296bb4cafd4bad4a5cf2eeab9d19cc94f9e30e
treef10f586d6a4b41e8701e3fb5ee799b6e1dd62693
parentd51e106240bc755cbe59634b70d567c192b045b2
cpufreq: mediatek: raise proc/sram max voltage for MT8516

Since the upper boundary of proc/sram voltage of MT8516 is 1300 mV,
which is greater than the value of MT2701 1150 mV, we fix it by adding
the corresponding platform data and specify proc/sram_max_volt to
support MT8516.

Signed-off-by: Jia-Wei Chang <jia-wei.chang@mediatek.com>
Fixes: ead858bd128d ("cpufreq: mediatek: Move voltage limits to platform data")
Fixes: 6a17b3876bc8 ("cpufreq: mediatek: Refine mtk_cpufreq_voltage_tracking()")
Reported-by: Nick Hainke <vincent@systemli.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/mediatek-cpufreq.c