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>
This commit is contained in:
committed by
Kevin Hilman
parent
1482d8be55
commit
7bc3ed9ae6
@@ -126,11 +126,16 @@ static inline void omap_enable_smartreflex_on_init(void) {}
|
||||
|
||||
#ifdef CONFIG_TWL4030_CORE
|
||||
extern int omap3_twl_init(void);
|
||||
extern int omap4_twl_init(void);
|
||||
#else
|
||||
static inline int omap3_twl_init(void)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
static inline int omap4_twl_init(void)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user