summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalaji T K <balajitk@ti.com>2010-01-22 17:35:38 +0530
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2010-01-22 18:05:08 +0530
commit03e0b3ec26ffa57971b3bc2a3be186ad5d1d7bcb (patch)
treebb88e16ebc0af9a8594100a34719747bf0ea0213
parenta6b889190f630893e8c635f5fdeaae3bfa9953f2 (diff)
Enable power supply class
Enable power supply class, BCI CONFIG, gpadc Signed-off-by: Balaji T K <balajitk@ti.com>
-rw-r--r--arch/arm/configs/omap_4430sdp_defconfig5
-rw-r--r--drivers/power/Kconfig7
2 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/configs/omap_4430sdp_defconfig b/arch/arm/configs/omap_4430sdp_defconfig
index 38ffdf138cc6..738bdba89d88 100644
--- a/arch/arm/configs/omap_4430sdp_defconfig
+++ b/arch/arm/configs/omap_4430sdp_defconfig
@@ -701,7 +701,7 @@ CONFIG_GPIOLIB=y
# CONFIG_GPIO_MAX7301 is not set
# CONFIG_GPIO_MCP23S08 is not set
# CONFIG_W1 is not set
-# CONFIG_POWER_SUPPLY is not set
+CONFIG_POWER_SUPPLY=y
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
# CONFIG_THERMAL_HWMON is not set
@@ -731,7 +731,8 @@ CONFIG_SSB_POSSIBLE=y
# CONFIG_TPS65010 is not set
# CONFIG_TWL4030_CORE is not set
CONFIG_TWL6030_CORE=y
-# CONFIG_TWL6030_GPADC is not set
+CONFIG_TWL6030_GPADC=y
+CONFIG_TWL4030_BCI_BATTERY=y
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_T7L66XB is not set
# CONFIG_MFD_TC6387XB is not set
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index bdbc4f73fcdc..c2fa50c48b91 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -70,6 +70,13 @@ config BATTERY_TOSA
Say Y to enable support for the battery on the Sharp Zaurus
SL-6000 (tosa) models.
+config TWL4030_BCI_BATTERY
+ tristate "OMAP TWL6030 BCI Battery driver"
+ depends on TWL6030_CORE && TWL6030_GPADC
+ help
+ Support for OMAP TWL6030 BCI Battery driver.
+ This driver can give support for TWL6030 Battery Charge Interface.
+
config BATTERY_WM97XX
bool "WM97xx generic battery driver"
depends on TOUCHSCREEN_WM97XX=y