Linux 5.7-rc1
[linux-block.git] / drivers / power / supply / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
8c0984e5
SR
2menuconfig POWER_SUPPLY
3 bool "Power supply class support"
4 help
5 Say Y here to enable power supply class support. This allows
6 power supply (batteries, AC, USB) monitoring by userspace
7 via sysfs and uevent (if available) and/or APM kernel interface
8 (if selected below).
9
10if POWER_SUPPLY
11
12config POWER_SUPPLY_DEBUG
13 bool "Power supply debug"
14 help
15 Say Y here to enable debugging messages for power supply class
16 and drivers.
17
e67d4dfc
AS
18config POWER_SUPPLY_HWMON
19 bool
20 prompt "Expose power supply sensors as hwmon device"
21 depends on HWMON=y || HWMON=POWER_SUPPLY
22 default y
23 help
24 This options enables API that allows sensors found on a
25 power supply device (current, voltage, temperature) to be
26 exposed as a hwmon device.
27
28 Say 'Y' here if you want power supplies to
29 have hwmon sysfs interface too.
30
31
8c0984e5
SR
32config PDA_POWER
33 tristate "Generic PDA/phone power driver"
34 depends on !S390
35 help
36 Say Y here to enable generic power driver for PDAs and phones with
37 one or two external power supplies (AC/USB) connected to main and
38 backup batteries, and optional builtin charger.
39
40config APM_POWER
41 tristate "APM emulation for class batteries"
42 depends on APM_EMULATION
43 help
44 Say Y here to enable support APM status emulation using
45 battery class devices.
46
47config GENERIC_ADC_BATTERY
48 tristate "Generic battery support using IIO"
49 depends on IIO
50 help
51 Say Y here to enable support for the generic battery driver
52 which uses IIO framework to read adc.
53
54config MAX8925_POWER
55 tristate "MAX8925 battery charger support"
56 depends on MFD_MAX8925
57 help
58 Say Y here to enable support for the battery charger in the Maxim
59 MAX8925 PMIC.
60
61config WM831X_BACKUP
62 tristate "WM831X backup battery charger support"
63 depends on MFD_WM831X
64 help
65 Say Y here to enable support for the backup battery charger
66 in the Wolfson Microelectronics WM831x PMICs.
67
68config WM831X_POWER
69 tristate "WM831X PMU support"
70 depends on MFD_WM831X
71 help
72 Say Y here to enable support for the power management unit
73 provided by Wolfson Microelectronics WM831x PMICs.
74
75config WM8350_POWER
3c9c2d08
KK
76 tristate "WM8350 PMU support"
77 depends on MFD_WM8350
78 help
79 Say Y here to enable support for the power management unit
8c0984e5
SR
80 provided by the Wolfson Microelectronics WM8350 PMIC.
81
82config TEST_POWER
83 tristate "Test power driver"
84 help
85 This driver is used for testing. It's safe to say M here.
86
87config BATTERY_88PM860X
88 tristate "Marvell 88PM860x battery driver"
89 depends on MFD_88PM860X
90 help
91 Say Y here to enable battery monitor for Marvell 88PM860x chip.
92
fe8e81b7
SP
93config CHARGER_ADP5061
94 tristate "ADP5061 battery charger driver"
95 depends on I2C
96 select REGMAP_I2C
97 help
98 Say Y here to enable support for the ADP5061 standalone battery
99 charger.
100
101 This driver can be built as a module. If so, the module will be
102 called adp5061.
103
8c0984e5
SR
104config BATTERY_ACT8945A
105 tristate "Active-semi ACT8945A charger driver"
106 depends on MFD_ACT8945A || COMPILE_TEST
107 help
108 Say Y here to enable support for power supply provided by
109 Active-semi ActivePath ACT8945A charger.
110
874b2adb
TL
111config BATTERY_CPCAP
112 tristate "Motorola CPCAP PMIC battery driver"
113 depends on MFD_CPCAP && IIO
114 default MFD_CPCAP
115 help
116 Say Y here to enable support for battery on Motorola
117 phones and tablets such as droid 4.
118
8c0984e5
SR
119config BATTERY_DS2760
120 tristate "DS2760 battery driver (HP iPAQ & others)"
bf497355 121 depends on W1
8c0984e5
SR
122 help
123 Say Y here to enable support for batteries with ds2760 chip.
124
125config BATTERY_DS2780
126 tristate "DS2780 battery driver"
127 depends on HAS_IOMEM
128 select W1
129 select W1_SLAVE_DS2780
130 help
131 Say Y here to enable support for batteries with ds2780 chip.
132
133config BATTERY_DS2781
134 tristate "DS2781 battery driver"
135 depends on HAS_IOMEM
136 select W1
137 select W1_SLAVE_DS2781
138 help
139 If you enable this you will have the DS2781 battery driver support.
140
141 The battery monitor chip is used in many batteries/devices
142 as the one who is responsible for charging/discharging/monitoring
143 Li+ batteries.
144
145 If you are unsure, say N.
146
147config BATTERY_DS2782
148 tristate "DS2782/DS2786 standalone gas-gauge"
149 depends on I2C
150 help
151 Say Y here to enable support for the DS2782/DS2786 standalone battery
152 gas-gauge.
153
53db8858
DL
154config BATTERY_LEGO_EV3
155 tristate "LEGO MINDSTORMS EV3 battery"
156 depends on OF && IIO && GPIOLIB
157 help
158 Say Y here to enable support for the LEGO MINDSTORMS EV3 battery.
159
8c0984e5
SR
160config BATTERY_PMU
161 tristate "Apple PMU battery"
162 depends on PPC32 && ADB_PMU
163 help
164 Say Y here to expose battery information on Apple machines
165 through the generic battery class.
166
167config BATTERY_OLPC
168 tristate "One Laptop Per Child battery"
ef071bab 169 depends on OLPC_EC
8c0984e5
SR
170 help
171 Say Y to enable support for the battery on the OLPC laptop.
172
173config BATTERY_TOSA
174 tristate "Sharp SL-6000 (tosa) battery"
175 depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
176 help
177 Say Y to enable support for the battery on the Sharp Zaurus
178 SL-6000 (tosa) models.
179
180config BATTERY_COLLIE
181 tristate "Sharp SL-5500 (collie) battery"
182 depends on SA1100_COLLIE && MCP_UCB1200
183 help
184 Say Y to enable support for the battery on the Sharp Zaurus
185 SL-5500 (collie) models.
186
fb24ccfb
AR
187config BATTERY_INGENIC
188 tristate "Ingenic JZ47xx SoCs battery driver"
189 depends on MIPS || COMPILE_TEST
190 depends on INGENIC_ADC
191 help
192 Choose this option if you want to monitor battery status on
193 Ingenic JZ47xx SoC based devices.
194
195 This driver can also be built as a module. If so, the module will be
196 called ingenic-battery.
197
8c0984e5
SR
198config BATTERY_IPAQ_MICRO
199 tristate "iPAQ Atmel Micro ASIC battery driver"
200 depends on MFD_IPAQ_MICRO
201 help
202 Choose this option if you want to monitor battery status on
203 Compaq/HP iPAQ h3100 and h3600.
204
205config BATTERY_WM97XX
206 bool "WM97xx generic battery driver"
207 depends on TOUCHSCREEN_WM97XX=y
208 help
209 Say Y to enable support for battery measured by WM97xx aux port.
210
211config BATTERY_SBS
3c9c2d08
KK
212 tristate "SBS Compliant gas gauge"
213 depends on I2C
214 help
8c0984e5
SR
215 Say Y to include support for SBS battery driver for SBS-compliant
216 gas gauges.
217
feb583e3 218config CHARGER_SBS
3c9c2d08
KK
219 tristate "SBS Compliant charger"
220 depends on I2C
221 help
83fc61a5 222 Say Y to include support for SBS compliant battery chargers.
feb583e3 223
dbc4deda
KHS
224config MANAGER_SBS
225 tristate "Smart Battery System Manager"
a0b8839e
PR
226 depends on I2C && I2C_MUX && GPIOLIB
227 select I2C_SMBUS
dbc4deda
KHS
228 help
229 Say Y here to include support for Smart Battery System Manager
230 ICs. The driver reports online and charging status via sysfs.
231 It presents itself also as I2C mux which allows to bind
232 smart battery driver to its ports.
233 Supported is for example LTC1760.
234
235 This driver can also be built as a module. If so, the module will be
236 called sbs-manager.
237
8c0984e5
SR
238config BATTERY_BQ27XXX
239 tristate "BQ27xxx battery driver"
240 help
241 Say Y here to enable support for batteries with BQ27xxx chips.
242
243config BATTERY_BQ27XXX_I2C
244 tristate "BQ27xxx I2C support"
245 depends on BATTERY_BQ27XXX
246 depends on I2C
247 default y
248 help
249 Say Y here to enable support for batteries with BQ27xxx chips
250 connected over an I2C bus.
251
55a9db67
AD
252config BATTERY_BQ27XXX_HDQ
253 tristate "BQ27xxx HDQ support"
254 depends on BATTERY_BQ27XXX
255 depends on W1
256 default y
257 help
258 Say Y here to enable support for batteries with BQ27xxx chips
259 connected over an HDQ bus.
260
ccce4409
LB
261config BATTERY_BQ27XXX_DT_UPDATES_NVM
262 bool "BQ27xxx support for update of NVM/flash data memory"
263 depends on BATTERY_BQ27XXX_I2C
264 help
265 Say Y here to enable devicetree monitored-battery config to update
266 NVM/flash data memory. Only enable this option for devices with a
267 fuel gauge mounted on the circuit board, and a battery that cannot
268 easily be replaced with one of a different type. Not for
269 general-purpose kernels, as this can cause misconfiguration of a
270 smart battery with embedded NVM/flash.
271
8c0984e5
SR
272config BATTERY_DA9030
273 tristate "DA9030 battery driver"
274 depends on PMIC_DA903X
275 help
276 Say Y here to enable support for batteries charger integrated into
277 DA9030 PMIC.
278
279config BATTERY_DA9052
280 tristate "Dialog DA9052 Battery"
281 depends on PMIC_DA9052
282 help
283 Say Y here to enable support for batteries charger integrated into
284 DA9052 PMIC.
285
286config CHARGER_DA9150
287 tristate "Dialog Semiconductor DA9150 Charger support"
288 depends on MFD_DA9150
289 depends on DA9150_GPADC
290 depends on IIO
291 help
292 Say Y here to enable support for charger unit of the DA9150
293 Integrated Charger & Fuel-Gauge IC.
294
295 This driver can also be built as a module. If so, the module will be
296 called da9150-charger.
297
298config BATTERY_DA9150
299 tristate "Dialog Semiconductor DA9150 Fuel Gauge support"
300 depends on MFD_DA9150
301 help
302 Say Y here to enable support for the Fuel-Gauge unit of the DA9150
303 Integrated Charger & Fuel-Gauge IC
304
305 This driver can also be built as a module. If so, the module will be
306 called da9150-fg.
307
744cc304
QS
308config CHARGER_AXP20X
309 tristate "X-Powers AXP20X and AXP22X AC power supply driver"
310 depends on MFD_AXP20X
311 depends on AXP20X_ADC
312 depends on IIO
313 help
314 Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC
315 power supply.
316
317 This driver can also be built as a module. If so, the module will be
318 called axp20x_ac_power.
319
46c202b5
QS
320config BATTERY_AXP20X
321 tristate "X-Powers AXP20X battery driver"
322 depends on MFD_AXP20X
323 depends on AXP20X_ADC
324 depends on IIO
325 help
326 Say Y here to enable support for X-Powers AXP20X PMICs' battery power
327 supply.
328
329 This driver can also be built as a module. If so, the module will be
330 called axp20x_battery.
331
6254a6a9
AB
332config AXP20X_POWER
333 tristate "AXP20x power supply driver"
334 depends on MFD_AXP20X
335 depends on IIO
336 help
337 This driver provides support for the power supply features of
338 AXP20x PMIC.
339
8c0984e5
SR
340config AXP288_CHARGER
341 tristate "X-Powers AXP288 Charger"
342 depends on MFD_AXP20X && EXTCON_AXP288
343 help
344 Say yes here to have support X-Power AXP288 power management IC (PMIC)
345 integrated charger.
346
347config AXP288_FUEL_GAUGE
348 tristate "X-Powers AXP288 Fuel Gauge"
349 depends on MFD_AXP20X && IIO
350 help
351 Say yes here to have support for X-Power power management IC (PMIC)
352 Fuel Gauge. The device provides battery statistics and status
353 monitoring as well as alerts for battery over/under voltage and
354 over/under temperature.
355
356config BATTERY_MAX17040
357 tristate "Maxim MAX17040 Fuel Gauge"
358 depends on I2C
359 help
360 MAX17040 is fuel-gauge systems for lithium-ion (Li+) batteries
361 in handheld and portable equipment. The MAX17040 is configured
362 to operate with a single lithium cell
363
364config BATTERY_MAX17042
365 tristate "Maxim MAX17042/17047/17050/8997/8966 Fuel Gauge"
366 depends on I2C
367 select REGMAP_I2C
368 help
369 MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
370 in handheld and portable equipment. The MAX17042 is configured
371 to operate with a single lithium cell. MAX8997 and MAX8966 are
372 multi-function devices that include fuel gauages that are compatible
373 with MAX17042. This driver also supports max17047/50 chips which are
374 improved version of max17042.
375
10e48b7d
AM
376config BATTERY_MAX1721X
377 tristate "MAX17211/MAX17215 standalone gas-gauge"
378 depends on W1
379 select REGMAP_W1
380 help
381 MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries
382 in handheld and portable equipment. MAX17211 used with single cell
383 battery. MAX17215 designed for muticell battery. Both them have
384 OneWire (W1) host interface.
385
386 Say Y here to enable support for the MAX17211/MAX17215 standalone
387 battery gas-gauge.
388
8c0984e5
SR
389config BATTERY_Z2
390 tristate "Z2 battery driver"
391 depends on I2C && MACH_ZIPIT2
392 help
393 Say Y to include support for the battery on the Zipit Z2.
394
395config BATTERY_S3C_ADC
396 tristate "Battery driver for Samsung ADC based monitoring"
397 depends on S3C_ADC
398 help
399 Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery
400
401config BATTERY_TWL4030_MADC
402 tristate "TWL4030 MADC battery driver"
403 depends on TWL4030_MADC
404 help
405 Say Y here to enable this dumb driver for batteries managed
406 through the TWL4030 MADC.
407
408config CHARGER_88PM860X
409 tristate "Marvell 88PM860x Charger driver"
410 depends on MFD_88PM860X && BATTERY_88PM860X
411 help
412 Say Y here to enable charger for Marvell 88PM860x chip.
413
414config CHARGER_PCF50633
415 tristate "NXP PCF50633 MBC"
416 depends on MFD_PCF50633
417 help
418 Say Y to include support for NXP PCF50633 Main Battery Charger.
419
8c0984e5
SR
420config BATTERY_RX51
421 tristate "Nokia RX-51 (N900) battery driver"
422 depends on TWL4030_MADC
423 help
424 Say Y here to enable support for battery information on Nokia
425 RX-51, also known as N900 tablet.
426
0c9888e3
TL
427config CHARGER_CPCAP
428 tristate "CPCAP PMIC Charger Driver"
429 depends on MFD_CPCAP && IIO
8b35bf59 430 depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST)
0c9888e3
TL
431 default MFD_CPCAP
432 help
433 Say Y to enable support for CPCAP PMIC charger driver for Motorola
434 mobile devices such as Droid 4.
435
8c0984e5
SR
436config CHARGER_ISP1704
437 tristate "ISP1704 USB Charger Detection"
438 depends on USB_PHY
439 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
440 help
441 Say Y to enable support for USB Charger Detection with
442 ISP1707/ISP1704 USB transceivers.
443
444config CHARGER_MAX8903
445 tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
446 help
447 Say Y to enable support for the MAX8903 DC-DC charger and sysfs.
448 The driver supports controlling charger-enable and current-limit
449 pins based on the status of charger connections with interrupt
450 handlers.
451
452config CHARGER_TWL4030
453 tristate "OMAP TWL4030 BCI charger driver"
454 depends on IIO && TWL4030_CORE
455 help
456 Say Y here to enable support for TWL4030 Battery Charge Interface.
457
458config CHARGER_LP8727
459 tristate "TI/National Semiconductor LP8727 charger driver"
460 depends on I2C
461 help
462 Say Y here to enable support for LP8727 Charger Driver.
463
464config CHARGER_LP8788
465 tristate "TI LP8788 charger driver"
466 depends on MFD_LP8788
467 depends on LP8788_ADC
468 depends on IIO
469 help
470 Say Y to enable support for the LP8788 linear charger.
471
472config CHARGER_GPIO
473 tristate "GPIO charger"
474 depends on GPIOLIB || COMPILE_TEST
475 help
476 Say Y to include support for chargers which report their online status
477 through a GPIO pin.
478
479 This driver can be build as a module. If so, the module will be
480 called gpio-charger.
481
482config CHARGER_MANAGER
241eaabc 483 tristate "Battery charger manager for multiple chargers"
8c0984e5
SR
484 depends on REGULATOR
485 select EXTCON
486 help
3c9c2d08
KK
487 Say Y to enable charger-manager support, which allows multiple
488 chargers attached to a battery and multiple batteries attached to a
489 system. The charger-manager also can monitor charging status in
490 runtime and in suspend-to-RAM by waking up the system periodically
491 with help of suspend_again support.
8c0984e5 492
2e220e6e
MH
493config CHARGER_LT3651
494 tristate "Analog Devices LT3651 charger"
c94d4ed0
ML
495 depends on GPIOLIB
496 help
2e220e6e
MH
497 Say Y to include support for the Analog Devices (Linear Technology)
498 LT3651 battery charger which reports its status via GPIO lines.
c94d4ed0 499
8c0984e5
SR
500config CHARGER_MAX14577
501 tristate "Maxim MAX14577/77836 battery charger driver"
502 depends on MFD_MAX14577
503 help
504 Say Y to enable support for the battery charger control sysfs and
505 platform data of MAX14577/77836 MUICs.
506
9d60595a
AK
507config CHARGER_DETECTOR_MAX14656
508 tristate "Maxim MAX14656 USB charger detector"
509 depends on I2C
510 depends on OF
511 help
512 Say Y to enable support for the Maxim MAX14656 USB charger detector.
513 The device is compliant with the USB Battery Charging Specification
514 Revision 1.2 and can be found e.g. in Kindle 4/5th generation
515 readers and certain LG devices.
516
e85e17da
BG
517config CHARGER_MAX77650
518 tristate "Maxim MAX77650 battery charger driver"
519 depends on MFD_MAX77650
520 help
521 Say Y to enable support for the battery charger control of MAX77650
522 PMICs.
523
8c0984e5
SR
524config CHARGER_MAX77693
525 tristate "Maxim MAX77693 battery charger driver"
526 depends on MFD_MAX77693
527 help
528 Say Y to enable support for the Maxim MAX77693 battery charger.
529
530config CHARGER_MAX8997
531 tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver"
532 depends on MFD_MAX8997 && REGULATOR_MAX8997
533 help
534 Say Y to enable support for the battery charger control sysfs and
535 platform data of MAX8997/LP3974 PMICs.
536
537config CHARGER_MAX8998
538 tristate "Maxim MAX8998/LP3974 PMIC battery charger driver"
539 depends on MFD_MAX8998 && REGULATOR_MAX8998
540 help
541 Say Y to enable support for the battery charger control sysfs and
542 platform data of MAX8998/LP3974 PMICs.
543
544config CHARGER_QCOM_SMBB
545 tristate "Qualcomm Switch-Mode Battery Charger and Boost"
546 depends on MFD_SPMI_PMIC || COMPILE_TEST
547 depends on OF
548 depends on EXTCON
51962a35 549 depends on REGULATOR
8c0984e5
SR
550 help
551 Say Y to include support for the Switch-Mode Battery Charger and
552 Boost (SMBB) hardware found in Qualcomm PM8941 PMICs. The charger
553 is an integrated, single-cell lithium-ion battery charger. DT
554 configuration is required for loading, see the devicetree
555 documentation for more detail. The base name for this driver is
556 'pm8941_charger'.
557
558config CHARGER_BQ2415X
559 tristate "TI BQ2415x battery charger driver"
560 depends on I2C
561 help
562 Say Y to enable support for the TI BQ2415x battery charger
563 PMICs.
564
565 You'll need this driver to charge batteries on e.g. Nokia
566 RX-51/N900.
567
568config CHARGER_BQ24190
569 tristate "TI BQ24190 battery charger driver"
570 depends on I2C
da26580f 571 depends on EXTCON
8c0984e5
SR
572 depends on GPIOLIB || COMPILE_TEST
573 help
574 Say Y to enable support for the TI BQ24190 battery charger.
575
576config CHARGER_BQ24257
577 tristate "TI BQ24250/24251/24257 battery charger driver"
578 depends on I2C
579 depends on GPIOLIB || COMPILE_TEST
580 depends on REGMAP_I2C
581 help
582 Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery
583 chargers.
584
585config CHARGER_BQ24735
586 tristate "TI BQ24735 battery charger support"
587 depends on I2C
588 depends on GPIOLIB || COMPILE_TEST
589 help
590 Say Y to enable support for the TI BQ24735 battery charger.
591
592config CHARGER_BQ25890
593 tristate "TI BQ25890 battery charger driver"
594 depends on I2C
595 depends on GPIOLIB || COMPILE_TEST
596 select REGMAP_I2C
597 help
598 Say Y to enable support for the TI BQ25890 battery charger.
599
600config CHARGER_SMB347
601 tristate "Summit Microelectronics SMB347 Battery Charger"
602 depends on I2C
603 select REGMAP_I2C
604 help
605 Say Y to include support for Summit Microelectronics SMB347
606 Battery Charger.
607
608config CHARGER_TPS65090
609 tristate "TPS65090 battery charger driver"
610 depends on MFD_TPS65090
611 help
612 Say Y here to enable support for battery charging with TPS65090
613 PMIC chips.
614
615config CHARGER_TPS65217
616 tristate "TPS65217 battery charger driver"
617 depends on MFD_TPS65217
618 help
619 Say Y here to enable support for battery charging with TPS65217
620 PMIC chips.
621
622config BATTERY_GAUGE_LTC2941
623 tristate "LTC2941/LTC2943 Battery Gauge Driver"
624 depends on I2C
625 help
626 Say Y here to include support for LTC2941 and LTC2943 Battery
627 Gauge IC. The driver reports the charge count continuously, and
628 measures the voltage and temperature every 10 seconds.
629
630config AB8500_BM
631 bool "AB8500 Battery Management Driver"
0a8686e3 632 depends on AB8500_CORE && AB8500_GPADC && (IIO = y)
8c0984e5
SR
633 help
634 Say Y to include support for AB8500 battery management.
635
636config BATTERY_GOLDFISH
637 tristate "Goldfish battery driver"
638 depends on GOLDFISH || COMPILE_TEST
639 depends on HAS_IOMEM
640 help
641 Say Y to enable support for the battery and AC power in the
642 Goldfish emulator.
643
644config BATTERY_RT5033
645 tristate "RT5033 fuel gauge support"
646 depends on MFD_RT5033
647 help
648 This adds support for battery fuel gauge in Richtek RT5033 PMIC.
649 The fuelgauge calculates and determines the battery state of charge
650 according to battery open circuit voltage.
651
652config CHARGER_RT9455
653 tristate "Richtek RT9455 battery charger driver"
654 depends on I2C
655 depends on GPIOLIB || COMPILE_TEST
656 select REGMAP_I2C
657 help
658 Say Y to enable support for Richtek RT9455 battery charger.
659
f68b883e
SN
660config CHARGER_CROS_USBPD
661 tristate "ChromeOS EC based USBPD charger"
f2437e48 662 depends on CROS_USBPD_NOTIFY
f68b883e
SN
663 default n
664 help
665 Say Y here to enable ChromeOS EC based USBPD charger
666 driver. This driver gets various bits of information about
667 what is connected to USB PD ports from the EC and converts
668 that into power_supply properties.
669
1c3d7b03
BW
670config CHARGER_SC2731
671 tristate "Spreadtrum SC2731 charger driver"
672 depends on MFD_SC27XX_PMIC || COMPILE_TEST
673 help
674 Say Y here to enable support for battery charging with SC2731
675 PMIC chips.
676
195ca170
BW
677config FUEL_GAUGE_SC27XX
678 tristate "Spreadtrum SC27XX fuel gauge driver"
679 depends on MFD_SC27XX_PMIC || COMPILE_TEST
ed60f43d 680 depends on IIO
195ca170
BW
681 help
682 Say Y here to enable support for fuel gauge with SC27XX
683 PMIC chips.
684
9a2688e4
AS
685config CHARGER_UCS1002
686 tristate "Microchip UCS1002 USB Port Power Controller"
687 depends on I2C
688 depends on OF
c8f3c9fe 689 depends on REGULATOR
9a2688e4
AS
690 select REGMAP_I2C
691 help
692 Say Y to enable support for Microchip UCS1002 Programmable
693 USB Port Power Controller with Charger Emulation.
694
f8c7f7dd
MV
695config CHARGER_BD70528
696 tristate "ROHM bd70528 charger driver"
697 depends on MFD_ROHM_BD70528
698 default n
699 help
700 Say Y here to enable support for getting battery status
701 information and altering charger configurations from charger
702 block of the ROHM BD70528 Power Management IC.
703
3f57fe28
NC
704config CHARGER_WILCO
705 tristate "Wilco EC based charger for ChromeOS"
706 depends on WILCO_EC
707 help
708 Say Y here to enable control of the charging routines performed
709 by the Embedded Controller on the Chromebook named Wilco. Further
710 information can be found in
711 Documentation/ABI/testing/sysfs-class-power-wilco
712
8c0984e5 713endif # POWER_SUPPLY