Kconfig 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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. select W1
  58. select W1_SLAVE_DS2760
  59. help
  60. Say Y here to enable support for batteries with ds2760 chip.
  61. config BATTERY_DS2782
  62. tristate "DS2782/DS2786 standalone gas-gauge"
  63. depends on I2C
  64. help
  65. Say Y here to enable support for the DS2782/DS2786 standalone battery
  66. gas-gauge.
  67. config BATTERY_PMU
  68. tristate "Apple PMU battery"
  69. depends on PPC32 && ADB_PMU
  70. help
  71. Say Y here to expose battery information on Apple machines
  72. through the generic battery class.
  73. config BATTERY_OLPC
  74. tristate "One Laptop Per Child battery"
  75. depends on X86_32 && OLPC
  76. help
  77. Say Y to enable support for the battery on the OLPC laptop.
  78. config BATTERY_TOSA
  79. tristate "Sharp SL-6000 (tosa) battery"
  80. depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
  81. help
  82. Say Y to enable support for the battery on the Sharp Zaurus
  83. SL-6000 (tosa) models.
  84. config BATTERY_COLLIE
  85. tristate "Sharp SL-5500 (collie) battery"
  86. depends on SA1100_COLLIE && MCP_UCB1200
  87. help
  88. Say Y to enable support for the battery on the Sharp Zaurus
  89. SL-5500 (collie) models.
  90. config BATTERY_WM97XX
  91. bool "WM97xx generic battery driver"
  92. depends on TOUCHSCREEN_WM97XX=y
  93. help
  94. Say Y to enable support for battery measured by WM97xx aux port.
  95. config BATTERY_BQ27x00
  96. tristate "BQ27x00 battery driver"
  97. depends on I2C
  98. help
  99. Say Y here to enable support for batteries with BQ27x00 (I2C) chips.
  100. config BATTERY_DA9030
  101. tristate "DA9030 battery driver"
  102. depends on PMIC_DA903X
  103. help
  104. Say Y here to enable support for batteries charger integrated into
  105. DA9030 PMIC.
  106. config BATTERY_MAX17040
  107. tristate "Maxim MAX17040 Fuel Gauge"
  108. depends on I2C
  109. help
  110. MAX17040 is fuel-gauge systems for lithium-ion (Li+) batteries
  111. in handheld and portable equipment. The MAX17040 is configured
  112. to operate with a single lithium cell
  113. config BATTERY_Z2
  114. tristate "Z2 battery driver"
  115. depends on I2C && MACH_ZIPIT2
  116. help
  117. Say Y to include support for the battery on the Zipit Z2.
  118. config BATTERY_S3C_ADC
  119. tristate "Battery driver for Samsung ADC based monitoring"
  120. depends on S3C_ADC
  121. help
  122. Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery
  123. config CHARGER_PCF50633
  124. tristate "NXP PCF50633 MBC"
  125. depends on MFD_PCF50633
  126. help
  127. Say Y to include support for NXP PCF50633 Main Battery Charger.
  128. config BATTERY_JZ4740
  129. tristate "Ingenic JZ4740 battery"
  130. depends on MACH_JZ4740
  131. depends on MFD_JZ4740_ADC
  132. help
  133. Say Y to enable support for the battery on Ingenic JZ4740 based
  134. boards.
  135. This driver can be build as a module. If so, the module will be
  136. called jz4740-battery.
  137. config BATTERY_INTEL_MID
  138. tristate "Battery driver for Intel MID platforms"
  139. depends on INTEL_SCU_IPC && SPI
  140. help
  141. Say Y here to enable the battery driver on Intel MID
  142. platforms.
  143. endif # POWER_SUPPLY