summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/Kconfig
diff options
context:
space:
mode:
authorArtur Rojek <contact@artur-rojek.eu>2019-04-18 20:24:04 +0200
committerSebastian Reichel <sre@kernel.org>2019-04-18 21:35:49 +0200
commitfb24ccfbe1e0ae176244733ae300cdab7cc070f7 (patch)
tree190db9e852ea7845ae04f9ecc6fbe9c866f0f2d2 /drivers/power/supply/Kconfig
parentbbdfeea2c6da271813a29344c8515220d0413daf (diff)
downloadlinux-stable-fb24ccfbe1e0ae176244733ae300cdab7cc070f7.tar.gz
linux-stable-fb24ccfbe1e0ae176244733ae300cdab7cc070f7.tar.bz2
linux-stable-fb24ccfbe1e0ae176244733ae300cdab7cc070f7.zip
power: supply: add Ingenic JZ47xx battery driver.
Add a driver for battery present on Ingenic JZ47xx SoCs. Signed-off-by: Artur Rojek <contact@artur-rojek.eu> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r--drivers/power/supply/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index e907521a7166..4728a218656f 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -169,6 +169,17 @@ config BATTERY_COLLIE
Say Y to enable support for the battery on the Sharp Zaurus
SL-5500 (collie) models.
+config BATTERY_INGENIC
+ tristate "Ingenic JZ47xx SoCs battery driver"
+ depends on MIPS || COMPILE_TEST
+ depends on INGENIC_ADC
+ help
+ Choose this option if you want to monitor battery status on
+ Ingenic JZ47xx SoC based devices.
+
+ This driver can also be built as a module. If so, the module will be
+ called ingenic-battery.
+
config BATTERY_IPAQ_MICRO
tristate "iPAQ Atmel Micro ASIC battery driver"
depends on MFD_IPAQ_MICRO