]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cpufreq: imx6q: add of_init_opp_table
authorJohn Tobias <john.tobias.ph@gmail.com>
Fri, 20 Dec 2013 06:56:28 +0000 (22:56 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Jan 2014 12:33:45 +0000 (13:33 +0100)
commit20b7cbe2981013cbe449cc642cefc101e23d0f8e
treeb34b6c92db6c34a47f55e9a766651fdb8e227c1e
parent1d0eaae9b55e1ff2cfa2217b73af2027e07ca480
cpufreq: imx6q: add of_init_opp_table

Add a routine check to see if the platform supplied the OPP table.
Incase there's no OPP table exist, it will try to initialise it.

It's been tested on iMX6SL board where the platform doesn't have
an OPP table.

Signed-off-by: John Tobias <john.tobias.ph@gmail.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/imx6q-cpufreq.c