[PATCH] cpufreq: add helper function cpufreq_set_target()

Rafael J. Wysocki rjw at sisk.pl
Tue Sep 11 16:35:38 EDT 2012


On Tuesday, September 11, 2012, Shawn Guo wrote:
> On Mon, Sep 10, 2012 at 10:22:44PM +0200, Rafael J. Wysocki wrote:
> > Hmm.  Who's going to use the cpufreq-cpu0 driver, then?  Is OMAP going to be
> > the only user?
> > 
> Any platform that supports device tree (DT) will be able to use the
> driver.  Right now, I have seen imx6q, AM35xx and highbank start using
> the driver.

OK, that would be sufficient.

> > I'm concerned about the copy-pasting, but if that copy-pasting is going to
> > go away when you move OMAP to the new driver, then I agree that adding more
> > complexity just to avoid it is probably not a good idea.
> > 
> > What's the planned time frame for the OMAP conversion?
> > 
> That depends on when OMAP gets fully converted to DT.  OMAP is in the
> middle of the DT transition right now.  There are in-tree users of
> omap-cpufreq driver that does not support DT (board files).  Before
> the DT conversion is fully done (all those non-DT board files gets
> removed), the omap-cpufreq driver still needs to be for a while.

I see.

Well, then I'll push the driver to Linus for v3.7 as is and we'll see who
and when starts to use it.

Thanks,
Rafael



More information about the linux-arm-kernel mailing list