Re: [PATCH V2 00/15] cpufreq: mediatek: Cleanup and support MT8183 and MT8186

From: Hsin-Yi Wang
Date: Fri Apr 08 2022 - 21:06:14 EST


On Sat, Apr 9, 2022 at 5:11 AM Kevin Hilman <khilman@xxxxxxxxxxxx> wrote:
>
> Rex-BC Chen <rex-bc.chen@xxxxxxxxxxxx> writes:
>
> > Cpufreq is a DVFS driver used for power saving to scale the clock frequency
> > and supply the voltage for CPUs. This series do some cleanup for MediaTek
> > cpufreq drivers and add support for MediaTek SVS[2] and MediaTek CCI
> > devfreq[3] which are supported in MT8183 and MT8186.
>
> There's no upstream DT for MT8186 and there are no OPPs defined in the
> upstream DT for MT8183.
>
> In order to test this on mainline, could you provide a patch for MT8183
> that adds OPPs to the DT so this can be tested with mainline?
>
The DT change used in the downstream kernel is from here:
https://patchwork.kernel.org/project/linux-mediatek/patch/1616499241-4906-9-git-send-email-andrew-sh.cheng@xxxxxxxxxxxx/
Might need some update (eg. add the cci property in cpu) though.
Rex, you can also include the 8183 DT change in the next version since
most of the mt8183 dts are in the mainline.

Thanks

> Thanks,
>
> Kevin