Kconfig 1.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
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.

17 18 19 20 21 22 23
config PDA_POWER
	tristate "Generic PDA/phone power driver"
	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.

24 25 26 27 28 29 30
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.

31 32 33 34 35 36 37
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.

D
David Woodhouse 已提交
38 39 40 41 42 43 44
config BATTERY_PMU
	tristate "Apple PMU battery"
	depends on ADB_PMU
	help
	  Say Y here to expose battery information on Apple machines
	  through the generic battery class.

45 46 47 48 49 50
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.

51
endif # POWER_SUPPLY