summaryrefslogtreecommitdiff
path: root/drivers/power/Kconfig
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2013-01-25 15:30:00 +0000
committerAnton Vorontsov <anton@enomsg.org>2013-02-02 19:06:34 -0800
commit84d7b768748943db2bb658b43931fdab04c224cc (patch)
tree8fc3e930ba86848187820d89157fa88ec80f946b /drivers/power/Kconfig
parent8fd526fd18233887ba652079a369f4eee0de9d9d (diff)
downloadlinux-stable-84d7b768748943db2bb658b43931fdab04c224cc.tar.gz
linux-stable-84d7b768748943db2bb658b43931fdab04c224cc.tar.bz2
linux-stable-84d7b768748943db2bb658b43931fdab04c224cc.zip
power: Add battery driver for goldfish emulator
Add the emulated power driver for the Goldfish platform. This folds together the code from the Google tree, Jun Nakajima's cleanups and x86 porting work, and then a tidy up to pass checkpatch. Signed-off-by: Mike A. Chan <mikechan@google.com> [cleanup and x86 support] Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com> Signed-off-by: Jun Nakajima <jun.nakajima@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> [ported to 3.4] Signed-off-by: Tom Keel <thomas.keel@intel.com> [ported to 3.7 and final tidy] Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r--drivers/power/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 9f45e2f77d53..1ae51551c9ff 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -346,6 +346,12 @@ config AB8500_BM
help
Say Y to include support for AB8500 battery management.
+config BATTERY_GOLDFISH
+ tristate "Goldfish battery driver"
+ help
+ Say Y to enable support for the battery and AC power in the
+ Goldfish emulator.
+
source "drivers/power/reset/Kconfig"
endif # POWER_SUPPLY