1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig POWER_SUPPLY
3 bool "Power supply class support"
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
12 config POWER_SUPPLY_DEBUG
13 bool "Power supply debug"
15 Say Y here to enable debugging messages for power supply class
18 config POWER_SUPPLY_HWMON
20 prompt "Expose power supply sensors as hwmon device"
21 depends on HWMON=y || HWMON=POWER_SUPPLY
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.
28 Say 'Y' here if you want power supplies to
29 have hwmon sysfs interface too.
32 tristate "APM emulation for class batteries"
33 depends on APM_EMULATION
35 Say Y here to enable support APM status emulation using
36 battery class devices.
38 config GENERIC_ADC_BATTERY
39 tristate "Generic battery support using IIO"
42 Say Y here to enable support for the generic battery driver
43 which uses IIO framework to read adc.
46 tristate "Injoinic IP5xxx power bank IC driver"
50 Say Y to include support for Injoinic IP5xxx power bank ICs,
51 which include a battery charger and a boost converter.
54 tristate "MAX8925 battery charger support"
55 depends on MFD_MAX8925
57 Say Y here to enable support for the battery charger in the Maxim
61 tristate "WM831X backup battery charger support"
64 Say Y here to enable support for the backup battery charger
65 in the Wolfson Microelectronics WM831x PMICs.
68 tristate "WM831X PMU support"
71 Say Y here to enable support for the power management unit
72 provided by Wolfson Microelectronics WM831x PMICs.
75 tristate "WM8350 PMU support"
78 Say Y here to enable support for the power management unit
79 provided by the Wolfson Microelectronics WM8350 PMIC.
82 tristate "Test power driver"
84 This driver is used for testing. It's safe to say M here.
86 config BATTERY_88PM860X
87 tristate "Marvell 88PM860x battery driver"
88 depends on MFD_88PM860X
90 Say Y here to enable battery monitor for Marvell 88PM860x chip.
92 config CHARGER_ADP5061
93 tristate "ADP5061 battery charger driver"
97 Say Y here to enable support for the ADP5061 standalone battery
100 This driver can be built as a module. If so, the module will be
103 config BATTERY_ACT8945A
104 tristate "Active-semi ACT8945A charger driver"
105 depends on MFD_ACT8945A || COMPILE_TEST
107 Say Y here to enable support for power supply provided by
108 Active-semi ActivePath ACT8945A charger.
111 tristate "Motorola CPCAP PMIC battery driver"
112 depends on MFD_CPCAP && IIO
115 Say Y here to enable support for battery on Motorola
116 phones and tablets such as droid 4.
118 config BATTERY_CW2015
119 tristate "CW2015 Battery driver"
123 Say Y here to enable support for the cellwise cw2015
124 battery fuel gauge (used in the Pinebook Pro & others)
126 This driver can also be built as a module. If so, the module will be
127 called cw2015_battery.
129 config BATTERY_DS2760
130 tristate "DS2760 battery driver (HP iPAQ & others)"
133 Say Y here to enable support for batteries with ds2760 chip.
135 config BATTERY_DS2780
136 tristate "DS2780 battery driver"
139 select W1_SLAVE_DS2780
141 Say Y here to enable support for batteries with ds2780 chip.
143 config BATTERY_DS2781
144 tristate "DS2781 battery driver"
147 select W1_SLAVE_DS2781
149 If you enable this you will have the DS2781 battery driver support.
151 The battery monitor chip is used in many batteries/devices
152 as the one who is responsible for charging/discharging/monitoring
155 If you are unsure, say N.
157 config BATTERY_DS2782
158 tristate "DS2782/DS2786 standalone gas-gauge"
161 Say Y here to enable support for the DS2782/DS2786 standalone battery
164 config BATTERY_LEGO_EV3
165 tristate "LEGO MINDSTORMS EV3 battery"
166 depends on OF && IIO && GPIOLIB && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
168 Say Y here to enable support for the LEGO MINDSTORMS EV3 battery.
170 config BATTERY_LENOVO_YOGA_C630
171 tristate "Lenovo Yoga C630 battery"
172 depends on EC_LENOVO_YOGA_C630
174 This driver enables battery support on the Lenovo Yoga C630 laptop.
176 To compile the driver as a module, choose M here: the module will be
177 called lenovo_yoga_c630_battery.
180 tristate "Apple PMU battery"
181 depends on PPC32 && ADB_PMU
183 Say Y here to expose battery information on Apple machines
184 through the generic battery class.
186 config BATTERY_QCOM_BATTMGR
187 tristate "Qualcomm PMIC GLINK battery manager support"
188 depends on QCOM_PMIC_GLINK
191 Say Y here to enable the Qualcomm PMIC GLINK power supply driver,
192 which is used on modern Qualcomm platforms to provide battery and
193 power supply information.
196 tristate "One Laptop Per Child battery"
199 Say Y to enable support for the battery on the OLPC laptop.
201 config BATTERY_SAMSUNG_SDI
202 bool "Samsung SDI batteries"
204 Say Y to enable support for Samsung SDI battery data.
205 These batteries are used in Samsung mobile phones.
207 config BATTERY_COLLIE
208 tristate "Sharp SL-5500 (collie) battery"
209 depends on SA1100_COLLIE && MCP_UCB1200
211 Say Y to enable support for the battery on the Sharp Zaurus
212 SL-5500 (collie) models.
214 config BATTERY_INGENIC
215 tristate "Ingenic JZ47xx SoCs battery driver"
216 depends on MIPS || COMPILE_TEST
217 depends on INGENIC_ADC
219 Choose this option if you want to monitor battery status on
220 Ingenic JZ47xx SoC based devices.
222 This driver can also be built as a module. If so, the module will be
223 called ingenic-battery.
225 config BATTERY_IPAQ_MICRO
226 tristate "iPAQ Atmel Micro ASIC battery driver"
227 depends on MFD_IPAQ_MICRO
229 Choose this option if you want to monitor battery status on
230 Compaq/HP iPAQ h3100 and h3600.
232 config BATTERY_WM97XX
233 bool "WM97xx generic battery driver"
234 depends on TOUCHSCREEN_WM97XX=y
236 Say Y to enable support for battery measured by WM97xx aux port.
239 tristate "SBS Compliant gas gauge"
242 Say Y to include support for SBS battery driver for SBS-compliant
246 tristate "SBS Compliant charger"
250 Say Y to include support for SBS compliant battery chargers.
253 tristate "Smart Battery System Manager"
254 depends on I2C && I2C_MUX && GPIOLIB
257 Say Y here to include support for Smart Battery System Manager
258 ICs. The driver reports online and charging status via sysfs.
259 It presents itself also as I2C mux which allows to bind
260 smart battery driver to its ports.
261 Supported is for example LTC1760.
263 This driver can also be built as a module. If so, the module will be
266 config BATTERY_BQ27XXX
267 tristate "BQ27xxx battery driver"
269 Say Y here to enable support for batteries with BQ27xxx chips.
271 config BATTERY_BQ27XXX_I2C
272 tristate "BQ27xxx I2C support"
273 depends on BATTERY_BQ27XXX
277 Say Y here to enable support for batteries with BQ27xxx chips
278 connected over an I2C bus.
280 config BATTERY_BQ27XXX_HDQ
281 tristate "BQ27xxx HDQ support"
282 depends on BATTERY_BQ27XXX
286 Say Y here to enable support for batteries with BQ27xxx chips
287 connected over an HDQ bus.
289 config BATTERY_BQ27XXX_DT_UPDATES_NVM
290 bool "BQ27xxx support for update of NVM/flash data memory"
291 depends on BATTERY_BQ27XXX_I2C
293 Say Y here to enable devicetree monitored-battery config to update
294 NVM/flash data memory. Only enable this option for devices with a
295 fuel gauge mounted on the circuit board, and a battery that cannot
296 easily be replaced with one of a different type. Not for
297 general-purpose kernels, as this can cause misconfiguration of a
298 smart battery with embedded NVM/flash.
300 config BATTERY_DA9030
301 tristate "DA9030 battery driver"
302 depends on PMIC_DA903X
304 Say Y here to enable support for batteries charger integrated into
307 config BATTERY_DA9052
308 tristate "Dialog DA9052 Battery"
309 depends on PMIC_DA9052
311 Say Y here to enable support for batteries charger integrated into
314 config CHARGER_DA9150
315 tristate "Dialog Semiconductor DA9150 Charger support"
316 depends on MFD_DA9150
317 depends on DA9150_GPADC
320 Say Y here to enable support for charger unit of the DA9150
321 Integrated Charger & Fuel-Gauge IC.
323 This driver can also be built as a module. If so, the module will be
324 called da9150-charger.
326 config BATTERY_DA9150
327 tristate "Dialog Semiconductor DA9150 Fuel Gauge support"
328 depends on MFD_DA9150
330 Say Y here to enable support for the Fuel-Gauge unit of the DA9150
331 Integrated Charger & Fuel-Gauge IC
333 This driver can also be built as a module. If so, the module will be
336 config CHARGER_AXP20X
337 tristate "X-Powers AXP20X and AXP22X AC power supply driver"
338 depends on MFD_AXP20X
339 depends on AXP20X_ADC
342 Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC
345 This driver can also be built as a module. If so, the module will be
346 called axp20x_ac_power.
348 config BATTERY_AXP20X
349 tristate "X-Powers AXP20X battery driver"
350 depends on MFD_AXP20X
351 depends on AXP20X_ADC
354 Say Y here to enable support for X-Powers AXP20X PMICs' battery power
357 This driver can also be built as a module. If so, the module will be
358 called axp20x_battery.
361 tristate "AXP20x power supply driver"
362 depends on MFD_AXP20X
365 This driver provides support for the power supply features of
368 config AXP288_CHARGER
369 tristate "X-Powers AXP288 Charger"
370 depends on MFD_AXP20X && EXTCON_AXP288 && IOSF_MBI && ACPI
372 Say yes here to have support X-Power AXP288 power management IC (PMIC)
375 config AXP288_FUEL_GAUGE
376 tristate "X-Powers AXP288 Fuel Gauge"
377 depends on MFD_AXP20X && IIO && IOSF_MBI && ACPI
379 Say yes here to have support for X-Power power management IC (PMIC)
380 Fuel Gauge. The device provides battery statistics and status
381 monitoring as well as alerts for battery over/under voltage and
382 over/under temperature.
384 config BATTERY_MAX17040
385 tristate "Maxim MAX17040/17041/17043 family Fuel Gauge"
386 depends on I2C && IIO
389 Driver supports Maxim fuel-gauge systems for lithium-ion (Li+)
390 batteries used mainly in handheld and portable equipment.
391 Supported devices: max17040, max17041, max17043, max17044, max17048,
392 max17049, max17058, max17059, max77836.
394 Driver supports reporting SOC (State of Charge, i.e capacity),
395 voltage and configurable low-SOC wakeup interrupt.
397 Driver can be build as a module (max17040_battery).
399 config BATTERY_MAX17042
400 tristate "Maxim MAX17042/17047/17050/8997/8966 family Fuel Gauge"
404 MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
405 in handheld and portable equipment. The MAX17042 is configured
406 to operate with a single lithium cell. MAX8997 and MAX8966 are
407 multi-function devices that include fuel gauages that are compatible
409 Supported devices: max8966, max8997, max17042, max17047, max17050,
410 max17055, max77693, max77849.
412 Driver can be build as a module (max17042_battery).
414 config BATTERY_MAX1720X
415 tristate "Maxim MAX17201/MAX17205 Fuel Gauge"
419 MAX1720x is a family of fuel-gauge systems for lithium-ion (Li+)
420 batteries in handheld and portable equipment. MAX17201 are
421 configured to operate with a single lithium cell, the MAX17205
422 can operate with multiple cells.
424 Say Y to include support for the MAX17201/MAX17205 Fuel Gauges.
426 config BATTERY_MAX1721X
427 tristate "MAX17211/MAX17215 standalone gas-gauge"
431 MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries
432 in handheld and portable equipment. MAX17211 used with single cell
433 battery. MAX17215 designed for muticell battery. Both them have
434 OneWire (W1) host interface.
436 Say Y here to enable support for the MAX17211/MAX17215 standalone
439 config BATTERY_TWL4030_MADC
440 tristate "TWL4030 MADC battery driver"
441 depends on TWL4030_MADC
443 Say Y here to enable this dumb driver for batteries managed
444 through the TWL4030 MADC.
446 config CHARGER_88PM860X
447 tristate "Marvell 88PM860x Charger driver"
448 depends on MFD_88PM860X && BATTERY_88PM860X
450 Say Y here to enable charger for Marvell 88PM860x chip.
452 config CHARGER_PCF50633
453 tristate "NXP PCF50633 MBC"
454 depends on MFD_PCF50633
456 Say Y to include support for NXP PCF50633 Main Battery Charger.
459 tristate "Nokia RX-51 (N900) battery driver"
460 depends on TWL4030_MADC
462 Say Y here to enable support for battery information on Nokia
463 RX-51, also known as N900 tablet.
466 tristate "CPCAP PMIC Charger Driver"
467 depends on MFD_CPCAP && IIO
468 depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST)
471 Say Y to enable support for CPCAP PMIC charger driver for Motorola
472 mobile devices such as Droid 4.
474 config CHARGER_ISP1704
475 tristate "ISP1704 USB Charger Detection"
477 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
479 Say Y to enable support for USB Charger Detection with
480 ISP1707/ISP1704 USB transceivers.
482 config CHARGER_MAX8903
483 tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
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
490 config CHARGER_TWL4030
491 tristate "OMAP TWL4030 BCI charger driver"
492 depends on IIO && TWL4030_CORE
494 Say Y here to enable support for TWL4030 Battery Charge Interface.
496 config CHARGER_TWL6030
497 tristate "OMAP TWL6030 BCI charger driver"
498 depends on IIO && TWL4030_CORE
500 Say Y here to enable support for TWL6030/6032 Battery Charge
503 This driver can be build as a module. If so, the module will be
504 called twl6030_charger.
506 config CHARGER_LP8727
507 tristate "TI/National Semiconductor LP8727 charger driver"
510 Say Y here to enable support for LP8727 Charger Driver.
512 config CHARGER_LP8788
513 tristate "TI LP8788 charger driver"
514 depends on MFD_LP8788
515 depends on LP8788_ADC
518 Say Y to enable support for the LP8788 linear charger.
521 tristate "GPIO charger"
522 depends on GPIOLIB || COMPILE_TEST
524 Say Y to include support for chargers which report their online status
527 This driver can be build as a module. If so, the module will be
530 config CHARGER_MANAGER
531 tristate "Battery charger manager for multiple chargers"
535 Say Y to enable charger-manager support, which allows multiple
536 chargers attached to a battery and multiple batteries attached to a
537 system. The charger-manager also can monitor charging status in
538 runtime and in suspend-to-RAM by waking up the system periodically
539 with help of suspend_again support.
541 config CHARGER_LT3651
542 tristate "Analog Devices LT3651 charger"
545 Say Y to include support for the Analog Devices (Linear Technology)
546 LT3651 battery charger which reports its status via GPIO lines.
548 config CHARGER_LTC4162L
549 tristate "LTC4162-L charger"
553 Say Y to include support for the Analog Devices (Linear Technology)
554 LTC4162-L battery charger connected to I2C.
556 config CHARGER_MAX14577
557 tristate "Maxim MAX14577/77836 battery charger driver"
558 depends on MFD_MAX14577
560 Say Y to enable support for the battery charger control sysfs and
561 platform data of MAX14577/77836 MUICs.
563 config CHARGER_DETECTOR_MAX14656
564 tristate "Maxim MAX14656 USB charger detector"
568 Say Y to enable support for the Maxim MAX14656 USB charger detector.
569 The device is compliant with the USB Battery Charging Specification
570 Revision 1.2 and can be found e.g. in Kindle 4/5th generation
571 readers and certain LG devices.
573 config CHARGER_MAX77650
574 tristate "Maxim MAX77650 battery charger driver"
575 depends on MFD_MAX77650
577 Say Y to enable support for the battery charger control of MAX77650
580 config CHARGER_MAX77693
581 tristate "Maxim MAX77693 battery charger driver"
582 depends on MFD_MAX77693
584 Say Y to enable support for the Maxim MAX77693 battery charger.
586 config CHARGER_MAX77976
587 tristate "Maxim MAX77976 battery charger driver"
591 The Maxim MAX77976 is a 19 Vin, 5.5A 1-Cell Li+ Battery Charger
592 USB OTG support. It has an I2C interface for configuration.
594 Say Y to enable support for the Maxim MAX77976 battery charger.
595 This driver can also be built as a module. If so, the module will be
596 called max77976_charger.
598 config CHARGER_MAX8997
599 tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver"
600 depends on MFD_MAX8997 && REGULATOR_MAX8997
601 depends on EXTCON || !EXTCON
603 Say Y to enable support for the battery charger control sysfs and
604 platform data of MAX8997/LP3974 PMICs.
606 config CHARGER_MAX8998
607 tristate "Maxim MAX8998/LP3974 PMIC battery charger driver"
608 depends on MFD_MAX8998 && REGULATOR_MAX8998
610 Say Y to enable support for the battery charger control sysfs and
611 platform data of MAX8998/LP3974 PMICs.
613 config CHARGER_MP2629
614 tristate "Monolithic power system MP2629 Battery charger"
615 depends on MFD_MP2629
616 depends on MP2629_ADC
619 Select this option to enable support for Monolithic power system
620 Battery charger. This driver provides Battery charger power management
621 functions on the systems.
623 config CHARGER_MT6360
624 tristate "Mediatek MT6360 Charger Driver"
625 depends on MFD_MT6360
629 Say Y here to enable MT6360 Charger Part.
630 The device supports High-Accuracy Voltage/Current Regulation,
631 Average Input Current Regulation, Battery Temperature Sensing,
632 Over-Temperature Protection, DPDM Detection for BC1.2.
634 config CHARGER_MT6370
635 tristate "MediaTek MT6370 Charger Driver"
636 depends on MFD_MT6370
641 Say Y here to enable MT6370 Charger Part.
642 The device supports High-Accuracy Voltage/Current Regulation,
643 Average Input Current Regulation, Battery Temperature Sensing,
644 Over-Temperature Protection, DPDM Detection for BC1.2.
646 This driver can also be built as a module. If so, the module
647 will be called "mt6370-charger".
649 config CHARGER_QCOM_SMBB
650 tristate "Qualcomm Switch-Mode Battery Charger and Boost"
651 depends on MFD_SPMI_PMIC || COMPILE_TEST
656 Say Y to include support for the Switch-Mode Battery Charger and
657 Boost (SMBB) hardware found in Qualcomm PM8941 PMICs. The charger
658 is an integrated, single-cell lithium-ion battery charger. DT
659 configuration is required for loading, see the devicetree
660 documentation for more detail. The base name for this driver is
663 config BATTERY_PM8916_BMS_VM
664 tristate "Qualcomm PM8916 BMS-VM support"
665 depends on MFD_SPMI_PMIC || COMPILE_TEST
667 Say Y to add support for Voltage Mode BMS block found in some
668 Qualcomm PMICs such as PM8916. This hardware block provides
669 battery voltage monitoring for the system.
671 To compile this driver as module, choose M here: the
672 module will be called pm8916_bms_vm.
674 config CHARGER_PM8916_LBC
675 tristate "Qualcomm PM8916 Linear Battery Charger support"
676 depends on MFD_SPMI_PMIC || COMPILE_TEST
677 depends on EXTCON || !EXTCON
679 Say Y here to add support for Linear Battery Charger block
680 found in some Qualcomm PMICs such as PM8916. This hardware
681 blokc provides simple CC/CV battery charger.
683 To compile this driver as module, choose M here: the
684 module will be called pm8916_lbc.
686 config CHARGER_BQ2415X
687 tristate "TI BQ2415x battery charger driver"
690 Say Y to enable support for the TI BQ2415x battery charger
693 You'll need this driver to charge batteries on e.g. Nokia
696 config CHARGER_BQ24190
697 tristate "TI BQ24190 battery charger driver"
700 depends on GPIOLIB || COMPILE_TEST
702 Say Y to enable support for the TI BQ24190 battery charger.
704 config CHARGER_BQ24257
705 tristate "TI BQ24250/24251/24257 battery charger driver"
707 depends on GPIOLIB || COMPILE_TEST
710 Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery
713 config CHARGER_BQ24735
714 tristate "TI BQ24735 battery charger support"
716 depends on GPIOLIB || COMPILE_TEST
718 Say Y to enable support for the TI BQ24735 battery charger.
720 config CHARGER_BQ2515X
721 tristate "TI BQ2515X battery charger family"
723 depends on GPIOLIB || COMPILE_TEST
726 Say Y to enable support for the TI BQ2515X family of battery
727 charging integrated circuits. The BQ2515X are highly integrated
728 battery charge management ICs that integrate the most common
729 functions for wearable devices, namely a charger, an output voltage
730 rail, ADC for battery and system monitoring, and push-button
733 config CHARGER_BQ25890
734 tristate "TI BQ25890 battery charger driver"
736 depends on GPIOLIB || COMPILE_TEST
739 Say Y to enable support for the TI BQ25890 battery charger.
741 config CHARGER_BQ25980
742 tristate "TI BQ25980 battery charger driver"
744 depends on GPIOLIB || COMPILE_TEST
747 Say Y to enable support for the TI BQ25980, BQ25975 and BQ25960
748 series of fast battery chargers.
750 config CHARGER_BQ256XX
751 tristate "TI BQ256XX battery charger driver"
753 depends on GPIOLIB || COMPILE_TEST
756 Say Y to enable support for the TI BQ256XX battery chargers. The
757 BQ256XX family of devices are highly-integrated, switch-mode battery
758 charge management and system power path management devices for single
759 cell Li-ion and Li-polymer batteries.
762 tristate "Rockchip RK817 PMIC Battery Charger"
765 Say Y to include support for Rockchip RK817 Battery Charger.
767 config CHARGER_SMB347
768 tristate "Summit Microelectronics SMB3XX Battery Charger"
773 Say Y to include support for Summit Microelectronics SMB345,
774 SMB347 or SMB358 Battery Charger.
776 config CHARGER_TPS65090
777 tristate "TPS65090 battery charger driver"
778 depends on MFD_TPS65090
780 Say Y here to enable support for battery charging with TPS65090
783 config CHARGER_TPS65217
784 tristate "TPS65217 battery charger driver"
785 depends on MFD_TPS65217
787 Say Y here to enable support for battery charging with TPS65217
790 config BATTERY_GAUGE_LTC2941
791 tristate "LTC2941/LTC2943 Battery Gauge Driver"
794 Say Y here to include support for LTC2941 and LTC2943 Battery
795 Gauge IC. The driver reports the charge count continuously, and
796 measures the voltage and temperature every 10 seconds.
799 bool "AB8500 Battery Management Driver"
800 depends on AB8500_CORE && AB8500_GPADC && (IIO = y) && OF
804 Say Y to include support for AB8500 battery management.
806 config BATTERY_GOLDFISH
807 tristate "Goldfish battery driver"
810 Say Y to enable support for the Goldfish battery and AC power
811 driver. Originated in the Android Studio Emulator (goldfish) it is
812 going to be used in other emulators.
814 config BATTERY_RT5033
815 tristate "RT5033 fuel gauge support"
819 This adds support for battery fuel gauge in Richtek RT5033 PMIC.
820 The fuelgauge calculates and determines the battery state of charge
821 according to battery open circuit voltage.
823 config CHARGER_RT5033
824 tristate "RT5033 battery charger support"
825 depends on MFD_RT5033
826 depends on EXTCON || !EXTCON
828 This adds support for battery charger in Richtek RT5033 PMIC.
829 The device supports pre-charge mode, fast charge mode and
830 constant voltage mode.
832 config CHARGER_RT9455
833 tristate "Richtek RT9455 battery charger driver"
835 depends on GPIOLIB || COMPILE_TEST
838 Say Y to enable support for Richtek RT9455 battery charger.
840 config CHARGER_RT9467
841 tristate "Richtek RT9467 Battery Charger Driver"
842 depends on I2C && GPIOLIB && REGULATOR
847 Say Y here to enable RT9467 Battery Charger.
848 RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger
849 for portable applications. It integrates a synchronous PWM controller,
850 power MOSFETs, input current sensing and regulation, high-accuracy
851 voltage regulation, and charge termination. The charge current is
852 regulated through integrated sensing resistors. It also features
853 USB On-The-Go (OTG) support and integrates D+/D- pin for USB
854 host/charging port detection.
856 This driver can also be built as a module. If so, the module
857 will be called "rt9467-charger".
859 config CHARGER_RT9471
860 tristate "Richtek RT9471 battery charger driver"
861 depends on I2C && GPIOLIB && REGULATOR
866 This adds support for Richtek RT9471 battery charger. RT9471 is
867 highly-integrated switch mode battery charger which is system power
868 patch manageable device for single cell Li-Ion and Li-polymer battery.
869 It can support BC12 detection on DPDM, and current and voltage
870 regulation on both charging and boost mode.
872 This driver can also be built as a module. If so, the module will be
875 config CHARGER_CROS_USBPD
876 tristate "ChromeOS EC based USBPD charger"
877 depends on CROS_USBPD_NOTIFY
879 Say Y here to enable ChromeOS EC based USBPD charger
880 driver. This driver gets various bits of information about
881 what is connected to USB PD ports from the EC and converts
882 that into power_supply properties.
884 config CHARGER_CROS_PCHG
885 tristate "ChromeOS EC based peripheral charger"
886 depends on MFD_CROS_EC_DEV
887 default MFD_CROS_EC_DEV
889 Say Y here to enable ChromeOS EC based peripheral charge driver.
890 This driver gets various information about the devices connected to
891 the peripheral charge ports from the EC and converts that into
892 power_supply properties.
894 config CHARGER_CROS_CONTROL
895 tristate "ChromeOS EC based charge control"
896 depends on MFD_CROS_EC_DEV
897 depends on ACPI_BATTERY
898 default MFD_CROS_EC_DEV
900 Say Y here to enable ChromeOS EC based battery charge control.
901 This driver can manage charge thresholds and behaviour.
903 This driver can also be built as a module. If so, the module will be
904 called cros_charge-control.
906 config CHARGER_SC2731
907 tristate "Spreadtrum SC2731 charger driver"
908 depends on MFD_SC27XX_PMIC || COMPILE_TEST
910 Say Y here to enable support for battery charging with SC2731
913 config FUEL_GAUGE_SC27XX
914 tristate "Spreadtrum SC27XX fuel gauge driver"
915 depends on MFD_SC27XX_PMIC || COMPILE_TEST
918 Say Y here to enable support for fuel gauge with SC27XX
921 config CHARGER_UCS1002
922 tristate "Microchip UCS1002 USB Port Power Controller"
928 Say Y to enable support for Microchip UCS1002 Programmable
929 USB Port Power Controller with Charger Emulation.
931 config CHARGER_BD99954
932 tristate "ROHM bd99954 charger driver"
936 Say Y here to enable support for getting battery and charger
937 information and altering charger configurations from the ROHM
941 tristate "Wilco EC based charger for ChromeOS"
944 Say Y here to enable control of the charging routines performed
945 by the Embedded Controller on the Chromebook named Wilco. Further
946 information can be found in
947 Documentation/ABI/testing/sysfs-class-power-wilco
950 tristate "RN5T618 charger/fuel gauge support"
951 depends on MFD_RN5T618
952 depends on RN5T618_ADC
955 Say Y here to have support for RN5T618 PMIC family fuel gauge and charger.
956 This driver can also be built as a module. If so, the module will be
957 called rn5t618_power.
959 config BATTERY_ACER_A500
960 tristate "Acer Iconia Tab A500 battery driver"
961 depends on MFD_ACER_A500_EC
963 Say Y to include support for Acer Iconia Tab A500 battery fuel gauge.
965 config BATTERY_SURFACE
966 tristate "Battery driver for 7th-generation Microsoft Surface devices"
967 depends on SURFACE_AGGREGATOR_REGISTRY
969 Driver for battery devices connected via/managed by the Surface System
970 Aggregator Module (SSAM).
972 This driver provides battery-information and -status support for
973 Surface devices where said data is not exposed via the standard ACPI
974 devices. On those models (7th-generation), battery-information is
975 instead handled directly via SSAM client devices and this driver.
977 Say M or Y here to include battery status support for 7th-generation
978 Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3,
979 Surface Book 3, and Surface Laptop Go.
981 config CHARGER_SURFACE
982 tristate "AC driver for 7th-generation Microsoft Surface devices"
983 depends on SURFACE_AGGREGATOR_REGISTRY
985 Driver for AC devices connected via/managed by the Surface System
986 Aggregator Module (SSAM).
988 This driver provides AC-information and -status support for Surface
989 devices where said data is not exposed via the standard ACPI devices.
990 On those models (7th-generation), AC-information is instead handled
991 directly via a SSAM client device and this driver.
993 Say M or Y here to include AC status support for 7th-generation
994 Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3,
995 Surface Book 3, and Surface Laptop Go.
997 config BATTERY_UG3105
998 tristate "uPI uG3105 battery monitor driver"
1001 Battery monitor driver for the uPI uG3105 battery monitor.
1003 Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead
1004 it is expected to be use in combination with some always on
1005 microcontroller reading its coulomb-counter before it can wrap
1006 (it must be read every 400 seconds!).
1008 Since Linux does not monitor coulomb-counter changes while the
1009 device is off or suspended, the functionality of this driver is
1010 limited to reporting capacity only.
1012 config CHARGER_QCOM_SMB2
1013 tristate "Qualcomm PMI8998 PMIC charger driver"
1014 depends on MFD_SPMI_PMIC
1017 Say Y here to enable the Qualcomm PMIC Charger driver. This
1018 adds support for the SMB2 switch mode battery charger found
1019 in PMI8998 and related PMICs.
1021 config FUEL_GAUGE_MM8013
1022 tristate "Mitsumi MM8013 fuel gauge driver"
1026 Say Y here to enable the Mitsumi MM8013 fuel gauge driver.
1027 It enables the monitoring of many battery parameters, including
1028 the state of charge, temperature, cycle count, actual and design
1031 endif # POWER_SUPPLY