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