Kconfig 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. menuconfig POWER_SUPPLY
  2. tristate "Power supply class support"
  3. help
  4. Say Y here to enable power supply class support. This allows
  5. power supply (batteries, AC, USB) monitoring by userspace
  6. via sysfs and uevent (if available) and/or APM kernel interface
  7. (if selected below).
  8. if POWER_SUPPLY
  9. config POWER_SUPPLY_DEBUG
  10. bool "Power supply debug"
  11. help
  12. Say Y here to enable debugging messages for power supply class
  13. and drivers.
  14. config PDA_POWER
  15. tristate "Generic PDA/phone power driver"
  16. depends on !S390
  17. help
  18. Say Y here to enable generic power driver for PDAs and phones with
  19. one or two external power supplies (AC/USB) connected to main and
  20. backup batteries, and optional builtin charger.
  21. config APM_POWER
  22. tristate "APM emulation for class batteries"
  23. depends on APM_EMULATION
  24. help
  25. Say Y here to enable support APM status emulation using
  26. battery class devices.
  27. config MAX8925_POWER
  28. tristate "MAX8925 battery charger support"
  29. depends on MFD_MAX8925
  30. help
  31. Say Y here to enable support for the battery charger in the Maxim
  32. MAX8925 PMIC.
  33. config WM831X_BACKUP
  34. tristate "WM831X backup battery charger support"
  35. depends on MFD_WM831X
  36. help
  37. Say Y here to enable support for the backup battery charger
  38. in the Wolfson Microelectronics WM831x PMICs.
  39. config WM831X_POWER
  40. tristate "WM831X PMU support"
  41. depends on MFD_WM831X
  42. help
  43. Say Y here to enable support for the power management unit
  44. provided by Wolfson Microelectronics WM831x PMICs.
  45. config WM8350_POWER
  46. tristate "WM8350 PMU support"
  47. depends on MFD_WM8350
  48. help
  49. Say Y here to enable support for the power management unit
  50. provided by the Wolfson Microelectronics WM8350 PMIC.
  51. config TEST_POWER
  52. tristate "Test power driver"
  53. help
  54. This driver is used for testing. It's safe to say M here.
  55. config BATTERY_DS2760
  56. tristate "DS2760 battery driver (HP iPAQ & others)"
  57. depends on W1 && W1_SLAVE_DS2760
  58. help
  59. Say Y here to enable support for batteries with ds2760 chip.
  60. config BATTERY_DS2780
  61. tristate "DS2780 battery driver"
  62. select W1
  63. select W1_SLAVE_DS2780
  64. help
  65. Say Y here to enable support for batteries with ds2780 chip.
  66. config BATTERY_DS2782
  67. tristate "DS2782/DS2786 standalone gas-gauge"
  68. depends on I2C
  69. help
  70. Say Y here to enable support for the DS2782/DS2786 standalone battery
  71. gas-gauge.
  72. config BATTERY_PMU
  73. tristate "Apple PMU battery"
  74. depends on PPC32 && ADB_PMU
  75. help
  76. Say Y here to expose battery information on Apple machines
  77. through the generic battery class.
  78. config BATTERY_OLPC
  79. tristate "One Laptop Per Child battery"
  80. depends on X86_32 && OLPC
  81. help
  82. Say Y to enable support for the battery on the OLPC laptop.
  83. config BATTERY_TOSA
  84. tristate "Sharp SL-6000 (tosa) battery"
  85. depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
  86. help
  87. Say Y to enable support for the battery on the Sharp Zaurus
  88. SL-6000 (tosa) models.
  89. config BATTERY_COLLIE
  90. tristate "Sharp SL-5500 (collie) battery"
  91. depends on SA1100_COLLIE && MCP_UCB1200
  92. help
  93. Say Y to enable support for the battery on the Sharp Zaurus
  94. SL-5500 (collie) models.
  95. config BATTERY_WM97XX
  96. bool "WM97xx generic battery driver"
  97. depends on TOUCHSCREEN_WM97XX=y
  98. help
  99. Say Y to enable support for battery measured by WM97xx aux port.
  100. config BATTERY_BQ20Z75
  101. tristate "TI BQ20z75 gas gauge"
  102. depends on I2C
  103. help
  104. Say Y to include support for TI BQ20z75 SBS-compliant
  105. gas gauge and protection IC.
  106. config BATTERY_BQ27x00
  107. tristate "BQ27x00 battery driver"
  108. help
  109. Say Y here to enable support for batteries with BQ27x00 (I2C/HDQ) chips.
  110. config BATTERY_BQ27X00_I2C
  111. bool "BQ27200/BQ27500 support"
  112. depends on BATTERY_BQ27x00
  113. depends on I2C
  114. default y
  115. help
  116. Say Y here to enable support for batteries with BQ27x00 (I2C) chips.
  117. config BATTERY_BQ27X00_PLATFORM
  118. bool "BQ27000 support"
  119. depends on BATTERY_BQ27x00
  120. default y
  121. help
  122. Say Y here to enable support for batteries with BQ27000 (HDQ) chips.
  123. config BATTERY_DA9030
  124. tristate "DA9030 battery driver"
  125. depends on PMIC_DA903X
  126. help
  127. Say Y here to enable support for batteries charger integrated into
  128. DA9030 PMIC.
  129. config BATTERY_MAX17040
  130. tristate "Maxim MAX17040 Fuel Gauge"
  131. depends on I2C
  132. help
  133. MAX17040 is fuel-gauge systems for lithium-ion (Li+) batteries
  134. in handheld and portable equipment. The MAX17040 is configured
  135. to operate with a single lithium cell
  136. config BATTERY_MAX17042
  137. tristate "Maxim MAX17042/8997/8966 Fuel Gauge"
  138. depends on I2C
  139. help
  140. MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
  141. in handheld and portable equipment. The MAX17042 is configured
  142. to operate with a single lithium cell. MAX8997 and MAX8966 are
  143. multi-function devices that include fuel gauages that are compatible
  144. with MAX17042.
  145. config BATTERY_Z2
  146. tristate "Z2 battery driver"
  147. depends on I2C && MACH_ZIPIT2
  148. help
  149. Say Y to include support for the battery on the Zipit Z2.
  150. config BATTERY_S3C_ADC
  151. tristate "Battery driver for Samsung ADC based monitoring"
  152. depends on S3C_ADC
  153. help
  154. Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery
  155. config CHARGER_PCF50633
  156. tristate "NXP PCF50633 MBC"
  157. depends on MFD_PCF50633
  158. help
  159. Say Y to include support for NXP PCF50633 Main Battery Charger.
  160. config BATTERY_JZ4740
  161. tristate "Ingenic JZ4740 battery"
  162. depends on MACH_JZ4740
  163. depends on MFD_JZ4740_ADC
  164. help
  165. Say Y to enable support for the battery on Ingenic JZ4740 based
  166. boards.
  167. This driver can be build as a module. If so, the module will be
  168. called jz4740-battery.
  169. config BATTERY_INTEL_MID
  170. tristate "Battery driver for Intel MID platforms"
  171. depends on INTEL_SCU_IPC && SPI
  172. help
  173. Say Y here to enable the battery driver on Intel MID
  174. platforms.
  175. config CHARGER_ISP1704
  176. tristate "ISP1704 USB Charger Detection"
  177. depends on USB_OTG_UTILS
  178. help
  179. Say Y to enable support for USB Charger Detection with
  180. ISP1707/ISP1704 USB transceivers.
  181. config CHARGER_MAX8903
  182. tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
  183. depends on GENERIC_HARDIRQS
  184. help
  185. Say Y to enable support for the MAX8903 DC-DC charger and sysfs.
  186. The driver supports controlling charger-enable and current-limit
  187. pins based on the status of charger connections with interrupt
  188. handlers.
  189. config CHARGER_TWL4030
  190. tristate "OMAP TWL4030 BCI charger driver"
  191. depends on TWL4030_CORE
  192. help
  193. Say Y here to enable support for TWL4030 Battery Charge Interface.
  194. config CHARGER_GPIO
  195. tristate "GPIO charger"
  196. depends on GPIOLIB
  197. help
  198. Say Y to include support for chargers which report their online status
  199. through a GPIO pin.
  200. This driver can be build as a module. If so, the module will be
  201. called gpio-charger.
  202. endif # POWER_SUPPLY