diff options
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r-- | drivers/power/Kconfig | 56 |
1 files changed, 41 insertions, 15 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index f8758d6febf8..02b3b313809a 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig | |||
@@ -157,26 +157,25 @@ config BATTERY_SBS | |||
157 | Say Y to include support for SBS battery driver for SBS-compliant | 157 | Say Y to include support for SBS battery driver for SBS-compliant |
158 | gas gauges. | 158 | gas gauges. |
159 | 159 | ||
160 | config BATTERY_BQ27x00 | 160 | config BATTERY_BQ27XXX |
161 | tristate "BQ27x00 battery driver" | 161 | tristate "BQ27xxx battery driver" |
162 | depends on I2C || I2C=n | ||
163 | help | 162 | help |
164 | Say Y here to enable support for batteries with BQ27x00 (I2C/HDQ) chips. | 163 | Say Y here to enable support for batteries with BQ27xxx (I2C/HDQ) chips. |
165 | 164 | ||
166 | config BATTERY_BQ27X00_I2C | 165 | config BATTERY_BQ27XXX_I2C |
167 | bool "BQ27200/BQ27500 support" | 166 | bool "BQ27xxx I2C support" |
168 | depends on BATTERY_BQ27x00 | 167 | depends on BATTERY_BQ27XXX |
169 | depends on I2C | 168 | depends on I2C |
170 | default y | 169 | default y |
171 | help | 170 | help |
172 | Say Y here to enable support for batteries with BQ27x00 (I2C) chips. | 171 | Say Y here to enable support for batteries with BQ27xxx (I2C) chips. |
173 | 172 | ||
174 | config BATTERY_BQ27X00_PLATFORM | 173 | config BATTERY_BQ27XXX_PLATFORM |
175 | bool "BQ27000 support" | 174 | bool "BQ27xxx HDQ support" |
176 | depends on BATTERY_BQ27x00 | 175 | depends on BATTERY_BQ27XXX |
177 | default y | 176 | default y |
178 | help | 177 | help |
179 | Say Y here to enable support for batteries with BQ27000 (HDQ) chips. | 178 | Say Y here to enable support for batteries with BQ27xxx (HDQ) chips. |
180 | 179 | ||
181 | config BATTERY_DA9030 | 180 | config BATTERY_DA9030 |
182 | tristate "DA9030 battery driver" | 181 | tristate "DA9030 battery driver" |
@@ -313,7 +312,7 @@ config CHARGER_MAX8903 | |||
313 | 312 | ||
314 | config CHARGER_TWL4030 | 313 | config CHARGER_TWL4030 |
315 | tristate "OMAP TWL4030 BCI charger driver" | 314 | tristate "OMAP TWL4030 BCI charger driver" |
316 | depends on TWL4030_CORE | 315 | depends on IIO && TWL4030_CORE |
317 | help | 316 | help |
318 | Say Y here to enable support for TWL4030 Battery Charge Interface. | 317 | Say Y here to enable support for TWL4030 Battery Charge Interface. |
319 | 318 | ||
@@ -379,6 +378,18 @@ config CHARGER_MAX8998 | |||
379 | Say Y to enable support for the battery charger control sysfs and | 378 | Say Y to enable support for the battery charger control sysfs and |
380 | platform data of MAX8998/LP3974 PMICs. | 379 | platform data of MAX8998/LP3974 PMICs. |
381 | 380 | ||
381 | config CHARGER_QCOM_SMBB | ||
382 | tristate "Qualcomm Switch-Mode Battery Charger and Boost" | ||
383 | depends on MFD_SPMI_PMIC || COMPILE_TEST | ||
384 | depends on OF | ||
385 | help | ||
386 | Say Y to include support for the Switch-Mode Battery Charger and | ||
387 | Boost (SMBB) hardware found in Qualcomm PM8941 PMICs. The charger | ||
388 | is an integrated, single-cell lithium-ion battery charger. DT | ||
389 | configuration is required for loading, see the devicetree | ||
390 | documentation for more detail. The base name for this driver is | ||
391 | 'pm8941_charger'. | ||
392 | |||
382 | config CHARGER_BQ2415X | 393 | config CHARGER_BQ2415X |
383 | tristate "TI BQ2415x battery charger driver" | 394 | tristate "TI BQ2415x battery charger driver" |
384 | depends on I2C | 395 | depends on I2C |
@@ -397,12 +408,13 @@ config CHARGER_BQ24190 | |||
397 | Say Y to enable support for the TI BQ24190 battery charger. | 408 | Say Y to enable support for the TI BQ24190 battery charger. |
398 | 409 | ||
399 | config CHARGER_BQ24257 | 410 | config CHARGER_BQ24257 |
400 | tristate "TI BQ24257 battery charger driver" | 411 | tristate "TI BQ24250/24251/24257 battery charger driver" |
401 | depends on I2C | 412 | depends on I2C |
402 | depends on GPIOLIB || COMPILE_TEST | 413 | depends on GPIOLIB || COMPILE_TEST |
403 | depends on REGMAP_I2C | 414 | depends on REGMAP_I2C |
404 | help | 415 | help |
405 | Say Y to enable support for the TI BQ24257 battery charger. | 416 | Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery |
417 | chargers. | ||
406 | 418 | ||
407 | config CHARGER_BQ24735 | 419 | config CHARGER_BQ24735 |
408 | tristate "TI BQ24735 battery charger support" | 420 | tristate "TI BQ24735 battery charger support" |
@@ -434,6 +446,13 @@ config CHARGER_TPS65090 | |||
434 | Say Y here to enable support for battery charging with TPS65090 | 446 | Say Y here to enable support for battery charging with TPS65090 |
435 | PMIC chips. | 447 | PMIC chips. |
436 | 448 | ||
449 | config CHARGER_TPS65217 | ||
450 | tristate "TPS65217 battery charger driver" | ||
451 | depends on MFD_TPS65217 | ||
452 | help | ||
453 | Say Y here to enable support for battery charging with TPS65217 | ||
454 | PMIC chips. | ||
455 | |||
437 | config BATTERY_GAUGE_LTC2941 | 456 | config BATTERY_GAUGE_LTC2941 |
438 | tristate "LTC2941/LTC2943 Battery Gauge Driver" | 457 | tristate "LTC2941/LTC2943 Battery Gauge Driver" |
439 | depends on I2C | 458 | depends on I2C |
@@ -472,6 +491,13 @@ config CHARGER_RT9455 | |||
472 | help | 491 | help |
473 | Say Y to enable support for Richtek RT9455 battery charger. | 492 | Say Y to enable support for Richtek RT9455 battery charger. |
474 | 493 | ||
494 | config AXP20X_POWER | ||
495 | tristate "AXP20x power supply driver" | ||
496 | depends on MFD_AXP20X | ||
497 | help | ||
498 | This driver provides support for the power supply features of | ||
499 | AXP20x PMIC. | ||
500 | |||
475 | source "drivers/power/reset/Kconfig" | 501 | source "drivers/power/reset/Kconfig" |
476 | 502 | ||
477 | endif # POWER_SUPPLY | 503 | endif # POWER_SUPPLY |