aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/Kconfig
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-09-05 06:43:21 -0400
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-09-20 18:11:54 -0400
commit98a2766493589c18c327ae3dad5243b53fcb5f70 (patch)
tree987d5c86d80eb69fc0aa50880aa4ceff53ebde12 /drivers/power/Kconfig
parentf4f95adf7caa9078e15c55407573208683dcb1b7 (diff)
power_supply: Add new lp8788 charger driver
TI LP8788 PMU supports regulators, battery charger, RTC, ADC, backlight driver and current sinks. This patch supports the charger operations including the charger interrupt handling. The LP8788 charger driver provides configurable platform data. The charger platform data includes ADC input ID, maximum battery voltage, charging parameters and etc. The ADC input is used for getting the battery voltage and temperature. Charging parameters are used for updating the charger operations such like setting charging current and setting End-of-charge conditions. When the charging interrupt occurs, power supply uevents are generated in order to update the user-space information. For platform specific charger action, the charger_event() function can be used in the platform side. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r--drivers/power/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index fcc1bb076217..4ec2ff0ee4a2 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -254,6 +254,13 @@ config CHARGER_LP8727
254 help 254 help
255 Say Y here to enable support for LP8727 Charger Driver. 255 Say Y here to enable support for LP8727 Charger Driver.
256 256
257config CHARGER_LP8788
258 tristate "TI LP8788 charger driver"
259 depends on MFD_LP8788
260 depends on LP8788_ADC
261 help
262 Say Y to enable support for the LP8788 linear charger.
263
257config CHARGER_GPIO 264config CHARGER_GPIO
258 tristate "GPIO charger" 265 tristate "GPIO charger"
259 depends on GPIOLIB 266 depends on GPIOLIB