aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.c
diff options
context:
space:
mode:
authorThara Gopinath <thara@ti.com>2010-12-10 12:21:05 -0500
committerKevin Hilman <khilman@deeprootsystems.com>2010-12-22 17:31:41 -0500
commitfbc319f67660ede23cc22f3af5df559693f8062e (patch)
tree52c817cbc5110d9018d7e6fa5a8d34cd840655c5 /arch/arm/mach-omap2/pm.c
parentfa765823a3cbb9ce1b13ce2832109a50d899c471 (diff)
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);
167 167
168static int __init omap2_common_pm_late_init(void) 168static int __init omap2_common_pm_late_init(void)
169{ 169{
170 /* Init the OMAP TWL parameters */
171 omap3_twl_init();
172 /* Init the voltage layer */
170 omap_voltage_late_init(); 173 omap_voltage_late_init();
174 /* Smartreflex device init */
171 omap_devinit_smartreflex(); 175 omap_devinit_smartreflex();
172 176
173 return 0; 177 return 0;