xref: /OK3568_Linux_fs/kernel/drivers/power/supply/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# SPDX-License-Identifier: GPL-2.0-only
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
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
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
76	tristate "WM8350 PMU support"
77	depends on MFD_WM8350
78	help
79	  Say Y here to enable support for the power management unit
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
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
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
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
119config BATTERY_CW2015
120	tristate "CW2015 Battery driver"
121	depends on I2C
122	select REGMAP_I2C
123	help
124	  Say Y here to enable support for the cellwise cw2015
125	  battery fuel gauge (used in the Pinebook Pro & others)
126
127	  This driver can also be built as a module. If so, the module will be
128	  called cw2015_battery.
129
130config BATTERY_CW2017
131	tristate "CW2017 Battery driver"
132	depends on I2C
133	select REGMAP_I2C
134	help
135	  Say Y here to enable support for the cellwise cw2017
136	  battery fuel gauge (used in the Pinebook Pro & others)
137
138	  This driver can also be built as a module. If so, the module will be
139	  called cw2017_battery.
140
141config BATTERY_CW221X
142	tristate "CW221x Battery driver"
143	depends on I2C
144	select REGMAP_I2C
145	help
146	  Say Y hereto enable support for the cellwise cw221x
147	  battery fuel gauge (used in the Pinebook Pro & others)
148	  This driver can also be built as a module. If so, the module will be
149	  called cw221x_battery.
150
151config BATTERY_DS2760
152	tristate "DS2760 battery driver (HP iPAQ & others)"
153	depends on W1
154	help
155	  Say Y here to enable support for batteries with ds2760 chip.
156
157config BATTERY_DS2780
158	tristate "DS2780 battery driver"
159	depends on HAS_IOMEM
160	select W1
161	select W1_SLAVE_DS2780
162	help
163	  Say Y here to enable support for batteries with ds2780 chip.
164
165config BATTERY_DS2781
166	tristate "DS2781 battery driver"
167	depends on HAS_IOMEM
168	select W1
169	select W1_SLAVE_DS2781
170	help
171	  If you enable this you will have the DS2781 battery driver support.
172
173	  The battery monitor chip is used in many batteries/devices
174	  as the one who is responsible for charging/discharging/monitoring
175	  Li+ batteries.
176
177	  If you are unsure, say N.
178
179config BATTERY_DS2782
180	tristate "DS2782/DS2786 standalone gas-gauge"
181	depends on I2C
182	help
183	  Say Y here to enable support for the DS2782/DS2786 standalone battery
184	  gas-gauge.
185
186config BATTERY_LEGO_EV3
187	tristate "LEGO MINDSTORMS EV3 battery"
188	depends on OF && IIO && GPIOLIB && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
189	help
190	  Say Y here to enable support for the LEGO MINDSTORMS EV3 battery.
191
192config BATTERY_PMU
193	tristate "Apple PMU battery"
194	depends on PPC32 && ADB_PMU
195	help
196	  Say Y here to expose battery information on Apple machines
197	  through the generic battery class.
198
199config BATTERY_OLPC
200	tristate "One Laptop Per Child battery"
201	depends on OLPC_EC
202	help
203	  Say Y to enable support for the battery on the OLPC laptop.
204
205config BATTERY_TOSA
206	tristate "Sharp SL-6000 (tosa) battery"
207	depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
208	help
209	  Say Y to enable support for the battery on the Sharp Zaurus
210	  SL-6000 (tosa) models.
211
212config BATTERY_COLLIE
213	tristate "Sharp SL-5500 (collie) battery"
214	depends on SA1100_COLLIE && MCP_UCB1200
215	help
216	  Say Y to enable support for the battery on the Sharp Zaurus
217	  SL-5500 (collie) models.
218
219config BATTERY_INGENIC
220	tristate "Ingenic JZ47xx SoCs battery driver"
221	depends on MIPS || COMPILE_TEST
222	depends on INGENIC_ADC
223	help
224	  Choose this option if you want to monitor battery status on
225	  Ingenic JZ47xx SoC based devices.
226
227	  This driver can also be built as a module. If so, the module will be
228	  called ingenic-battery.
229
230config BATTERY_IPAQ_MICRO
231	tristate "iPAQ Atmel Micro ASIC battery driver"
232	depends on MFD_IPAQ_MICRO
233	help
234	  Choose this option if you want to monitor battery status on
235	  Compaq/HP iPAQ h3100 and h3600.
236
237config BATTERY_WM97XX
238	bool "WM97xx generic battery driver"
239	depends on TOUCHSCREEN_WM97XX=y
240	help
241	  Say Y to enable support for battery measured by WM97xx aux port.
242
243config BATTERY_SBS
244	tristate "SBS Compliant gas gauge"
245	depends on I2C
246	help
247	  Say Y to include support for SBS battery driver for SBS-compliant
248	  gas gauges.
249
250config CHARGER_SBS
251	tristate "SBS Compliant charger"
252	depends on I2C
253	select REGMAP_I2C
254	help
255	  Say Y to include support for SBS compliant battery chargers.
256
257config MANAGER_SBS
258	tristate "Smart Battery System Manager"
259	depends on I2C && I2C_MUX && GPIOLIB
260	select I2C_SMBUS
261	help
262	  Say Y here to include support for Smart Battery System Manager
263	  ICs. The driver reports online and charging status via sysfs.
264	  It presents itself also as I2C mux which allows to bind
265	  smart battery driver to its ports.
266	  Supported is for example LTC1760.
267
268	  This driver can also be built as a module. If so, the module will be
269	  called sbs-manager.
270
271config BATTERY_BQ27XXX
272	tristate "BQ27xxx battery driver"
273	help
274	  Say Y here to enable support for batteries with BQ27xxx chips.
275
276config BATTERY_BQ27XXX_I2C
277	tristate "BQ27xxx I2C support"
278	depends on BATTERY_BQ27XXX
279	depends on I2C
280	default y
281	help
282	  Say Y here to enable support for batteries with BQ27xxx chips
283	  connected over an I2C bus.
284
285config BATTERY_BQ27XXX_HDQ
286	tristate "BQ27xxx HDQ support"
287	depends on BATTERY_BQ27XXX
288	depends on W1
289	default y
290	help
291	  Say Y here to enable support for batteries with BQ27xxx chips
292	  connected over an HDQ bus.
293
294config BATTERY_BQ27XXX_DT_UPDATES_NVM
295	bool "BQ27xxx support for update of NVM/flash data memory"
296	depends on BATTERY_BQ27XXX_I2C
297	help
298	  Say Y here to enable devicetree monitored-battery config to update
299	  NVM/flash data memory. Only enable this option for devices with a
300	  fuel gauge mounted on the circuit board, and a battery that cannot
301	  easily be replaced with one of a different type. Not for
302	  general-purpose kernels, as this can cause misconfiguration of a
303	  smart battery with embedded NVM/flash.
304
305config BATTERY_DA9030
306	tristate "DA9030 battery driver"
307	depends on PMIC_DA903X
308	help
309	  Say Y here to enable support for batteries charger integrated into
310	  DA9030 PMIC.
311
312config BATTERY_DA9052
313	tristate "Dialog DA9052 Battery"
314	depends on PMIC_DA9052
315	help
316	  Say Y here to enable support for batteries charger integrated into
317	  DA9052 PMIC.
318
319config CHARGER_DA9150
320	tristate "Dialog Semiconductor DA9150 Charger support"
321	depends on MFD_DA9150
322	depends on DA9150_GPADC
323	depends on IIO
324	help
325	  Say Y here to enable support for charger unit of the DA9150
326	  Integrated Charger & Fuel-Gauge IC.
327
328	  This driver can also be built as a module. If so, the module will be
329	  called da9150-charger.
330
331config BATTERY_DA9150
332	tristate "Dialog Semiconductor DA9150 Fuel Gauge support"
333	depends on MFD_DA9150
334	help
335	  Say Y here to enable support for the Fuel-Gauge unit of the DA9150
336	  Integrated Charger & Fuel-Gauge IC
337
338	  This driver can also be built as a module. If so, the module will be
339	  called da9150-fg.
340
341config CHARGER_AXP20X
342	tristate "X-Powers AXP20X and AXP22X AC power supply driver"
343	depends on MFD_AXP20X
344	depends on AXP20X_ADC
345	depends on IIO
346	help
347	  Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC
348	  power supply.
349
350	  This driver can also be built as a module. If so, the module will be
351	  called axp20x_ac_power.
352
353config BATTERY_AXP20X
354	tristate "X-Powers AXP20X battery driver"
355	depends on MFD_AXP20X
356	depends on AXP20X_ADC
357	depends on IIO
358	help
359	  Say Y here to enable support for X-Powers AXP20X PMICs' battery power
360	  supply.
361
362	  This driver can also be built as a module. If so, the module will be
363	  called axp20x_battery.
364
365config AXP20X_POWER
366	tristate "AXP20x power supply driver"
367	depends on MFD_AXP20X
368	depends on IIO
369	help
370	  This driver provides support for the power supply features of
371	  AXP20x PMIC.
372
373config AXP288_CHARGER
374	tristate "X-Powers AXP288 Charger"
375	depends on MFD_AXP20X && EXTCON_AXP288
376	help
377	  Say yes here to have support X-Power AXP288 power management IC (PMIC)
378	  integrated charger.
379
380config AXP288_FUEL_GAUGE
381	tristate "X-Powers AXP288 Fuel Gauge"
382	depends on MFD_AXP20X && IIO
383	help
384	  Say yes here to have support for X-Power power management IC (PMIC)
385	  Fuel Gauge. The device provides battery statistics and status
386	  monitoring as well as alerts for battery over/under voltage and
387	  over/under temperature.
388
389config BATTERY_MAX17040
390	tristate "Maxim MAX17040 Fuel Gauge"
391	depends on I2C
392	select REGMAP_I2C
393	help
394	  Maxim models with ModelGauge are fuel-gauge systems for lithium-ion
395	  (Li+) batteries in handheld and portable equipment, including
396	  max17040, max17041, max17043, max17044, max17048, max17049, max17058,
397	  max17059. It is also included in some batteries like max77836.
398
399	  Driver supports reporting SOC (State of Charge, i.e capacity),
400	  voltage and configurable low-SOC wakeup interrupt.
401
402config BATTERY_MAX17042
403	tristate "Maxim MAX17042/17047/17050/8997/8966 Fuel Gauge"
404	depends on I2C
405	select REGMAP_I2C
406	help
407	  MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
408	  in handheld and portable equipment. The MAX17042 is configured
409	  to operate with a single lithium cell. MAX8997 and MAX8966 are
410	  multi-function devices that include fuel gauages that are compatible
411	  with MAX17042. This driver also supports max17047/50 chips which are
412	  improved version of max17042.
413
414config BATTERY_MAX1721X
415	tristate "MAX17211/MAX17215 standalone gas-gauge"
416	depends on W1
417	select REGMAP_W1
418	help
419	  MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries
420	  in handheld and portable equipment. MAX17211 used with single cell
421	  battery. MAX17215 designed for muticell battery. Both them have
422	  OneWire (W1) host interface.
423
424	  Say Y here to enable support for the MAX17211/MAX17215 standalone
425	  battery gas-gauge.
426
427config BATTERY_Z2
428	tristate "Z2 battery driver"
429	depends on I2C && MACH_ZIPIT2
430	help
431	  Say Y to include support for the battery on the Zipit Z2.
432
433config BATTERY_S3C_ADC
434	tristate "Battery driver for Samsung ADC based monitoring"
435	depends on S3C_ADC
436	help
437	  Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery
438
439config BATTERY_TWL4030_MADC
440	tristate "TWL4030 MADC battery driver"
441	depends on TWL4030_MADC
442	help
443	  Say Y here to enable this dumb driver for batteries managed
444	  through the TWL4030 MADC.
445
446config CHARGER_88PM860X
447	tristate "Marvell 88PM860x Charger driver"
448	depends on MFD_88PM860X && BATTERY_88PM860X
449	help
450	  Say Y here to enable charger for Marvell 88PM860x chip.
451
452config CHARGER_PCF50633
453	tristate "NXP PCF50633 MBC"
454	depends on MFD_PCF50633
455	help
456	  Say Y to include support for NXP PCF50633 Main Battery Charger.
457
458config BATTERY_RX51
459	tristate "Nokia RX-51 (N900) battery driver"
460	depends on TWL4030_MADC
461	help
462	  Say Y here to enable support for battery information on Nokia
463	  RX-51, also known as N900 tablet.
464
465config CHARGER_CPCAP
466	tristate "CPCAP PMIC Charger Driver"
467	depends on MFD_CPCAP && IIO
468	depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST)
469	default MFD_CPCAP
470	help
471	  Say Y to enable support for CPCAP PMIC charger driver for Motorola
472	  mobile devices such as Droid 4.
473
474config CHARGER_ISP1704
475	tristate "ISP1704 USB Charger Detection"
476	depends on USB_PHY
477	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
478	help
479	  Say Y to enable support for USB Charger Detection with
480	  ISP1707/ISP1704 USB transceivers.
481
482config CHARGER_MAX8903
483	tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
484	help
485	  Say Y to enable support for the MAX8903 DC-DC charger and sysfs.
486	  The driver supports controlling charger-enable and current-limit
487	  pins based on the status of charger connections with interrupt
488	  handlers.
489
490config CHARGER_TWL4030
491	tristate "OMAP TWL4030 BCI charger driver"
492	depends on IIO && TWL4030_CORE
493	help
494	  Say Y here to enable support for TWL4030 Battery Charge Interface.
495
496config CHARGER_LP8727
497	tristate "TI/National Semiconductor LP8727 charger driver"
498	depends on I2C
499	help
500	  Say Y here to enable support for LP8727 Charger Driver.
501
502config CHARGER_LP8788
503	tristate "TI LP8788 charger driver"
504	depends on MFD_LP8788
505	depends on LP8788_ADC
506	depends on IIO
507	help
508	  Say Y to enable support for the LP8788 linear charger.
509
510config CHARGER_GPIO
511	tristate "GPIO charger"
512	depends on GPIOLIB || COMPILE_TEST
513	help
514	  Say Y to include support for chargers which report their online status
515	  through a GPIO pin.
516
517	  This driver can be build as a module. If so, the module will be
518	  called gpio-charger.
519
520config CHARGER_MANAGER
521	tristate "Battery charger manager for multiple chargers"
522	depends on REGULATOR
523	select EXTCON
524	help
525	  Say Y to enable charger-manager support, which allows multiple
526	  chargers attached to a battery and multiple batteries attached to a
527	  system. The charger-manager also can monitor charging status in
528	  runtime and in suspend-to-RAM by waking up the system periodically
529	  with help of suspend_again support.
530
531config ROCKCHIP_CHARGER_MANAGER
532	tristate "rockchip battery charger manager"
533	select EXTCON
534	help
535	  Say Y to enable charger manager support, which allows multiple
536	  chargers attached to a battery.
537
538config CHARGER_LT3651
539	tristate "Analog Devices LT3651 charger"
540	depends on GPIOLIB
541	help
542	  Say Y to include support for the Analog Devices (Linear Technology)
543	  LT3651 battery charger which reports its status via GPIO lines.
544
545config CHARGER_SC8551
546	tristate "SC8551 battery charger pump driver"
547	depends on I2C
548	select REGMAP_I2C
549	help
550	  Say Y to enable support for the SC8551 battery pump charger.
551
552config CHARGER_SC89890
553	tristate "SC89890 battery charger driver"
554	depends on I2C
555	depends on GPIOLIB || COMPILE_TEST
556	select REGMAP_I2C
557	help
558	  Say Y to enable support for the SC89890 battery charger.
559
560config CHARGER_MAX14577
561	tristate "Maxim MAX14577/77836 battery charger driver"
562	depends on MFD_MAX14577
563	help
564	  Say Y to enable support for the battery charger control sysfs and
565	  platform data of MAX14577/77836 MUICs.
566
567config CHARGER_DETECTOR_MAX14656
568	tristate "Maxim MAX14656 USB charger detector"
569	depends on I2C
570	depends on OF
571	help
572	  Say Y to enable support for the Maxim MAX14656 USB charger detector.
573	  The device is compliant with the USB Battery Charging Specification
574	  Revision 1.2 and can be found e.g. in Kindle 4/5th generation
575	  readers and certain LG devices.
576
577config CHARGER_MAX77650
578	tristate "Maxim MAX77650 battery charger driver"
579	depends on MFD_MAX77650
580	help
581	  Say Y to enable support for the battery charger control of MAX77650
582	  PMICs.
583
584config CHARGER_MAX77693
585	tristate "Maxim MAX77693 battery charger driver"
586	depends on MFD_MAX77693
587	help
588	  Say Y to enable support for the Maxim MAX77693 battery charger.
589
590config CHARGER_MAX8997
591	tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver"
592	depends on MFD_MAX8997 && REGULATOR_MAX8997
593	help
594	  Say Y to enable support for the battery charger control sysfs and
595	  platform data of MAX8997/LP3974 PMICs.
596
597config CHARGER_MAX8998
598	tristate "Maxim MAX8998/LP3974 PMIC battery charger driver"
599	depends on MFD_MAX8998 && REGULATOR_MAX8998
600	help
601	  Say Y to enable support for the battery charger control sysfs and
602	  platform data of MAX8998/LP3974 PMICs.
603
604config CHARGER_MP2629
605	tristate "Monolithic power system MP2629 Battery charger"
606	depends on MFD_MP2629
607	depends on MP2629_ADC
608	depends on IIO
609	help
610	  Select this option to enable support for Monolithic power system
611	  Battery charger. This driver provides Battery charger power management
612	  functions on the systems.
613
614config CHARGER_QCOM_SMBB
615	tristate "Qualcomm Switch-Mode Battery Charger and Boost"
616	depends on MFD_SPMI_PMIC || COMPILE_TEST
617	depends on OF
618	depends on EXTCON
619	depends on REGULATOR
620	help
621	  Say Y to include support for the Switch-Mode Battery Charger and
622	  Boost (SMBB) hardware found in Qualcomm PM8941 PMICs.  The charger
623	  is an integrated, single-cell lithium-ion battery charger.  DT
624	  configuration is required for loading, see the devicetree
625	  documentation for more detail.  The base name for this driver is
626	  'pm8941_charger'.
627
628config CHARGER_BQ2415X
629	tristate "TI BQ2415x battery charger driver"
630	depends on I2C
631	help
632	  Say Y to enable support for the TI BQ2415x battery charger
633	  PMICs.
634
635	  You'll need this driver to charge batteries on e.g. Nokia
636	  RX-51/N900.
637
638config CHARGER_BQ24190
639	tristate "TI BQ24190 battery charger driver"
640	depends on I2C
641	depends on EXTCON
642	depends on GPIOLIB || COMPILE_TEST
643	help
644	  Say Y to enable support for the TI BQ24190 battery charger.
645
646config CHARGER_BQ24257
647	tristate "TI BQ24250/24251/24257 battery charger driver"
648	depends on I2C
649	depends on GPIOLIB || COMPILE_TEST
650	select REGMAP_I2C
651	help
652	  Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery
653	  chargers.
654
655config CHARGER_BQ24735
656	tristate "TI BQ24735 battery charger support"
657	depends on I2C
658	depends on GPIOLIB || COMPILE_TEST
659	help
660	  Say Y to enable support for the TI BQ24735 battery charger.
661
662config CHARGER_BQ2515X
663	tristate "TI BQ2515X battery charger family"
664	depends on I2C
665	depends on GPIOLIB || COMPILE_TEST
666	select REGMAP_I2C
667	help
668	  Say Y to enable support for the TI BQ2515X family of battery
669	  charging integrated circuits. The BQ2515X are highly integrated
670	  battery charge management ICs that integrate the most common
671	  functions for wearable devices, namely a charger, an output voltage
672	  rail, ADC for battery and system monitoring, and push-button
673	  controller.
674
675config CHARGER_BQ25700
676	tristate "TI BQ25700 battery charger driver"
677	depends on REGMAP_I2C
678	help
679	  Say Y to enable support for the TI BQ25700 battery charger.
680
681config CHARGER_BQ25890
682	tristate "TI BQ25890 battery charger driver"
683	depends on I2C
684	depends on GPIOLIB || COMPILE_TEST
685	select REGMAP_I2C
686	help
687	  Say Y to enable support for the TI BQ25890 battery charger.
688
689config CHARGER_BQ25980
690	tristate "TI BQ25980 battery charger driver"
691	depends on I2C
692	depends on GPIOLIB || COMPILE_TEST
693	select REGMAP_I2C
694	help
695	  Say Y to enable support for the TI BQ25980, BQ25975 and BQ25960
696	  series of fast battery chargers.
697
698config CHARGER_SMB347
699	tristate "Summit Microelectronics SMB3XX Battery Charger"
700	depends on I2C
701	select REGMAP_I2C
702	help
703	  Say Y to include support for Summit Microelectronics SMB345,
704	  SMB347 or SMB358 Battery Charger.
705
706config CHARGER_TPS65090
707	tristate "TPS65090 battery charger driver"
708	depends on MFD_TPS65090
709	help
710	  Say Y here to enable support for battery charging with TPS65090
711	  PMIC chips.
712
713config CHARGER_TPS65217
714	tristate "TPS65217 battery charger driver"
715	depends on MFD_TPS65217
716	help
717	  Say Y here to enable support for battery charging with TPS65217
718	  PMIC chips.
719
720config BATTERY_GAUGE_LTC2941
721	tristate "LTC2941/LTC2943 Battery Gauge Driver"
722	depends on I2C
723	help
724	  Say Y here to include support for LTC2941 and LTC2943 Battery
725	  Gauge IC. The driver reports the charge count continuously, and
726	  measures the voltage and temperature every 10 seconds.
727
728config AB8500_BM
729	bool "AB8500 Battery Management Driver"
730	depends on AB8500_CORE && AB8500_GPADC && (IIO = y)
731	help
732	  Say Y to include support for AB8500 battery management.
733
734config BATTERY_GOLDFISH
735	tristate "Goldfish battery driver"
736	depends on GOLDFISH || COMPILE_TEST
737	depends on HAS_IOMEM
738	help
739	  Say Y to enable support for the battery and AC power in the
740	  Goldfish emulator.
741
742config BATTERY_RT5033
743	tristate "RT5033 fuel gauge support"
744	depends on I2C
745	select REGMAP_I2C
746	help
747	  This adds support for battery fuel gauge in Richtek RT5033 PMIC.
748	  The fuelgauge calculates and determines the battery state of charge
749	  according to battery open circuit voltage.
750
751config CHARGER_RT9455
752	tristate "Richtek RT9455 battery charger driver"
753	depends on I2C
754	depends on GPIOLIB || COMPILE_TEST
755	select REGMAP_I2C
756	help
757	  Say Y to enable support for Richtek RT9455 battery charger.
758
759config CHARGER_CROS_USBPD
760	tristate "ChromeOS EC based USBPD charger"
761	depends on CROS_USBPD_NOTIFY
762	help
763	  Say Y here to enable ChromeOS EC based USBPD charger
764	  driver. This driver gets various bits of information about
765	  what is connected to USB PD ports from the EC and converts
766	  that into power_supply properties.
767
768config CHARGER_SC2731
769	tristate "Spreadtrum SC2731 charger driver"
770	depends on MFD_SC27XX_PMIC || COMPILE_TEST
771	help
772	  Say Y here to enable support for battery charging with SC2731
773	  PMIC chips.
774
775config FUEL_GAUGE_SC27XX
776	tristate "Spreadtrum SC27XX fuel gauge driver"
777	depends on MFD_SC27XX_PMIC || COMPILE_TEST
778	depends on IIO
779	help
780	  Say Y here to enable support for fuel gauge with SC27XX
781	  PMIC chips.
782
783config CHARGER_UCS1002
784	tristate "Microchip UCS1002 USB Port Power Controller"
785	depends on I2C
786	depends on OF
787	depends on REGULATOR
788	select REGMAP_I2C
789	help
790	  Say Y to enable support for Microchip UCS1002 Programmable
791	  USB Port Power Controller with Charger Emulation.
792
793config CHARGER_BD70528
794	tristate "ROHM bd70528 charger driver"
795	depends on MFD_ROHM_BD70528
796	select LINEAR_RANGES
797	help
798	  Say Y here to enable support for getting battery status
799	  information and altering charger configurations from charger
800	  block of the ROHM BD70528 Power Management IC.
801
802config CHARGER_BD99954
803	tristate "ROHM bd99954 charger driver"
804	depends on I2C
805	select LINEAR_RANGES
806	help
807	  Say Y here to enable support for getting battery and charger
808	  information and altering charger configurations from the ROHM
809	  BD99954 charger IC.
810
811config CHARGER_WILCO
812	tristate "Wilco EC based charger for ChromeOS"
813	depends on WILCO_EC
814	help
815	  Say Y here to enable control of the charging routines performed
816	  by the Embedded Controller on the Chromebook named Wilco. Further
817	  information can be found in
818	  Documentation/ABI/testing/sysfs-class-power-wilco
819
820config RN5T618_POWER
821	tristate "RN5T618 charger/fuel gauge support"
822	depends on MFD_RN5T618
823	help
824	  Say Y here to have support for RN5T618 PMIC family fuel gauge and charger.
825	  This driver can also be built as a module. If so, the module will be
826	  called rn5t618_power.
827
828config BATTERY_RK816
829	tristate "RK816 Battery driver"
830	depends on MFD_RK808
831	help
832	  If you say yes here you will get support for the battery of RK816 PMIC.
833	  This driver can give support for Rk816 Battery Charge Interface.
834
835config BATTERY_RK817
836	tristate "RK817 Battery driver"
837	depends on MFD_RK808
838	help
839	  If you say yes here you will get support for the battery of RK817 PMIC.
840	  This driver can give support for Rk817 Battery Interface.
841
842config CHARGER_RK817
843	tristate "RK817 Charger driver"
844	depends on MFD_RK808
845	help
846	  If you say yes here you will get support for the charger of RK817 PMIC.
847	  This driver can give support for Rk817 Charger Interface.
848
849config BATTERY_RK818
850	tristate "RK818 Battery driver"
851	depends on MFD_RK808
852	default n
853	help
854	  If you say yes here you will get support for the battery of RK818 PMIC.
855	  This driver can give support for Rk818 Battery Charge Interface.
856
857config CHARGER_RK818
858	tristate "RK818 Charger driver"
859	depends on MFD_RK808
860	default n
861	help
862	  If you say yes here you will get support for the charger of RK818 PMIC.
863	  This driver can give support for Rk818 Charger Interface.
864
865config CHARGER_SGM41542
866	tristate "SGM41542 charger driver"
867	depends on I2C
868	depends on GPIOLIB || COMPILE_TEST
869	select REGMAP_I2C
870	help
871	  Say Y to enable support for the SGM41542 battery charger.
872
873endif # POWER_SUPPLY
874