summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/Kconfig
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2018-11-05 15:39:11 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2018-11-09 22:55:46 +0100
commit195ca1703784d1fbc34b38019aedcb74f08154f1 (patch)
tree0e11d0f31ff4a2af36bd33ab0be1d818070de3f2 /drivers/power/supply/Kconfig
parent0d5f2e6e9c792d557a2a17c484b1a191c7cd9d6e (diff)
downloadlinux-stable-195ca1703784d1fbc34b38019aedcb74f08154f1.tar.gz
linux-stable-195ca1703784d1fbc34b38019aedcb74f08154f1.tar.bz2
linux-stable-195ca1703784d1fbc34b38019aedcb74f08154f1.zip
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/Kconfig7
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