aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.h
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.h
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.h')
-rw-r--r--arch/arm/mach-omap2/pm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h
index cc9f18b5c61d..c975a79691b7 100644
--- a/arch/arm/mach-omap2/pm.h
+++ b/arch/arm/mach-omap2/pm.h
@@ -124,4 +124,13 @@ static inline int omap_devinit_smartreflex(void)
124static inline void omap_enable_smartreflex_on_init(void) {} 124static inline void omap_enable_smartreflex_on_init(void) {}
125#endif 125#endif
126 126
127#ifdef CONFIG_TWL4030_CORE
128extern int omap3_twl_init(void);
129#else
130static inline int omap3_twl_init(void)
131{
132 return -EINVAL;
133}
134#endif
135
127#endif 136#endif