cpufreq: mediatek: Move voltage limits to platform data
authorRex-BC Chen <rex-bc.chen@mediatek.com>
Thu, 5 May 2022 11:52:19 +0000 (19:52 +0800)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 6 May 2022 04:10:02 +0000 (09:40 +0530)
commitead858bd128d4ecfb2107115190d52d50416ec45
treec5a6fd0186269797671e3b4030640ec5f57b8ded
parentf126fbadce92b92c3a7be41e4abc1fbae93ae2ef
cpufreq: mediatek: Move voltage limits to platform data

Voltages and shifts are defined as macros originally.
There are different requirements of these values for each MediaTek SoCs.
Therefore, we add the platform data and move these values into it.

Signed-off-by: Jia-Wei Chang <jia-wei.chang@mediatek.com>
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/mediatek-cpufreq.c