summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.c
diff options
context:
space:
mode:
authorThara Gopinath2010-12-10 18:21:05 +0100
committerKevin Hilman2010-12-22 23:31:41 +0100
commitfbc319f67660ede23cc22f3af5df559693f8062e (patch)
tree52c817cbc5110d9018d7e6fa5a8d34cd840655c5 /arch/arm/mach-omap2/pm.c
parentOMAP3: PM: Adding smartreflex class3 driver (diff)
downloadkernel-qcow2-linux-fbc319f67660ede23cc22f3af5df559693f8062e.tar.gz
kernel-qcow2-linux-fbc319f67660ede23cc22f3af5df559693f8062e.tar.xz
kernel-qcow2-linux-fbc319f67660ede23cc22f3af5df559693f8062e.zip
OMAP3: PM: Register TWL4030 pmic info with the voltage driver.
This patch registers the TWL4030 PMIC specific informtion with the voltage driver. Failing this patch the voltage driver is unware of the formula to use for vsel to voltage and vice versa conversion and lot of other PMIC dependent parameters. This file is based on the arch/arm/plat-omap opp_twl_tpl.c file by Paul Walmsley. The original file is replaced by this file. Signed-off-by: Thara Gopinath <thara@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm.c')
-rw-r--r--arch/arm/mach-omap2/pm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
index d702ba9405c5..83358f920e4c 100644
--- a/arch/arm/mach-omap2/pm.c
+++ b/arch/arm/mach-omap2/pm.c
@@ -167,7 +167,11 @@ postcore_initcall(omap2_common_pm_init);
static int __init omap2_common_pm_late_init(void)
{
+ /* Init the OMAP TWL parameters */
+ omap3_twl_init();
+ /* Init the voltage layer */
omap_voltage_late_init();
+ /* Smartreflex device init */
omap_devinit_smartreflex();
return 0;