
From: Oleg Kosheliev oleg.kosheliev@ti.com
TWL6032 is a companion Power Management IC (PMIC) of OMAP4470. This chip is similar to TWL6030 but has slight difference in some registers e.g. for GPADC. In u-boot only TWL6030 is supported now, thus there is no ability to boot OMAP4470 with TWL6032 because u-boot hangs when attempts to get the battery voltage from GPADC using false ctrl register address. These patches add the detection of the TWL chip type and support for TWL6032 chip in the battery charger driver.
Oleg Kosheliev (2): ARMV7: OMAP4: Add struct for twl603x data ARMV7: OMAP4: Add twl6032 support
drivers/power/twl6030.c | 79 +++++++++++++++++++++++++++++++++++++++++------ include/twl6030.h | 38 +++++++++++++++++++++++ 2 files changed, 107 insertions(+), 10 deletions(-)