diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-06-19 00:08:29 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:26:20 -0400 |
commit | f6a21388bd255773cc80d4423afb4c69d4daa173 (patch) | |
tree | 4d331d997e84ca319c935383040d6ac409d7ea14 /drivers/power/Kconfig | |
parent | 7f983ba93d449972d5f372f12c6ad32d86ef30b4 (diff) |
POWER: Add JZ4740 battery driver.
Add support for the battery voltage measurement part of the JZ4740 ADC unit.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1416/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r-- | drivers/power/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 8e9ba177d817..1e5506be39b4 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig | |||
@@ -142,4 +142,15 @@ config CHARGER_PCF50633 | |||
142 | help | 142 | help |
143 | Say Y to include support for NXP PCF50633 Main Battery Charger. | 143 | Say Y to include support for NXP PCF50633 Main Battery Charger. |
144 | 144 | ||
145 | config BATTERY_JZ4740 | ||
146 | tristate "Ingenic JZ4740 battery" | ||
147 | depends on MACH_JZ4740 | ||
148 | depends on MFD_JZ4740_ADC | ||
149 | help | ||
150 | Say Y to enable support for the battery on Ingenic JZ4740 based | ||
151 | boards. | ||
152 | |||
153 | This driver can be build as a module. If so, the module will be | ||
154 | called jz4740-battery. | ||
155 | |||
145 | endif # POWER_SUPPLY | 156 | endif # POWER_SUPPLY |