Message ID | 20220408045908.21671-1-rex-bc.chen@mediatek.com (mailing list archive) |
---|---|
Headers | show |
Series | cpufreq: mediatek: Cleanup and support MT8183 and MT8186 | expand |
Rex-BC Chen <rex-bc.chen@mediatek.com> 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? Thanks, Kevin
On Sat, Apr 9, 2022 at 5:11 AM Kevin Hilman <khilman@baylibre.com> wrote: > > Rex-BC Chen <rex-bc.chen@mediatek.com> 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@mediatek.com/ 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
On Sat, 2022-04-09 at 09:05 +0800, Hsin-Yi Wang wrote: > On Sat, Apr 9, 2022 at 5:11 AM Kevin Hilman <khilman@baylibre.com> > wrote: > > > > Rex-BC Chen <rex-bc.chen@mediatek.com> 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://urldefense.com/v3/__https://patchwork.kernel.org/project/linux-mediatek/patch/1616499241-4906-9-git-send-email-andrew-sh.cheng@mediatek.com/__;!!CTRNKA9wMg0ARbw!ykRlVJPl8TZWMCfnAzLnqhtn3iqXeHh8f6tMBWpneZuJPPmJTGEDIiEgv-R_Q4gVunnp$ > > 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 Hello Kevin and Hsinyi, OK I will add dts part of cpufreq for MT8183 in next version. And I think the cci part will be upstreamed in cci seriues. BRs, Rex