diff options
author | Beomho Seo <beomho.seo@samsung.com> | 2015-01-09 11:45:11 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-01-20 15:58:31 +0300 |
commit | b847dd96e659c13be9d94c3c19b51cdf0feb1c99 (patch) | |
tree | d162b0412438418f4ee56fb92bc203b5bd7f0e13 /drivers/power/Kconfig | |
parent | 0f2ecb8fa29a0bcda8385bc2277d83e3aeaa2b75 (diff) | |
download | linux-b847dd96e659c13be9d94c3c19b51cdf0feb1c99.tar.xz |
power: rt5033_battery: Add RT5033 Fuel gauge device driver
This patch adds device driver of Richtek PMIC.
The driver support battery fuel gauge. Fuel gauge calculates and determines the
battery state of charge (SOC) according to battery open circuit voltage (OCV).
Also, this driver provides battery average voltage, voltage and battery present
property.
Cc: Sebastian Reichel <sre@kernel.org>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r-- | drivers/power/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 0108c2af005b..da6981f92697 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -397,6 +397,14 @@ config BATTERY_GOLDFISH Say Y to enable support for the battery and AC power in the Goldfish emulator. +config BATTERY_RT5033 + tristate "RT5033 fuel gauge support" + depends on MFD_RT5033 + help + This adds support for battery fuel gauge in Richtek RT5033 PMIC. + The fuelgauge calculates and determines the battery state of charge + according to battery open circuit voltage. + source "drivers/power/reset/Kconfig" endif # POWER_SUPPLY |