diff options
author | Donggeun Kim <dg77.kim@samsung.com> | 2011-12-27 04:47:48 -0500 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2012-01-03 23:08:27 -0500 |
commit | 3bb3dbbd56ea39e5537db8f8041ea95d28f16a7f (patch) | |
tree | b660ceed66ef404530109f9670b63640bd2be4b6 /drivers/power/Kconfig | |
parent | 00a159a5567232fbe1dd85bc611c55f53943b0fc (diff) |
power_supply: Add initial Charger-Manager driver
Because battery health monitoring should be done even when suspended,
it needs to wake up and suspend periodically. Thus, userspace battery
monitoring may incur too much overhead; every device and task is woken
up periodically. Charger Manager uses suspend-again to provide
in-suspend monitoring.
This patch allows to monitor battery health in-suspend state.
Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r-- | drivers/power/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 57de051a74b3..363f4d1ae067 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig | |||
@@ -235,6 +235,16 @@ config CHARGER_GPIO | |||
235 | This driver can be build as a module. If so, the module will be | 235 | This driver can be build as a module. If so, the module will be |
236 | called gpio-charger. | 236 | called gpio-charger. |
237 | 237 | ||
238 | config CHARGER_MANAGER | ||
239 | bool "Battery charger manager for multiple chargers" | ||
240 | depends on REGULATOR && RTC_CLASS | ||
241 | help | ||
242 | Say Y to enable charger-manager support, which allows multiple | ||
243 | chargers attached to a battery and multiple batteries attached to a | ||
244 | system. The charger-manager also can monitor charging status in | ||
245 | runtime and in suspend-to-RAM by waking up the system periodically | ||
246 | with help of suspend_again support. | ||
247 | |||
238 | config CHARGER_MAX8997 | 248 | config CHARGER_MAX8997 |
239 | tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver" | 249 | tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver" |
240 | depends on MFD_MAX8997 && REGULATOR_MAX8997 | 250 | depends on MFD_MAX8997 && REGULATOR_MAX8997 |