aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.h
diff options
context:
space:
mode:
authorThara Gopinath <thara@ti.com>2010-12-10 12:45:16 -0500
committerKevin Hilman <khilman@deeprootsystems.com>2010-12-22 17:31:45 -0500
commit7bc3ed9ae632b9c94d3721d555d3452e24ca8ee3 (patch)
tree2781b54bdc5434225d0005f854ab28d99d81c0fc /arch/arm/mach-omap2/pm.h
parent1482d8be5525eccdec6286677d40af29da03a30c (diff)
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.h')
-rw-r--r--arch/arm/mach-omap2/pm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h
index c975a79691b7..1c1b0ab5b978 100644
--- a/arch/arm/mach-omap2/pm.h
+++ b/arch/arm/mach-omap2/pm.h
@@ -126,11 +126,16 @@ static inline void omap_enable_smartreflex_on_init(void) {}
126 126
127#ifdef CONFIG_TWL4030_CORE 127#ifdef CONFIG_TWL4030_CORE
128extern int omap3_twl_init(void); 128extern int omap3_twl_init(void);
129extern int omap4_twl_init(void);
129#else 130#else
130static inline int omap3_twl_init(void) 131static inline int omap3_twl_init(void)
131{ 132{
132 return -EINVAL; 133 return -EINVAL;
133} 134}
135static inline int omap4_twl_init(void)
136{
137 return -EINVAL;
138}
134#endif 139#endif
135 140
136#endif 141#endif