diff options
author | Marek Belisko <marek@goldelico.com> | 2013-08-29 11:41:52 +0200 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-08-30 17:34:52 -0700 |
commit | da0a00ebc239e852a504abfce2ad98957434ae58 (patch) | |
tree | 41d425b54ecc8302100ce355d5eca786f1fc6f30 /drivers/power/Kconfig | |
parent | d24fed391dc50f68d27a57364e51888b3a9266b6 (diff) | |
download | linux-da0a00ebc239e852a504abfce2ad98957434ae58.tar.gz linux-da0a00ebc239e852a504abfce2ad98957434ae58.tar.bz2 linux-da0a00ebc239e852a504abfce2ad98957434ae58.zip |
power: Add twl4030_madc battery driver.
This driver is used and tested on gta04 phone. It's using twl4030_madc
(similar to rx51 existing driver). Driver also implement charging and
discharging calibration data so user can define ranges and level.
Signed-off-by: Marek Belisko <marek@goldelico.com>
Signed-off-by: Lukas Märdian <lukas@goldelico.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r-- | drivers/power/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index e8970a65ba52..bb49ab684f9a 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -216,6 +216,13 @@ config BATTERY_S3C_ADC help Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery +config BATTERY_TWL4030_MADC + tristate "TWL4030 MADC battery driver" + depends on TWL4030_MADC + help + Say Y here to enable this dumb driver for batteries managed + through the TWL4030 MADC. + config CHARGER_88PM860X tristate "Marvell 88PM860x Charger driver" depends on MFD_88PM860X && BATTERY_88PM860X |