Re: [PATCH v3 2/2] cpufreq: tegra: Re-model Tegra cpufreq driver

From: bilhuang
Date: Wed Dec 18 2013 - 06:33:10 EST


On 12/18/2013 07:11 PM, Viresh Kumar wrote:
On 17 December 2013 16:22, bilhuang <bilhuang@xxxxxxxxxx> wrote:
Tegra20 DVFS is a little bit complicated due to the fact that we can't scale
VDD_CPU directly, there are constraints or relationship to other power rails
so I don't think it is a good idea to use generic cpufreq-cpu0 driver if
we're going to support voltage scaling.

But why can't we handle that in a CPU specific regulator code?

cpufreq-cpu0 driver will call regulator_set_voltage_tol() directly according to the pre-defined OPP freq/volt pairs, the regulator drivers could be shared by other SoC so is not suitable to handle this, or do I misunderstand?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/