mfd: db8500: Connect ARMSS clk to ARM OPP
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 10 Oct 2012 11:42:26 +0000 (13:42 +0200)
committerMike Turquette <mturquette@ti.com>
Sat, 10 Nov 2012 00:47:05 +0000 (16:47 -0800)
commitb2302c873bb7959958ffad4625a0876fc9294640
tree59846adcade5981a64a7268375c56e91aa30b5b9
parentfdb44464ce844dc72e194a6671996fa8cfdbc532
mfd: db8500: Connect ARMSS clk to ARM OPP

ARMSS clk directly maps it's frequency towards the cpufreq table.
To be able to update the ARMSS clk rate, a new set_rate function for
the ARMSS clk is added, which also will trigger a corresponding ARM
OPP request. Additionally an ARMSS clk round_rate function is added
to fetch valid cpufreq frequencies.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/mfd/db8500-prcmu.c