ARMV7: OMAP4: twl6030 add battery charging support

Add battery charging support twl6030 driver.
Add support for battery voltage and current measurements.
Add command to get battery status and start/stop battery charging from USB.

Signed-off-by: Balaji T K <balajitk@ti.com>
Tested-by: Steve Sakoman <steve.sakoman@linaro.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
This commit is contained in:
Balaji T K
2010-11-25 16:22:04 +05:30
committed by Sandeep Paulraj
parent 917a62c0d2
commit 3e664f6d50
6 changed files with 229 additions and 5 deletions

View File

@@ -102,6 +102,7 @@
/* TWL6030 */
#define CONFIG_TWL6030_POWER 1
#define CONFIG_CMD_BAT 1
/* MMC */
#define CONFIG_GENERIC_MMC 1