b996ad0e9f
These battery managers came in two different packages: one for I2C busses (BQ27200) and one for HDQ busses (BQ27000). This driver currently supports only the I2C chip version but the code is designed in order to easily allow the HDQ chip version integration. [akpm@linux-foundation.org: coding-style fixes] [akpm@linux-foundation.org: make things static, use kasprintf()] Signed-off-by: Rodolfo Giometti <giometti@linux.it> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
71 lines
1.9 KiB
Text
71 lines
1.9 KiB
Text
menuconfig POWER_SUPPLY
|
|
tristate "Power supply class support"
|
|
help
|
|
Say Y here to enable power supply class support. This allows
|
|
power supply (batteries, AC, USB) monitoring by userspace
|
|
via sysfs and uevent (if available) and/or APM kernel interface
|
|
(if selected below).
|
|
|
|
if POWER_SUPPLY
|
|
|
|
config POWER_SUPPLY_DEBUG
|
|
bool "Power supply debug"
|
|
help
|
|
Say Y here to enable debugging messages for power supply class
|
|
and drivers.
|
|
|
|
config PDA_POWER
|
|
tristate "Generic PDA/phone power driver"
|
|
depends on !S390
|
|
help
|
|
Say Y here to enable generic power driver for PDAs and phones with
|
|
one or two external power supplies (AC/USB) connected to main and
|
|
backup batteries, and optional builtin charger.
|
|
|
|
config APM_POWER
|
|
tristate "APM emulation for class batteries"
|
|
depends on APM_EMULATION
|
|
help
|
|
Say Y here to enable support APM status emulation using
|
|
battery class devices.
|
|
|
|
config BATTERY_DS2760
|
|
tristate "DS2760 battery driver (HP iPAQ & others)"
|
|
select W1
|
|
select W1_SLAVE_DS2760
|
|
help
|
|
Say Y here to enable support for batteries with ds2760 chip.
|
|
|
|
config BATTERY_PMU
|
|
tristate "Apple PMU battery"
|
|
depends on PPC32 && ADB_PMU
|
|
help
|
|
Say Y here to expose battery information on Apple machines
|
|
through the generic battery class.
|
|
|
|
config BATTERY_OLPC
|
|
tristate "One Laptop Per Child battery"
|
|
depends on X86_32 && OLPC
|
|
help
|
|
Say Y to enable support for the battery on the OLPC laptop.
|
|
|
|
config BATTERY_TOSA
|
|
tristate "Sharp SL-6000 (tosa) battery"
|
|
depends on MACH_TOSA && MFD_TC6393XB
|
|
help
|
|
Say Y to enable support for the battery on the Sharp Zaurus
|
|
SL-6000 (tosa) models.
|
|
|
|
config BATTERY_PALMTX
|
|
tristate "Palm T|X battery"
|
|
depends on MACH_PALMTX
|
|
help
|
|
Say Y to enable support for the battery in Palm T|X.
|
|
|
|
config BATTERY_BQ27x00
|
|
tristate "BQ27200 battery driver"
|
|
depends on I2C
|
|
help
|
|
Say Y here to enable support for batteries with BQ27200(I2C) chip.
|
|
|
|
endif # POWER_SUPPLY
|