[U-Boot] [RFC PATCH v2 0/2] ARMV7: OMAP4: Add support for twl6032
Oleg Kosheliev
oleg.kosheliev at globallogic.com
Tue Oct 8 14:49:54 CEST 2013
From: Oleg Kosheliev <oleg.kosheliev at globallogic.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.
Changes in v2:
- removed typedef for twl603x_chip_type
- printf replaced with puts
Oleg Kosheliev (2):
ARMV7: OMAP4: Add struct for twl603x data
ARMV7: OMAP4: Add twl6032 support
drivers/power/twl6030.c | 77 +++++++++++++++++++++++++++++++++++++++++------
include/twl6030.h | 38 +++++++++++++++++++++++
2 files changed, 105 insertions(+), 10 deletions(-)
--
1.7.9.5
More information about the U-Boot
mailing list