diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-11-05 10:39:11 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2018-11-10 00:55:46 +0300 |
commit | 195ca1703784d1fbc34b38019aedcb74f08154f1 (patch) | |
tree | 0e11d0f31ff4a2af36bd33ab0be1d818070de3f2 /drivers/power/supply/Kconfig | |
parent | 0d5f2e6e9c792d557a2a17c484b1a191c7cd9d6e (diff) | |
download | linux-195ca1703784d1fbc34b38019aedcb74f08154f1.tar.xz |
power: supply: Add Spreadtrum SC27XX fuel gauge unit driver
This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support,
which is used to calculate the battery capacity.
Original-by: Yuanjiang Yu <yuanjiang.yu@unisoc.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r-- | drivers/power/supply/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index f27cf0709500..917f4b7f3fd1 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -652,4 +652,11 @@ config CHARGER_SC2731 Say Y here to enable support for battery charging with SC2731 PMIC chips. +config FUEL_GAUGE_SC27XX + tristate "Spreadtrum SC27XX fuel gauge driver" + depends on MFD_SC27XX_PMIC || COMPILE_TEST + help + Say Y here to enable support for fuel gauge with SC27XX + PMIC chips. + endif # POWER_SUPPLY |