[PATCH] cpufreq: add helper function cpufreq_set_target()

Shawn Guo shawn.guo at linaro.org
Mon Sep 10 21:34:07 EDT 2012


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.

> 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.

-- 
Regards,
Shawn



More information about the linux-arm-kernel mailing list