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

bilhuang
2013-12-18T11:33:09Z

On 12/18/2013 07:11 PM, Viresh Kumar wrote:
> On 17 December 2013 16:22, bilhuang <bilhuang@nvidia.com> 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?