summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/pm.c
diff options
context:
space:
mode:
authorThara Gopinath <thara@ti.com>2010-12-10 23:15:16 +0530
committerKevin Hilman <khilman@deeprootsystems.com>2010-12-22 14:31:45 -0800
commit7bc3ed9ae632b9c94d3721d555d3452e24ca8ee3 (patch)
tree2781b54bdc5434225d0005f854ab28d99d81c0fc /arch/arm/mach-omap2/pm.c
parent1482d8be5525eccdec6286677d40af29da03a30c (diff)
downloadlwn-7bc3ed9ae632b9c94d3721d555d3452e24ca8ee3.tar.gz
lwn-7bc3ed9ae632b9c94d3721d555d3452e24ca8ee3.zip
OMAP4: Register voltage PMIC parameters with the voltage layer
TWL6030 is the power IC used along with OMAP4 in OMAP4 SDPs, blaze boards and panda boards. This patch registers the OMAP4 PMIC specific information with the voltage layer. This also involves implementing a different formula for voltage to vsel and vsel to voltage calculations from TWL4030. 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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
index d849e0071b94..aac9bacf1bd1 100644
--- a/arch/arm/mach-omap2/pm.c
+++ b/arch/arm/mach-omap2/pm.c
@@ -240,6 +240,7 @@ static int __init omap2_common_pm_late_init(void)
{
/* Init the OMAP TWL parameters */
omap3_twl_init();
+ omap4_twl_init();
/* Init the voltage layer */
omap_voltage_late_init();