[PATCH v2 3/4] cpufreq: mediatek: add Mediatek cpufreq driver
Mark Brown
broonie at kernel.org
Wed Mar 11 05:45:55 PDT 2015
On Wed, Mar 11, 2015 at 04:33:49PM +0530, Viresh Kumar wrote:
> On mediatek platform, they need to configure two regulators in order to change
> DVFS state of the big cluster. The generic cpufreq-dt driver and earlier OPP
> bindings have support for a single regulator only and so what Pi-cheng tried
> to do is,
> - Configure one of the regulators using cpufreq-dt
> - And other one using cpufreq frequency change notifiers
> This looks awkward..
> What I suggested was to create another virtual regulator for CPU which will
> eventually configure both the regulators. And so the question that such
> virtual regulators are allowed or not.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150311/37a50661/attachment.sig>
More information about the linux-arm-kernel
mailing list