diff options
author | Clifton Barnes <cabarnes@indesign-llc.com> | 2011-05-26 19:26:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-26 20:12:38 -0400 |
commit | 275ac74629c4d8ec430d7edecb16d936f46a47c5 (patch) | |
tree | 4b1afa61ec2547d10f07084d9c33fd96d28350a5 /drivers/w1/slaves/Kconfig | |
parent | 963bb101010169b9bb32b5c21af785e2f9abdaf3 (diff) |
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 <cabarnes@indesign-llc.com>
Tested-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Cc: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/w1/slaves/Kconfig')
-rw-r--r-- | drivers/w1/slaves/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/w1/slaves/Kconfig b/drivers/w1/slaves/Kconfig index cd1b72411bd4..d0cb01b42012 100644 --- a/drivers/w1/slaves/Kconfig +++ b/drivers/w1/slaves/Kconfig | |||
@@ -68,6 +68,19 @@ config W1_SLAVE_DS2760 | |||
68 | 68 | ||
69 | If you are unsure, say N. | 69 | If you are unsure, say N. |
70 | 70 | ||
71 | config W1_SLAVE_DS2780 | ||
72 | tristate "Dallas 2780 battery monitor chip" | ||
73 | depends on W1 | ||
74 | help | ||
75 | If you enable this you will have the DS2780 battery monitor | ||
76 | chip support. | ||
77 | |||
78 | The battery monitor chip is used in many batteries/devices | ||
79 | as the one who is responsible for charging/discharging/monitoring | ||
80 | Li+ batteries. | ||
81 | |||
82 | If you are unsure, say N. | ||
83 | |||
71 | config W1_SLAVE_BQ27000 | 84 | config W1_SLAVE_BQ27000 |
72 | tristate "BQ27000 slave support" | 85 | tristate "BQ27000 slave support" |
73 | depends on W1 | 86 | depends on W1 |