From 275ac74629c4d8ec430d7edecb16d936f46a47c5 Mon Sep 17 00:00:00 2001 From: Clifton Barnes Date: Thu, 26 May 2011 16:26:04 -0700 Subject: w1: add Maxim/Dallas DS2780 Stand-Alone Fuel Gauge IC support Add support for the Maxim/Dallas DS2780 Stand-Alone Fuel Gauge IC. It was suggested to combine this functionality with the current ds2782 driver. Unfortunately, I'm unable to commit the time to refactoring this driver to that extent and I don't have a platform with the ds2782 part to validate that there are no regression issues by adding this functionality. [akpm@linux-foundation.org: use min_t()] Signed-off-by: Clifton Barnes Tested-by: Haojian Zhuang Cc: Evgeniy Polyakov Cc: Ryan Mallon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/power/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/power/Kconfig') diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 52a462fc6b84..dc8c531ed276 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -68,6 +68,13 @@ config BATTERY_DS2760 help Say Y here to enable support for batteries with ds2760 chip. +config BATTERY_DS2780 + tristate "DS2780 battery driver" + select W1 + select W1_SLAVE_DS2780 + help + Say Y here to enable support for batteries with ds2780 chip. + config BATTERY_DS2782 tristate "DS2782/DS2786 standalone gas-gauge" depends on I2C -- cgit v1.2.3