[PATCH v2 3/4] cpufreq: mediatek: add Mediatek cpufreq driver

Viresh Kumar viresh.kumar at linaro.org
Thu Mar 12 02:28:55 PDT 2015


On 11 March 2015 at 18:15, Mark Brown <broonie at kernel.org> wrote:
> Ugh, no - that's a hideous bodge which is only going to create trouble
> later.  Remember, DT is an ABI and should describe the hardware so if
> we're doing bodges that are visible there to shoehorn things onto our
> implementation that's bad.  The concerns that Pi-Cheng had about what
> happens if the PMIC gets changed definitely seem relevant here too.

Hmm..

> Why not just write a custom cpufreq driver if it's too hard to abstract?

Hmm, probably all that can be solved with the new OPP bindings where
we can have support for multiple regulator or clock sources to the CPU.

@Pi-cheng: How are you going to pass voltages for both the regulators
as OPPs today only support a single regulator, in case you have to write
your own driver.



More information about the linux-arm-kernel mailing list