Kconfig 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  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 GENERIC_ADC_BATTERY
  28. tristate "Generic battery support using IIO"
  29. depends on IIO
  30. help
  31. Say Y here to enable support for the generic battery driver
  32. which uses IIO framework to read adc.
  33. config MAX8925_POWER
  34. tristate "MAX8925 battery charger support"
  35. depends on MFD_MAX8925
  36. help
  37. Say Y here to enable support for the battery charger in the Maxim
  38. MAX8925 PMIC.
  39. config WM831X_BACKUP
  40. tristate "WM831X backup battery charger support"
  41. depends on MFD_WM831X
  42. help
  43. Say Y here to enable support for the backup battery charger
  44. in the Wolfson Microelectronics WM831x PMICs.
  45. config WM831X_POWER
  46. tristate "WM831X PMU support"
  47. depends on MFD_WM831X
  48. help
  49. Say Y here to enable support for the power management unit
  50. provided by Wolfson Microelectronics WM831x PMICs.
  51. config WM8350_POWER
  52. tristate "WM8350 PMU support"
  53. depends on MFD_WM8350
  54. help
  55. Say Y here to enable support for the power management unit
  56. provided by the Wolfson Microelectronics WM8350 PMIC.
  57. config TEST_POWER
  58. tristate "Test power driver"
  59. help
  60. This driver is used for testing. It's safe to say M here.
  61. config BATTERY_88PM860X
  62. tristate "Marvell 88PM860x battery driver"
  63. depends on MFD_88PM860X
  64. help
  65. Say Y here to enable battery monitor for Marvell 88PM860x chip.
  66. config BATTERY_DS2760
  67. tristate "DS2760 battery driver (HP iPAQ & others)"
  68. depends on W1 && W1_SLAVE_DS2760
  69. help
  70. Say Y here to enable support for batteries with ds2760 chip.
  71. config BATTERY_DS2780
  72. tristate "DS2780 battery driver"
  73. depends on HAS_IOMEM
  74. select W1
  75. select W1_SLAVE_DS2780
  76. help
  77. Say Y here to enable support for batteries with ds2780 chip.
  78. config BATTERY_DS2781
  79. tristate "DS2781 battery driver"
  80. depends on HAS_IOMEM
  81. select W1
  82. select W1_SLAVE_DS2781
  83. help
  84. If you enable this you will have the DS2781 battery driver support.
  85. The battery monitor chip is used in many batteries/devices
  86. as the one who is responsible for charging/discharging/monitoring
  87. Li+ batteries.
  88. If you are unsure, say N.
  89. config BATTERY_DS2782
  90. tristate "DS2782/DS2786 standalone gas-gauge"
  91. depends on I2C
  92. help
  93. Say Y here to enable support for the DS2782/DS2786 standalone battery
  94. gas-gauge.
  95. config BATTERY_PMU
  96. tristate "Apple PMU battery"
  97. depends on PPC32 && ADB_PMU
  98. help
  99. Say Y here to expose battery information on Apple machines
  100. through the generic battery class.
  101. config BATTERY_OLPC
  102. tristate "One Laptop Per Child battery"
  103. depends on X86_32 && OLPC
  104. help
  105. Say Y to enable support for the battery on the OLPC laptop.
  106. config BATTERY_TOSA
  107. tristate "Sharp SL-6000 (tosa) battery"
  108. depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
  109. help
  110. Say Y to enable support for the battery on the Sharp Zaurus
  111. SL-6000 (tosa) models.
  112. config BATTERY_COLLIE
  113. tristate "Sharp SL-5500 (collie) battery"
  114. depends on SA1100_COLLIE && MCP_UCB1200
  115. help
  116. Say Y to enable support for the battery on the Sharp Zaurus
  117. SL-5500 (collie) models.
  118. config BATTERY_WM97XX
  119. bool "WM97xx generic battery driver"
  120. depends on TOUCHSCREEN_WM97XX=y
  121. help
  122. Say Y to enable support for battery measured by WM97xx aux port.
  123. config BATTERY_SBS
  124. tristate "SBS Compliant gas gauge"
  125. depends on I2C
  126. help
  127. Say Y to include support for SBS battery driver for SBS-compliant
  128. gas gauges.
  129. config BATTERY_BQ27x00
  130. tristate "BQ27x00 battery driver"
  131. depends on I2C || I2C=n
  132. help
  133. Say Y here to enable support for batteries with BQ27x00 (I2C/HDQ) chips.
  134. config BATTERY_BQ27X00_I2C
  135. bool "BQ27200/BQ27500 support"
  136. depends on BATTERY_BQ27x00
  137. depends on I2C
  138. default y
  139. help
  140. Say Y here to enable support for batteries with BQ27x00 (I2C) chips.
  141. config BATTERY_BQ27X00_PLATFORM
  142. bool "BQ27000 support"
  143. depends on BATTERY_BQ27x00
  144. default y
  145. help
  146. Say Y here to enable support for batteries with BQ27000 (HDQ) chips.
  147. config BATTERY_DA9030
  148. tristate "DA9030 battery driver"
  149. depends on PMIC_DA903X
  150. help
  151. Say Y here to enable support for batteries charger integrated into
  152. DA9030 PMIC.
  153. config BATTERY_DA9052
  154. tristate "Dialog DA9052 Battery"
  155. depends on PMIC_DA9052
  156. help
  157. Say Y here to enable support for batteries charger integrated into
  158. DA9052 PMIC.
  159. config BATTERY_MAX17040
  160. tristate "Maxim MAX17040 Fuel Gauge"
  161. depends on I2C
  162. help
  163. MAX17040 is fuel-gauge systems for lithium-ion (Li+) batteries
  164. in handheld and portable equipment. The MAX17040 is configured
  165. to operate with a single lithium cell
  166. config BATTERY_MAX17042
  167. tristate "Maxim MAX17042/17047/17050/8997/8966 Fuel Gauge"
  168. depends on I2C
  169. select REGMAP_I2C
  170. help
  171. MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
  172. in handheld and portable equipment. The MAX17042 is configured
  173. to operate with a single lithium cell. MAX8997 and MAX8966 are
  174. multi-function devices that include fuel gauages that are compatible
  175. with MAX17042. This driver also supports max17047/50 chips which are
  176. improved version of max17042.
  177. config BATTERY_Z2
  178. tristate "Z2 battery driver"
  179. depends on I2C && MACH_ZIPIT2
  180. help
  181. Say Y to include support for the battery on the Zipit Z2.
  182. config BATTERY_S3C_ADC
  183. tristate "Battery driver for Samsung ADC based monitoring"
  184. depends on S3C_ADC
  185. help
  186. Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery
  187. config BATTERY_TWL4030_MADC
  188. tristate "TWL4030 MADC battery driver"
  189. depends on TWL4030_MADC
  190. help
  191. Say Y here to enable this dumb driver for batteries managed
  192. through the TWL4030 MADC.
  193. config CHARGER_88PM860X
  194. tristate "Marvell 88PM860x Charger driver"
  195. depends on MFD_88PM860X && BATTERY_88PM860X
  196. help
  197. Say Y here to enable charger for Marvell 88PM860x chip.
  198. config CHARGER_PCF50633
  199. tristate "NXP PCF50633 MBC"
  200. depends on MFD_PCF50633
  201. help
  202. Say Y to include support for NXP PCF50633 Main Battery Charger.
  203. config BATTERY_JZ4740
  204. tristate "Ingenic JZ4740 battery"
  205. depends on MACH_JZ4740
  206. depends on MFD_JZ4740_ADC
  207. help
  208. Say Y to enable support for the battery on Ingenic JZ4740 based
  209. boards.
  210. This driver can be build as a module. If so, the module will be
  211. called jz4740-battery.
  212. config BATTERY_INTEL_MID
  213. tristate "Battery driver for Intel MID platforms"
  214. depends on INTEL_SCU_IPC && SPI
  215. help
  216. Say Y here to enable the battery driver on Intel MID
  217. platforms.
  218. config BATTERY_RX51
  219. tristate "Nokia RX-51 (N900) battery driver"
  220. depends on TWL4030_MADC
  221. help
  222. Say Y here to enable support for battery information on Nokia
  223. RX-51, also known as N900 tablet.
  224. config CHARGER_ISP1704
  225. tristate "ISP1704 USB Charger Detection"
  226. depends on USB_PHY
  227. help
  228. Say Y to enable support for USB Charger Detection with
  229. ISP1707/ISP1704 USB transceivers.
  230. config CHARGER_MAX8903
  231. tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
  232. help
  233. Say Y to enable support for the MAX8903 DC-DC charger and sysfs.
  234. The driver supports controlling charger-enable and current-limit
  235. pins based on the status of charger connections with interrupt
  236. handlers.
  237. config CHARGER_TWL4030
  238. tristate "OMAP TWL4030 BCI charger driver"
  239. depends on TWL4030_CORE
  240. help
  241. Say Y here to enable support for TWL4030 Battery Charge Interface.
  242. config CHARGER_LP8727
  243. tristate "TI/National Semiconductor LP8727 charger driver"
  244. depends on I2C
  245. help
  246. Say Y here to enable support for LP8727 Charger Driver.
  247. config CHARGER_LP8788
  248. tristate "TI LP8788 charger driver"
  249. depends on MFD_LP8788
  250. depends on LP8788_ADC
  251. depends on IIO
  252. help
  253. Say Y to enable support for the LP8788 linear charger.
  254. config CHARGER_GPIO
  255. tristate "GPIO charger"
  256. depends on GPIOLIB
  257. help
  258. Say Y to include support for chargers which report their online status
  259. through a GPIO pin.
  260. This driver can be build as a module. If so, the module will be
  261. called gpio-charger.
  262. config CHARGER_MANAGER
  263. bool "Battery charger manager for multiple chargers"
  264. depends on REGULATOR && RTC_CLASS
  265. select EXTCON
  266. help
  267. Say Y to enable charger-manager support, which allows multiple
  268. chargers attached to a battery and multiple batteries attached to a
  269. system. The charger-manager also can monitor charging status in
  270. runtime and in suspend-to-RAM by waking up the system periodically
  271. with help of suspend_again support.
  272. config CHARGER_MAX14577
  273. tristate "Maxim MAX14577 MUIC battery charger driver"
  274. depends on MFD_MAX14577
  275. help
  276. Say Y to enable support for the battery charger control sysfs and
  277. platform data of MAX14577 MUICs.
  278. config CHARGER_MAX8997
  279. tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver"
  280. depends on MFD_MAX8997 && REGULATOR_MAX8997
  281. help
  282. Say Y to enable support for the battery charger control sysfs and
  283. platform data of MAX8997/LP3974 PMICs.
  284. config CHARGER_MAX8998
  285. tristate "Maxim MAX8998/LP3974 PMIC battery charger driver"
  286. depends on MFD_MAX8998 && REGULATOR_MAX8998
  287. help
  288. Say Y to enable support for the battery charger control sysfs and
  289. platform data of MAX8998/LP3974 PMICs.
  290. config CHARGER_BQ2415X
  291. tristate "TI BQ2415x battery charger driver"
  292. depends on I2C
  293. help
  294. Say Y to enable support for the TI BQ2415x battery charger
  295. PMICs.
  296. You'll need this driver to charge batteries on e.g. Nokia
  297. RX-51/N900.
  298. config CHARGER_BQ24190
  299. tristate "TI BQ24190 battery charger driver"
  300. depends on I2C && GPIOLIB
  301. help
  302. Say Y to enable support for the TI BQ24190 battery charger.
  303. config CHARGER_BQ24735
  304. tristate "TI BQ24735 battery charger support"
  305. depends on I2C && GPIOLIB
  306. help
  307. Say Y to enable support for the TI BQ24735 battery charger.
  308. config CHARGER_SMB347
  309. tristate "Summit Microelectronics SMB347 Battery Charger"
  310. depends on I2C
  311. select REGMAP_I2C
  312. help
  313. Say Y to include support for Summit Microelectronics SMB347
  314. Battery Charger.
  315. config CHARGER_TPS65090
  316. tristate "TPS65090 battery charger driver"
  317. depends on MFD_TPS65090
  318. help
  319. Say Y here to enable support for battery charging with TPS65090
  320. PMIC chips.
  321. config AB8500_BM
  322. bool "AB8500 Battery Management Driver"
  323. depends on AB8500_CORE && AB8500_GPADC
  324. help
  325. Say Y to include support for AB8500 battery management.
  326. config BATTERY_GOLDFISH
  327. tristate "Goldfish battery driver"
  328. depends on GOLDFISH || COMPILE_TEST
  329. depends on HAS_IOMEM
  330. help
  331. Say Y to enable support for the battery and AC power in the
  332. Goldfish emulator.
  333. source "drivers/power/reset/Kconfig"
  334. endif # POWER_SUPPLY
  335. source "drivers/power/avs/Kconfig"