summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.c
diff options
context:
space:
mode:
authorThara Gopinath <thara@ti.com>2010-12-10 22:51:05 +0530
committerKevin Hilman <khilman@deeprootsystems.com>2010-12-22 14:31:41 -0800
commitfbc319f67660ede23cc22f3af5df559693f8062e (patch)
tree52c817cbc5110d9018d7e6fa5a8d34cd840655c5 /arch/arm/mach-omap2/pm.c
parentfa765823a3cbb9ce1b13ce2832109a50d899c471 (diff)
downloadop-kernel-dev-fbc319f67660ede23cc22f3af5df559693f8062e.zip
op-kernel-dev-fbc319f67660ede23cc22f3af5df559693f8062e.tar.gz
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 d702ba9..83358f9 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;
OpenPOWER on IntegriCloud