Kconfig 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. menuconfig POWER_SUPPLY
  2. bool "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. depends on HAS_IOMEM
  63. select W1
  64. select W1_SLAVE_DS2780
  65. help
  66. Say Y here to enable support for batteries with ds2780 chip.
  67. config BATTERY_DS2781
  68. tristate "DS2781 battery driver"
  69. depends on HAS_IOMEM
  70. select W1
  71. select W1_SLAVE_DS2781
  72. help
  73. If you enable this you will have the DS2781 battery driver support.
  74. The battery monitor chip is used in many batteries/devices
  75. as the one who is responsible for charging/discharging/monitoring
  76. Li+ batteries.
  77. If you are unsure, say N.
  78. config BATTERY_DS2782
  79. tristate "DS2782/DS2786 standalone gas-gauge"
  80. depends on I2C
  81. help
  82. Say Y here to enable support for the DS2782/DS2786 standalone battery
  83. gas-gauge.
  84. config BATTERY_PMU
  85. tristate "Apple PMU battery"
  86. depends on PPC32 && ADB_PMU
  87. help
  88. Say Y here to expose battery information on Apple machines
  89. through the generic battery class.
  90. config BATTERY_OLPC
  91. tristate "One Laptop Per Child battery"
  92. depends on X86_32 && OLPC
  93. help
  94. Say Y to enable support for the battery on the OLPC laptop.
  95. config BATTERY_TOSA
  96. tristate "Sharp SL-6000 (tosa) battery"
  97. depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
  98. help
  99. Say Y to enable support for the battery on the Sharp Zaurus
  100. SL-6000 (tosa) models.
  101. config BATTERY_COLLIE
  102. tristate "Sharp SL-5500 (collie) battery"
  103. depends on SA1100_COLLIE && MCP_UCB1200
  104. help
  105. Say Y to enable support for the battery on the Sharp Zaurus
  106. SL-5500 (collie) models.
  107. config BATTERY_WM97XX
  108. bool "WM97xx generic battery driver"
  109. depends on TOUCHSCREEN_WM97XX=y
  110. help
  111. Say Y to enable support for battery measured by WM97xx aux port.
  112. config BATTERY_SBS
  113. tristate "SBS Compliant gas gauge"
  114. depends on I2C
  115. help
  116. Say Y to include support for SBS battery driver for SBS-compliant
  117. gas gauges.
  118. config BATTERY_BQ27x00
  119. tristate "BQ27x00 battery driver"
  120. help
  121. Say Y here to enable support for batteries with BQ27x00 (I2C/HDQ) chips.
  122. config BATTERY_BQ27X00_I2C
  123. bool "BQ27200/BQ27500 support"
  124. depends on BATTERY_BQ27x00
  125. depends on I2C
  126. default y
  127. help
  128. Say Y here to enable support for batteries with BQ27x00 (I2C) chips.
  129. config BATTERY_BQ27X00_PLATFORM
  130. bool "BQ27000 support"
  131. depends on BATTERY_BQ27x00
  132. default y
  133. help
  134. Say Y here to enable support for batteries with BQ27000 (HDQ) chips.
  135. config BATTERY_DA9030
  136. tristate "DA9030 battery driver"
  137. depends on PMIC_DA903X
  138. help
  139. Say Y here to enable support for batteries charger integrated into
  140. DA9030 PMIC.
  141. config BATTERY_DA9052
  142. tristate "Dialog DA9052 Battery"
  143. depends on PMIC_DA9052
  144. depends on BROKEN
  145. help
  146. Say Y here to enable support for batteries charger integrated into
  147. DA9052 PMIC.
  148. config BATTERY_MAX17040
  149. tristate "Maxim MAX17040 Fuel Gauge"
  150. depends on I2C
  151. help
  152. MAX17040 is fuel-gauge systems for lithium-ion (Li+) batteries
  153. in handheld and portable equipment. The MAX17040 is configured
  154. to operate with a single lithium cell
  155. config BATTERY_MAX17042
  156. tristate "Maxim MAX17042/17047/17050/8997/8966 Fuel Gauge"
  157. depends on I2C
  158. help
  159. MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
  160. in handheld and portable equipment. The MAX17042 is configured
  161. to operate with a single lithium cell. MAX8997 and MAX8966 are
  162. multi-function devices that include fuel gauages that are compatible
  163. with MAX17042. This driver also supports max17047/50 chips which are
  164. improved version of max17042.
  165. config BATTERY_Z2
  166. tristate "Z2 battery driver"
  167. depends on I2C && MACH_ZIPIT2
  168. help
  169. Say Y to include support for the battery on the Zipit Z2.
  170. config BATTERY_S3C_ADC
  171. tristate "Battery driver for Samsung ADC based monitoring"
  172. depends on S3C_ADC
  173. help
  174. Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery
  175. config CHARGER_PCF50633
  176. tristate "NXP PCF50633 MBC"
  177. depends on MFD_PCF50633
  178. help
  179. Say Y to include support for NXP PCF50633 Main Battery Charger.
  180. config BATTERY_JZ4740
  181. tristate "Ingenic JZ4740 battery"
  182. depends on MACH_JZ4740
  183. depends on MFD_JZ4740_ADC
  184. help
  185. Say Y to enable support for the battery on Ingenic JZ4740 based
  186. boards.
  187. This driver can be build as a module. If so, the module will be
  188. called jz4740-battery.
  189. config BATTERY_INTEL_MID
  190. tristate "Battery driver for Intel MID platforms"
  191. depends on INTEL_SCU_IPC && SPI
  192. help
  193. Say Y here to enable the battery driver on Intel MID
  194. platforms.
  195. config CHARGER_ISP1704
  196. tristate "ISP1704 USB Charger Detection"
  197. depends on USB_OTG_UTILS
  198. help
  199. Say Y to enable support for USB Charger Detection with
  200. ISP1707/ISP1704 USB transceivers.
  201. config CHARGER_MAX8903
  202. tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
  203. depends on GENERIC_HARDIRQS
  204. help
  205. Say Y to enable support for the MAX8903 DC-DC charger and sysfs.
  206. The driver supports controlling charger-enable and current-limit
  207. pins based on the status of charger connections with interrupt
  208. handlers.
  209. config CHARGER_TWL4030
  210. tristate "OMAP TWL4030 BCI charger driver"
  211. depends on TWL4030_CORE
  212. help
  213. Say Y here to enable support for TWL4030 Battery Charge Interface.
  214. config CHARGER_LP8727
  215. tristate "TI/National Semiconductor LP8727 charger driver"
  216. depends on I2C
  217. help
  218. Say Y here to enable support for LP8727 Charger Driver.
  219. config CHARGER_GPIO
  220. tristate "GPIO charger"
  221. depends on GPIOLIB
  222. help
  223. Say Y to include support for chargers which report their online status
  224. through a GPIO pin.
  225. This driver can be build as a module. If so, the module will be
  226. called gpio-charger.
  227. config CHARGER_MANAGER
  228. bool "Battery charger manager for multiple chargers"
  229. depends on REGULATOR && RTC_CLASS
  230. help
  231. Say Y to enable charger-manager support, which allows multiple
  232. chargers attached to a battery and multiple batteries attached to a
  233. system. The charger-manager also can monitor charging status in
  234. runtime and in suspend-to-RAM by waking up the system periodically
  235. with help of suspend_again support.
  236. config CHARGER_MAX8997
  237. tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver"
  238. depends on MFD_MAX8997 && REGULATOR_MAX8997
  239. help
  240. Say Y to enable support for the battery charger control sysfs and
  241. platform data of MAX8997/LP3974 PMICs.
  242. config CHARGER_MAX8998
  243. tristate "Maxim MAX8998/LP3974 PMIC battery charger driver"
  244. depends on MFD_MAX8998 && REGULATOR_MAX8998
  245. help
  246. Say Y to enable support for the battery charger control sysfs and
  247. platform data of MAX8998/LP3974 PMICs.
  248. config CHARGER_SMB347
  249. tristate "Summit Microelectronics SMB347 Battery Charger"
  250. depends on I2C
  251. select REGMAP_I2C
  252. help
  253. Say Y to include support for Summit Microelectronics SMB347
  254. Battery Charger.
  255. config AB8500_BM
  256. bool "AB8500 Battery Management Driver"
  257. depends on AB8500_CORE && AB8500_GPADC
  258. help
  259. Say Y to include support for AB5500 battery management.
  260. config AB8500_BATTERY_THERM_ON_BATCTRL
  261. bool "Thermistor connected on BATCTRL ADC"
  262. depends on AB8500_BM
  263. help
  264. Say Y to enable battery temperature measurements using
  265. thermistor connected on BATCTRL ADC.
  266. endif # POWER_SUPPLY