xref: /linux/drivers/power/supply/Kconfig (revision fbc1d056d3f3d417bc9df521cb45a0f51758b64a)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
28c0984e5SSebastian Reichelmenuconfig POWER_SUPPLY
38c0984e5SSebastian Reichel	bool "Power supply class support"
48c0984e5SSebastian Reichel	help
58c0984e5SSebastian Reichel	  Say Y here to enable power supply class support. This allows
68c0984e5SSebastian Reichel	  power supply (batteries, AC, USB) monitoring by userspace
78c0984e5SSebastian Reichel	  via sysfs and uevent (if available) and/or APM kernel interface
88c0984e5SSebastian Reichel	  (if selected below).
98c0984e5SSebastian Reichel
108c0984e5SSebastian Reichelif POWER_SUPPLY
118c0984e5SSebastian Reichel
128c0984e5SSebastian Reichelconfig POWER_SUPPLY_DEBUG
138c0984e5SSebastian Reichel	bool "Power supply debug"
148c0984e5SSebastian Reichel	help
158c0984e5SSebastian Reichel	  Say Y here to enable debugging messages for power supply class
168c0984e5SSebastian Reichel	  and drivers.
178c0984e5SSebastian Reichel
18e67d4dfcSAndrey Smirnovconfig POWER_SUPPLY_HWMON
19e67d4dfcSAndrey Smirnov	bool
20e67d4dfcSAndrey Smirnov	prompt "Expose power supply sensors as hwmon device"
21e67d4dfcSAndrey Smirnov	depends on HWMON=y || HWMON=POWER_SUPPLY
22e67d4dfcSAndrey Smirnov	default y
23e67d4dfcSAndrey Smirnov	help
24e67d4dfcSAndrey Smirnov	  This options enables API that allows sensors found on a
25e67d4dfcSAndrey Smirnov	  power supply device (current, voltage, temperature) to be
26e67d4dfcSAndrey Smirnov	  exposed as a hwmon device.
27e67d4dfcSAndrey Smirnov
28e67d4dfcSAndrey Smirnov	  Say 'Y' here if you want power supplies to
29e67d4dfcSAndrey Smirnov	  have hwmon sysfs interface too.
30e67d4dfcSAndrey Smirnov
318c0984e5SSebastian Reichelconfig APM_POWER
328c0984e5SSebastian Reichel	tristate "APM emulation for class batteries"
338c0984e5SSebastian Reichel	depends on APM_EMULATION
348c0984e5SSebastian Reichel	help
358c0984e5SSebastian Reichel	  Say Y here to enable support APM status emulation using
368c0984e5SSebastian Reichel	  battery class devices.
378c0984e5SSebastian Reichel
388c0984e5SSebastian Reichelconfig GENERIC_ADC_BATTERY
398c0984e5SSebastian Reichel	tristate "Generic battery support using IIO"
408c0984e5SSebastian Reichel	depends on IIO
418c0984e5SSebastian Reichel	help
428c0984e5SSebastian Reichel	  Say Y here to enable support for the generic battery driver
438c0984e5SSebastian Reichel	  which uses IIO framework to read adc.
448c0984e5SSebastian Reichel
4575853406SSamuel Hollandconfig IP5XXX_POWER
4675853406SSamuel Holland	tristate "Injoinic IP5xxx power bank IC driver"
4775853406SSamuel Holland	depends on I2C
4875853406SSamuel Holland	select REGMAP_I2C
4975853406SSamuel Holland	help
5075853406SSamuel Holland	  Say Y to include support for Injoinic IP5xxx power bank ICs,
5175853406SSamuel Holland	  which include a battery charger and a boost converter.
5275853406SSamuel Holland
538c0984e5SSebastian Reichelconfig MAX8925_POWER
548c0984e5SSebastian Reichel	tristate "MAX8925 battery charger support"
558c0984e5SSebastian Reichel	depends on MFD_MAX8925
568c0984e5SSebastian Reichel	help
578c0984e5SSebastian Reichel	  Say Y here to enable support for the battery charger in the Maxim
588c0984e5SSebastian Reichel	  MAX8925 PMIC.
598c0984e5SSebastian Reichel
608c0984e5SSebastian Reichelconfig WM831X_BACKUP
618c0984e5SSebastian Reichel	tristate "WM831X backup battery charger support"
628c0984e5SSebastian Reichel	depends on MFD_WM831X
638c0984e5SSebastian Reichel	help
648c0984e5SSebastian Reichel	  Say Y here to enable support for the backup battery charger
658c0984e5SSebastian Reichel	  in the Wolfson Microelectronics WM831x PMICs.
668c0984e5SSebastian Reichel
678c0984e5SSebastian Reichelconfig WM831X_POWER
688c0984e5SSebastian Reichel	tristate "WM831X PMU support"
698c0984e5SSebastian Reichel	depends on MFD_WM831X
708c0984e5SSebastian Reichel	help
718c0984e5SSebastian Reichel	  Say Y here to enable support for the power management unit
728c0984e5SSebastian Reichel	  provided by Wolfson Microelectronics WM831x PMICs.
738c0984e5SSebastian Reichel
748c0984e5SSebastian Reichelconfig WM8350_POWER
758c0984e5SSebastian Reichel	tristate "WM8350 PMU support"
768c0984e5SSebastian Reichel	depends on MFD_WM8350
778c0984e5SSebastian Reichel	help
788c0984e5SSebastian Reichel	  Say Y here to enable support for the power management unit
798c0984e5SSebastian Reichel	  provided by the Wolfson Microelectronics WM8350 PMIC.
808c0984e5SSebastian Reichel
818c0984e5SSebastian Reichelconfig TEST_POWER
828c0984e5SSebastian Reichel	tristate "Test power driver"
838c0984e5SSebastian Reichel	help
848c0984e5SSebastian Reichel	  This driver is used for testing. It's safe to say M here.
858c0984e5SSebastian Reichel
868c0984e5SSebastian Reichelconfig BATTERY_88PM860X
878c0984e5SSebastian Reichel	tristate "Marvell 88PM860x battery driver"
888c0984e5SSebastian Reichel	depends on MFD_88PM860X
898c0984e5SSebastian Reichel	help
908c0984e5SSebastian Reichel	  Say Y here to enable battery monitor for Marvell 88PM860x chip.
918c0984e5SSebastian Reichel
92fe8e81b7SStefan Popaconfig CHARGER_ADP5061
93fe8e81b7SStefan Popa	tristate "ADP5061 battery charger driver"
94fe8e81b7SStefan Popa	depends on I2C
95fe8e81b7SStefan Popa	select REGMAP_I2C
96fe8e81b7SStefan Popa	help
97fe8e81b7SStefan Popa	  Say Y here to enable support for the ADP5061 standalone battery
98fe8e81b7SStefan Popa	  charger.
99fe8e81b7SStefan Popa
100fe8e81b7SStefan Popa	  This driver can be built as a module. If so, the module will be
101fe8e81b7SStefan Popa	  called adp5061.
102fe8e81b7SStefan Popa
1038c0984e5SSebastian Reichelconfig BATTERY_ACT8945A
1048c0984e5SSebastian Reichel	tristate "Active-semi ACT8945A charger driver"
1058c0984e5SSebastian Reichel	depends on MFD_ACT8945A || COMPILE_TEST
1068c0984e5SSebastian Reichel	help
1078c0984e5SSebastian Reichel	  Say Y here to enable support for power supply provided by
1088c0984e5SSebastian Reichel	  Active-semi ActivePath ACT8945A charger.
1098c0984e5SSebastian Reichel
110*fbc1d056SSvyatoslav Ryhelconfig BATTERY_CHAGALL
111*fbc1d056SSvyatoslav Ryhel	tristate "Pegatron Chagall battery driver"
112*fbc1d056SSvyatoslav Ryhel	depends on I2C
113*fbc1d056SSvyatoslav Ryhel	depends on LEDS_CLASS
114*fbc1d056SSvyatoslav Ryhel	help
115*fbc1d056SSvyatoslav Ryhel	  Say Y to include support for Cypress CG7153AM IC based battery
116*fbc1d056SSvyatoslav Ryhel	  fuel gauge with custom firmware found in Pegatron Chagall based
117*fbc1d056SSvyatoslav Ryhel	  tablet line.
118*fbc1d056SSvyatoslav Ryhel
119*fbc1d056SSvyatoslav Ryhel	  This driver can also be built as a module. If so, the module will be
120*fbc1d056SSvyatoslav Ryhel	  called chagall-battery.
121*fbc1d056SSvyatoslav Ryhel
122874b2adbSTony Lindgrenconfig BATTERY_CPCAP
123874b2adbSTony Lindgren	tristate "Motorola CPCAP PMIC battery driver"
124874b2adbSTony Lindgren	depends on MFD_CPCAP && IIO
125874b2adbSTony Lindgren	default MFD_CPCAP
126874b2adbSTony Lindgren	help
127874b2adbSTony Lindgren	  Say Y here to enable support for battery on Motorola
128874b2adbSTony Lindgren	  phones and tablets such as droid 4.
129874b2adbSTony Lindgren
130b4c7715cSTobias Schrammconfig BATTERY_CW2015
131b4c7715cSTobias Schramm	tristate "CW2015 Battery driver"
132b4c7715cSTobias Schramm	depends on I2C
133b4c7715cSTobias Schramm	select REGMAP_I2C
134b4c7715cSTobias Schramm	help
135b4c7715cSTobias Schramm	  Say Y here to enable support for the cellwise cw2015
136b4c7715cSTobias Schramm	  battery fuel gauge (used in the Pinebook Pro & others)
137b4c7715cSTobias Schramm
138b4c7715cSTobias Schramm	  This driver can also be built as a module. If so, the module will be
139b4c7715cSTobias Schramm	  called cw2015_battery.
140b4c7715cSTobias Schramm
1418c0984e5SSebastian Reichelconfig BATTERY_DS2760
1428c0984e5SSebastian Reichel	tristate "DS2760 battery driver (HP iPAQ & others)"
143bf497355SDaniel Mack	depends on W1
1448c0984e5SSebastian Reichel	help
1458c0984e5SSebastian Reichel	  Say Y here to enable support for batteries with ds2760 chip.
1468c0984e5SSebastian Reichel
1478c0984e5SSebastian Reichelconfig BATTERY_DS2780
1488c0984e5SSebastian Reichel	tristate "DS2780 battery driver"
1498c0984e5SSebastian Reichel	depends on HAS_IOMEM
1508c0984e5SSebastian Reichel	select W1
1518c0984e5SSebastian Reichel	select W1_SLAVE_DS2780
1528c0984e5SSebastian Reichel	help
1538c0984e5SSebastian Reichel	  Say Y here to enable support for batteries with ds2780 chip.
1548c0984e5SSebastian Reichel
1558c0984e5SSebastian Reichelconfig BATTERY_DS2781
1568c0984e5SSebastian Reichel	tristate "DS2781 battery driver"
1578c0984e5SSebastian Reichel	depends on HAS_IOMEM
1588c0984e5SSebastian Reichel	select W1
1598c0984e5SSebastian Reichel	select W1_SLAVE_DS2781
1608c0984e5SSebastian Reichel	help
1618c0984e5SSebastian Reichel	  If you enable this you will have the DS2781 battery driver support.
1628c0984e5SSebastian Reichel
1638c0984e5SSebastian Reichel	  The battery monitor chip is used in many batteries/devices
1648c0984e5SSebastian Reichel	  as the one who is responsible for charging/discharging/monitoring
1658c0984e5SSebastian Reichel	  Li+ batteries.
1668c0984e5SSebastian Reichel
1678c0984e5SSebastian Reichel	  If you are unsure, say N.
1688c0984e5SSebastian Reichel
1698c0984e5SSebastian Reichelconfig BATTERY_DS2782
1708c0984e5SSebastian Reichel	tristate "DS2782/DS2786 standalone gas-gauge"
1718c0984e5SSebastian Reichel	depends on I2C
1728c0984e5SSebastian Reichel	help
1738c0984e5SSebastian Reichel	  Say Y here to enable support for the DS2782/DS2786 standalone battery
1748c0984e5SSebastian Reichel	  gas-gauge.
1758c0984e5SSebastian Reichel
17653db8858SDavid Lechnerconfig BATTERY_LEGO_EV3
17753db8858SDavid Lechner	tristate "LEGO MINDSTORMS EV3 battery"
1788fada2d4SAlex Dewar	depends on OF && IIO && GPIOLIB && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
17953db8858SDavid Lechner	help
18053db8858SDavid Lechner	  Say Y here to enable support for the LEGO MINDSTORMS EV3 battery.
18153db8858SDavid Lechner
182db9cc848SDmitry Baryshkovconfig BATTERY_LENOVO_YOGA_C630
183db9cc848SDmitry Baryshkov	tristate "Lenovo Yoga C630 battery"
184db9cc848SDmitry Baryshkov	depends on EC_LENOVO_YOGA_C630
185db9cc848SDmitry Baryshkov	help
186db9cc848SDmitry Baryshkov	  This driver enables battery support on the Lenovo Yoga C630 laptop.
187db9cc848SDmitry Baryshkov
188db9cc848SDmitry Baryshkov	  To compile the driver as a module, choose M here: the module will be
189db9cc848SDmitry Baryshkov	  called lenovo_yoga_c630_battery.
190db9cc848SDmitry Baryshkov
1918c0984e5SSebastian Reichelconfig BATTERY_PMU
1928c0984e5SSebastian Reichel	tristate "Apple PMU battery"
1938c0984e5SSebastian Reichel	depends on PPC32 && ADB_PMU
1948c0984e5SSebastian Reichel	help
1958c0984e5SSebastian Reichel	  Say Y here to expose battery information on Apple machines
1968c0984e5SSebastian Reichel	  through the generic battery class.
1978c0984e5SSebastian Reichel
19829e8142bSBjorn Anderssonconfig BATTERY_QCOM_BATTMGR
19929e8142bSBjorn Andersson	tristate "Qualcomm PMIC GLINK battery manager support"
20029e8142bSBjorn Andersson	depends on QCOM_PMIC_GLINK
20129e8142bSBjorn Andersson	select AUXILIARY_BUS
20229e8142bSBjorn Andersson	help
20329e8142bSBjorn Andersson	  Say Y here to enable the Qualcomm PMIC GLINK power supply driver,
20429e8142bSBjorn Andersson	  which is used on modern Qualcomm platforms to provide battery and
20529e8142bSBjorn Andersson	  power supply information.
20629e8142bSBjorn Andersson
2078c0984e5SSebastian Reichelconfig BATTERY_OLPC
2088c0984e5SSebastian Reichel	tristate "One Laptop Per Child battery"
209ef071babSLubomir Rintel	depends on OLPC_EC
2108c0984e5SSebastian Reichel	help
2118c0984e5SSebastian Reichel	  Say Y to enable support for the battery on the OLPC laptop.
2128c0984e5SSebastian Reichel
213c8aee3f4SLinus Walleijconfig BATTERY_SAMSUNG_SDI
214c8aee3f4SLinus Walleij	bool "Samsung SDI batteries"
215c8aee3f4SLinus Walleij	help
216c8aee3f4SLinus Walleij	  Say Y to enable support for Samsung SDI battery data.
217c8aee3f4SLinus Walleij	  These batteries are used in Samsung mobile phones.
218c8aee3f4SLinus Walleij
2198c0984e5SSebastian Reichelconfig BATTERY_COLLIE
2208c0984e5SSebastian Reichel	tristate "Sharp SL-5500 (collie) battery"
2218c0984e5SSebastian Reichel	depends on SA1100_COLLIE && MCP_UCB1200
2228c0984e5SSebastian Reichel	help
2238c0984e5SSebastian Reichel	  Say Y to enable support for the battery on the Sharp Zaurus
2248c0984e5SSebastian Reichel	  SL-5500 (collie) models.
2258c0984e5SSebastian Reichel
226fb24ccfbSArtur Rojekconfig BATTERY_INGENIC
227fb24ccfbSArtur Rojek	tristate "Ingenic JZ47xx SoCs battery driver"
228fb24ccfbSArtur Rojek	depends on MIPS || COMPILE_TEST
229fb24ccfbSArtur Rojek	depends on INGENIC_ADC
230fb24ccfbSArtur Rojek	help
231fb24ccfbSArtur Rojek	  Choose this option if you want to monitor battery status on
232fb24ccfbSArtur Rojek	  Ingenic JZ47xx SoC based devices.
233fb24ccfbSArtur Rojek
234fb24ccfbSArtur Rojek	  This driver can also be built as a module. If so, the module will be
235fb24ccfbSArtur Rojek	  called ingenic-battery.
236fb24ccfbSArtur Rojek
2378c0984e5SSebastian Reichelconfig BATTERY_IPAQ_MICRO
2388c0984e5SSebastian Reichel	tristate "iPAQ Atmel Micro ASIC battery driver"
2398c0984e5SSebastian Reichel	depends on MFD_IPAQ_MICRO
2408c0984e5SSebastian Reichel	help
2418c0984e5SSebastian Reichel	  Choose this option if you want to monitor battery status on
2428c0984e5SSebastian Reichel	  Compaq/HP iPAQ h3100 and h3600.
2438c0984e5SSebastian Reichel
2448c0984e5SSebastian Reichelconfig BATTERY_WM97XX
2458c0984e5SSebastian Reichel	bool "WM97xx generic battery driver"
2468c0984e5SSebastian Reichel	depends on TOUCHSCREEN_WM97XX=y
2478c0984e5SSebastian Reichel	help
2488c0984e5SSebastian Reichel	  Say Y to enable support for battery measured by WM97xx aux port.
2498c0984e5SSebastian Reichel
2508c0984e5SSebastian Reichelconfig BATTERY_SBS
2518c0984e5SSebastian Reichel	tristate "SBS Compliant gas gauge"
2528c0984e5SSebastian Reichel	depends on I2C
2538c0984e5SSebastian Reichel	help
2548c0984e5SSebastian Reichel	  Say Y to include support for SBS battery driver for SBS-compliant
2558c0984e5SSebastian Reichel	  gas gauges.
2568c0984e5SSebastian Reichel
257feb583e3SNicolas Saenz Julienneconfig CHARGER_SBS
258feb583e3SNicolas Saenz Julienne	tristate "SBS Compliant charger"
259feb583e3SNicolas Saenz Julienne	depends on I2C
260a4bdea20SRandy Dunlap	select REGMAP_I2C
261feb583e3SNicolas Saenz Julienne	help
26283fc61a5SMasanari Iida	  Say Y to include support for SBS compliant battery chargers.
263feb583e3SNicolas Saenz Julienne
264dbc4dedaSKarl-Heinz Schneiderconfig MANAGER_SBS
265dbc4dedaSKarl-Heinz Schneider	tristate "Smart Battery System Manager"
266a0b8839eSPhil Reid	depends on I2C && I2C_MUX && GPIOLIB
267a0b8839eSPhil Reid	select I2C_SMBUS
268dbc4dedaSKarl-Heinz Schneider	help
269dbc4dedaSKarl-Heinz Schneider	  Say Y here to include support for Smart Battery System Manager
270dbc4dedaSKarl-Heinz Schneider	  ICs. The driver reports online and charging status via sysfs.
271dbc4dedaSKarl-Heinz Schneider	  It presents itself also as I2C mux which allows to bind
272dbc4dedaSKarl-Heinz Schneider	  smart battery driver to its ports.
273dbc4dedaSKarl-Heinz Schneider	  Supported is for example LTC1760.
274dbc4dedaSKarl-Heinz Schneider
275dbc4dedaSKarl-Heinz Schneider	  This driver can also be built as a module. If so, the module will be
276dbc4dedaSKarl-Heinz Schneider	  called sbs-manager.
277dbc4dedaSKarl-Heinz Schneider
2788c0984e5SSebastian Reichelconfig BATTERY_BQ27XXX
2798c0984e5SSebastian Reichel	tristate "BQ27xxx battery driver"
2808c0984e5SSebastian Reichel	help
2818c0984e5SSebastian Reichel	  Say Y here to enable support for batteries with BQ27xxx chips.
2828c0984e5SSebastian Reichel
2838c0984e5SSebastian Reichelconfig BATTERY_BQ27XXX_I2C
2848c0984e5SSebastian Reichel	tristate "BQ27xxx I2C support"
2858c0984e5SSebastian Reichel	depends on BATTERY_BQ27XXX
2868c0984e5SSebastian Reichel	depends on I2C
2878c0984e5SSebastian Reichel	default y
2888c0984e5SSebastian Reichel	help
2898c0984e5SSebastian Reichel	  Say Y here to enable support for batteries with BQ27xxx chips
2908c0984e5SSebastian Reichel	  connected over an I2C bus.
2918c0984e5SSebastian Reichel
29255a9db67SAndrew F. Davisconfig BATTERY_BQ27XXX_HDQ
29355a9db67SAndrew F. Davis	tristate "BQ27xxx HDQ support"
29455a9db67SAndrew F. Davis	depends on BATTERY_BQ27XXX
29555a9db67SAndrew F. Davis	depends on W1
29655a9db67SAndrew F. Davis	default y
29755a9db67SAndrew F. Davis	help
29855a9db67SAndrew F. Davis	  Say Y here to enable support for batteries with BQ27xxx chips
29955a9db67SAndrew F. Davis	  connected over an HDQ bus.
30055a9db67SAndrew F. Davis
301ccce4409SLiam Breckconfig BATTERY_BQ27XXX_DT_UPDATES_NVM
302ccce4409SLiam Breck	bool "BQ27xxx support for update of NVM/flash data memory"
303ccce4409SLiam Breck	depends on BATTERY_BQ27XXX_I2C
304ccce4409SLiam Breck	help
305ccce4409SLiam Breck	  Say Y here to enable devicetree monitored-battery config to update
306ccce4409SLiam Breck	  NVM/flash data memory. Only enable this option for devices with a
307ccce4409SLiam Breck	  fuel gauge mounted on the circuit board, and a battery that cannot
308ccce4409SLiam Breck	  easily be replaced with one of a different type. Not for
309ccce4409SLiam Breck	  general-purpose kernels, as this can cause misconfiguration of a
310ccce4409SLiam Breck	  smart battery with embedded NVM/flash.
311ccce4409SLiam Breck
3128c0984e5SSebastian Reichelconfig BATTERY_DA9030
3138c0984e5SSebastian Reichel	tristate "DA9030 battery driver"
3148c0984e5SSebastian Reichel	depends on PMIC_DA903X
3158c0984e5SSebastian Reichel	help
3168c0984e5SSebastian Reichel	  Say Y here to enable support for batteries charger integrated into
3178c0984e5SSebastian Reichel	  DA9030 PMIC.
3188c0984e5SSebastian Reichel
3198c0984e5SSebastian Reichelconfig BATTERY_DA9052
3208c0984e5SSebastian Reichel	tristate "Dialog DA9052 Battery"
3218c0984e5SSebastian Reichel	depends on PMIC_DA9052
3228c0984e5SSebastian Reichel	help
3238c0984e5SSebastian Reichel	  Say Y here to enable support for batteries charger integrated into
3248c0984e5SSebastian Reichel	  DA9052 PMIC.
3258c0984e5SSebastian Reichel
3268c0984e5SSebastian Reichelconfig CHARGER_DA9150
3278c0984e5SSebastian Reichel	tristate "Dialog Semiconductor DA9150 Charger support"
3288c0984e5SSebastian Reichel	depends on MFD_DA9150
3298c0984e5SSebastian Reichel	depends on DA9150_GPADC
3308c0984e5SSebastian Reichel	depends on IIO
3318c0984e5SSebastian Reichel	help
3328c0984e5SSebastian Reichel	  Say Y here to enable support for charger unit of the DA9150
3338c0984e5SSebastian Reichel	  Integrated Charger & Fuel-Gauge IC.
3348c0984e5SSebastian Reichel
3358c0984e5SSebastian Reichel	  This driver can also be built as a module. If so, the module will be
3368c0984e5SSebastian Reichel	  called da9150-charger.
3378c0984e5SSebastian Reichel
3388c0984e5SSebastian Reichelconfig BATTERY_DA9150
3398c0984e5SSebastian Reichel	tristate "Dialog Semiconductor DA9150 Fuel Gauge support"
3408c0984e5SSebastian Reichel	depends on MFD_DA9150
3418c0984e5SSebastian Reichel	help
3428c0984e5SSebastian Reichel	  Say Y here to enable support for the Fuel-Gauge unit of the DA9150
3438c0984e5SSebastian Reichel	  Integrated Charger & Fuel-Gauge IC
3448c0984e5SSebastian Reichel
3458c0984e5SSebastian Reichel	  This driver can also be built as a module. If so, the module will be
3468c0984e5SSebastian Reichel	  called da9150-fg.
3478c0984e5SSebastian Reichel
348744cc304SQuentin Schulzconfig CHARGER_AXP20X
349744cc304SQuentin Schulz	tristate "X-Powers AXP20X and AXP22X AC power supply driver"
350744cc304SQuentin Schulz	depends on MFD_AXP20X
351744cc304SQuentin Schulz	depends on AXP20X_ADC
352744cc304SQuentin Schulz	depends on IIO
353744cc304SQuentin Schulz	help
354744cc304SQuentin Schulz	  Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC
355744cc304SQuentin Schulz	  power supply.
356744cc304SQuentin Schulz
357744cc304SQuentin Schulz	  This driver can also be built as a module. If so, the module will be
358744cc304SQuentin Schulz	  called axp20x_ac_power.
359744cc304SQuentin Schulz
36046c202b5SQuentin Schulzconfig BATTERY_AXP20X
36146c202b5SQuentin Schulz	tristate "X-Powers AXP20X battery driver"
36246c202b5SQuentin Schulz	depends on MFD_AXP20X
36346c202b5SQuentin Schulz	depends on AXP20X_ADC
36446c202b5SQuentin Schulz	depends on IIO
36546c202b5SQuentin Schulz	help
36646c202b5SQuentin Schulz	  Say Y here to enable support for X-Powers AXP20X PMICs' battery power
36746c202b5SQuentin Schulz	  supply.
36846c202b5SQuentin Schulz
36946c202b5SQuentin Schulz	  This driver can also be built as a module. If so, the module will be
37046c202b5SQuentin Schulz	  called axp20x_battery.
37146c202b5SQuentin Schulz
3726254a6a9SArnd Bergmannconfig AXP20X_POWER
3736254a6a9SArnd Bergmann	tristate "AXP20x power supply driver"
3746254a6a9SArnd Bergmann	depends on MFD_AXP20X
3756254a6a9SArnd Bergmann	depends on IIO
3766254a6a9SArnd Bergmann	help
3776254a6a9SArnd Bergmann	  This driver provides support for the power supply features of
3786254a6a9SArnd Bergmann	  AXP20x PMIC.
3796254a6a9SArnd Bergmann
3808c0984e5SSebastian Reichelconfig AXP288_CHARGER
3818c0984e5SSebastian Reichel	tristate "X-Powers AXP288 Charger"
38200d05666SHans de Goede	depends on MFD_AXP20X && EXTCON_AXP288 && IOSF_MBI && ACPI
3838c0984e5SSebastian Reichel	help
3848c0984e5SSebastian Reichel	  Say yes here to have support X-Power AXP288 power management IC (PMIC)
3858c0984e5SSebastian Reichel	  integrated charger.
3868c0984e5SSebastian Reichel
3878c0984e5SSebastian Reichelconfig AXP288_FUEL_GAUGE
3888c0984e5SSebastian Reichel	tristate "X-Powers AXP288 Fuel Gauge"
389da365db7SHans de Goede	depends on MFD_AXP20X && IIO && IOSF_MBI && ACPI
3908c0984e5SSebastian Reichel	help
3918c0984e5SSebastian Reichel	  Say yes here to have support for X-Power power management IC (PMIC)
3928c0984e5SSebastian Reichel	  Fuel Gauge. The device provides battery statistics and status
3938c0984e5SSebastian Reichel	  monitoring as well as alerts for battery over/under voltage and
3948c0984e5SSebastian Reichel	  over/under temperature.
3958c0984e5SSebastian Reichel
3968c0984e5SSebastian Reichelconfig BATTERY_MAX17040
39782ab575eSKrzysztof Kozlowski	tristate "Maxim MAX17040/17041/17043 family Fuel Gauge"
398814755c4SSvyatoslav Ryhel	depends on I2C && IIO
3996455a8a8SIskren Chernev	select REGMAP_I2C
4008c0984e5SSebastian Reichel	help
40182ab575eSKrzysztof Kozlowski	  Driver supports Maxim fuel-gauge systems for lithium-ion (Li+)
40282ab575eSKrzysztof Kozlowski	  batteries used mainly in handheld and portable equipment.
40382ab575eSKrzysztof Kozlowski	  Supported devices: max17040, max17041, max17043, max17044, max17048,
40482ab575eSKrzysztof Kozlowski	  max17049, max17058, max17059, max77836.
4054f7f8e87SIskren Chernev
4064f7f8e87SIskren Chernev	  Driver supports reporting SOC (State of Charge, i.e capacity),
4074f7f8e87SIskren Chernev	  voltage and configurable low-SOC wakeup interrupt.
4088c0984e5SSebastian Reichel
40982ab575eSKrzysztof Kozlowski	  Driver can be build as a module (max17040_battery).
41082ab575eSKrzysztof Kozlowski
4118c0984e5SSebastian Reichelconfig BATTERY_MAX17042
41240a2d98cSKrzysztof Kozlowski	tristate "Maxim MAX17042/17047/17050/8997/8966 family Fuel Gauge"
4138c0984e5SSebastian Reichel	depends on I2C
4148c0984e5SSebastian Reichel	select REGMAP_I2C
4158c0984e5SSebastian Reichel	help
4168c0984e5SSebastian Reichel	  MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
4178c0984e5SSebastian Reichel	  in handheld and portable equipment. The MAX17042 is configured
4188c0984e5SSebastian Reichel	  to operate with a single lithium cell. MAX8997 and MAX8966 are
4198c0984e5SSebastian Reichel	  multi-function devices that include fuel gauages that are compatible
42040a2d98cSKrzysztof Kozlowski	  with MAX17042.
42140a2d98cSKrzysztof Kozlowski	  Supported devices: max8966, max8997, max17042, max17047, max17050,
42240a2d98cSKrzysztof Kozlowski	  max17055, max77693, max77849.
42340a2d98cSKrzysztof Kozlowski
42440a2d98cSKrzysztof Kozlowski	  Driver can be build as a module (max17042_battery).
4258c0984e5SSebastian Reichel
426479b6d04SDimitri Fedrauconfig BATTERY_MAX1720X
427479b6d04SDimitri Fedrau	tristate "Maxim MAX17201/MAX17205 Fuel Gauge"
428479b6d04SDimitri Fedrau	depends on I2C
429479b6d04SDimitri Fedrau	select REGMAP_I2C
430479b6d04SDimitri Fedrau	help
431479b6d04SDimitri Fedrau	  MAX1720x is a family of fuel-gauge systems for lithium-ion (Li+)
432479b6d04SDimitri Fedrau	  batteries in handheld and portable equipment. MAX17201 are
433479b6d04SDimitri Fedrau	  configured to operate with a single lithium cell, the MAX17205
434479b6d04SDimitri Fedrau	  can operate with multiple cells.
435479b6d04SDimitri Fedrau
436479b6d04SDimitri Fedrau	  Say Y to include support for the MAX17201/MAX17205 Fuel Gauges.
437479b6d04SDimitri Fedrau
43810e48b7dSAlex A. Mihaylovconfig BATTERY_MAX1721X
43910e48b7dSAlex A. Mihaylov	tristate "MAX17211/MAX17215 standalone gas-gauge"
44010e48b7dSAlex A. Mihaylov	depends on W1
44110e48b7dSAlex A. Mihaylov	select REGMAP_W1
44210e48b7dSAlex A. Mihaylov	help
44310e48b7dSAlex A. Mihaylov	  MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries
44410e48b7dSAlex A. Mihaylov	  in handheld and portable equipment. MAX17211 used with single cell
44510e48b7dSAlex A. Mihaylov	  battery. MAX17215 designed for muticell battery. Both them have
44610e48b7dSAlex A. Mihaylov	  OneWire (W1) host interface.
44710e48b7dSAlex A. Mihaylov
44810e48b7dSAlex A. Mihaylov	  Say Y here to enable support for the MAX17211/MAX17215 standalone
44910e48b7dSAlex A. Mihaylov	  battery gas-gauge.
45010e48b7dSAlex A. Mihaylov
4518c0984e5SSebastian Reichelconfig BATTERY_TWL4030_MADC
4528c0984e5SSebastian Reichel	tristate "TWL4030 MADC battery driver"
4538c0984e5SSebastian Reichel	depends on TWL4030_MADC
4548c0984e5SSebastian Reichel	help
4558c0984e5SSebastian Reichel	  Say Y here to enable this dumb driver for batteries managed
4568c0984e5SSebastian Reichel	  through the TWL4030 MADC.
4578c0984e5SSebastian Reichel
4588c0984e5SSebastian Reichelconfig CHARGER_88PM860X
4598c0984e5SSebastian Reichel	tristate "Marvell 88PM860x Charger driver"
4608c0984e5SSebastian Reichel	depends on MFD_88PM860X && BATTERY_88PM860X
4618c0984e5SSebastian Reichel	help
4628c0984e5SSebastian Reichel	  Say Y here to enable charger for Marvell 88PM860x chip.
4638c0984e5SSebastian Reichel
4648c0984e5SSebastian Reichelconfig BATTERY_RX51
4658c0984e5SSebastian Reichel	tristate "Nokia RX-51 (N900) battery driver"
4668c0984e5SSebastian Reichel	depends on TWL4030_MADC
4678c0984e5SSebastian Reichel	help
4688c0984e5SSebastian Reichel	  Say Y here to enable support for battery information on Nokia
4698c0984e5SSebastian Reichel	  RX-51, also known as N900 tablet.
4708c0984e5SSebastian Reichel
4710c9888e3STony Lindgrenconfig CHARGER_CPCAP
4720c9888e3STony Lindgren	tristate "CPCAP PMIC Charger Driver"
4730c9888e3STony Lindgren	depends on MFD_CPCAP && IIO
4748b35bf59SArnd Bergmann	depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST)
4750c9888e3STony Lindgren	default MFD_CPCAP
4760c9888e3STony Lindgren	help
4770c9888e3STony Lindgren	  Say Y to enable support for CPCAP PMIC charger driver for Motorola
4780c9888e3STony Lindgren	  mobile devices such as Droid 4.
4790c9888e3STony Lindgren
4808c0984e5SSebastian Reichelconfig CHARGER_ISP1704
4818c0984e5SSebastian Reichel	tristate "ISP1704 USB Charger Detection"
4828c0984e5SSebastian Reichel	depends on USB_PHY
4838c0984e5SSebastian Reichel	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
4848c0984e5SSebastian Reichel	help
4858c0984e5SSebastian Reichel	  Say Y to enable support for USB Charger Detection with
4868c0984e5SSebastian Reichel	  ISP1707/ISP1704 USB transceivers.
4878c0984e5SSebastian Reichel
4888c0984e5SSebastian Reichelconfig CHARGER_MAX8903
4898c0984e5SSebastian Reichel	tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
4908c0984e5SSebastian Reichel	help
4918c0984e5SSebastian Reichel	  Say Y to enable support for the MAX8903 DC-DC charger and sysfs.
4928c0984e5SSebastian Reichel	  The driver supports controlling charger-enable and current-limit
4938c0984e5SSebastian Reichel	  pins based on the status of charger connections with interrupt
4948c0984e5SSebastian Reichel	  handlers.
4958c0984e5SSebastian Reichel
4968c0984e5SSebastian Reichelconfig CHARGER_TWL4030
4978c0984e5SSebastian Reichel	tristate "OMAP TWL4030 BCI charger driver"
4988c0984e5SSebastian Reichel	depends on IIO && TWL4030_CORE
4998c0984e5SSebastian Reichel	help
5008c0984e5SSebastian Reichel	  Say Y here to enable support for TWL4030 Battery Charge Interface.
5018c0984e5SSebastian Reichel
502b45cdcebSAndreas Kemnadeconfig CHARGER_TWL6030
503b45cdcebSAndreas Kemnade	tristate "OMAP TWL6030 BCI charger driver"
504b45cdcebSAndreas Kemnade	depends on IIO && TWL4030_CORE
505b45cdcebSAndreas Kemnade	help
506b45cdcebSAndreas Kemnade	  Say Y here to enable support for TWL6030/6032 Battery Charge
507b45cdcebSAndreas Kemnade	  Interface.
508b45cdcebSAndreas Kemnade
509b45cdcebSAndreas Kemnade	  This driver can be build as a module. If so, the module will be
510b45cdcebSAndreas Kemnade	  called twl6030_charger.
511b45cdcebSAndreas Kemnade
5128c0984e5SSebastian Reichelconfig CHARGER_LP8727
5138c0984e5SSebastian Reichel	tristate "TI/National Semiconductor LP8727 charger driver"
5148c0984e5SSebastian Reichel	depends on I2C
5158c0984e5SSebastian Reichel	help
5168c0984e5SSebastian Reichel	  Say Y here to enable support for LP8727 Charger Driver.
5178c0984e5SSebastian Reichel
5188c0984e5SSebastian Reichelconfig CHARGER_LP8788
5198c0984e5SSebastian Reichel	tristate "TI LP8788 charger driver"
5208c0984e5SSebastian Reichel	depends on MFD_LP8788
5218c0984e5SSebastian Reichel	depends on LP8788_ADC
5228c0984e5SSebastian Reichel	depends on IIO
5238c0984e5SSebastian Reichel	help
5248c0984e5SSebastian Reichel	  Say Y to enable support for the LP8788 linear charger.
5258c0984e5SSebastian Reichel
5268c0984e5SSebastian Reichelconfig CHARGER_GPIO
5278c0984e5SSebastian Reichel	tristate "GPIO charger"
5288c0984e5SSebastian Reichel	depends on GPIOLIB || COMPILE_TEST
5298c0984e5SSebastian Reichel	help
5308c0984e5SSebastian Reichel	  Say Y to include support for chargers which report their online status
5318c0984e5SSebastian Reichel	  through a GPIO pin.
5328c0984e5SSebastian Reichel
5338c0984e5SSebastian Reichel	  This driver can be build as a module. If so, the module will be
5348c0984e5SSebastian Reichel	  called gpio-charger.
5358c0984e5SSebastian Reichel
5368c0984e5SSebastian Reichelconfig CHARGER_MANAGER
537241eaabcSBaolin Wang	tristate "Battery charger manager for multiple chargers"
5388c0984e5SSebastian Reichel	depends on REGULATOR
5398c0984e5SSebastian Reichel	select EXTCON
5408c0984e5SSebastian Reichel	help
5418c0984e5SSebastian Reichel	  Say Y to enable charger-manager support, which allows multiple
5428c0984e5SSebastian Reichel	  chargers attached to a battery and multiple batteries attached to a
5438c0984e5SSebastian Reichel	  system. The charger-manager also can monitor charging status in
5448c0984e5SSebastian Reichel	  runtime and in suspend-to-RAM by waking up the system periodically
5458c0984e5SSebastian Reichel	  with help of suspend_again support.
5468c0984e5SSebastian Reichel
5472e220e6eSMichael Hennerichconfig CHARGER_LT3651
5482e220e6eSMichael Hennerich	tristate "Analog Devices LT3651 charger"
549c94d4ed0SMike Looijmans	depends on GPIOLIB
550c94d4ed0SMike Looijmans	help
5512e220e6eSMichael Hennerich	  Say Y to include support for the Analog Devices (Linear Technology)
5522e220e6eSMichael Hennerich	  LT3651 battery charger which reports its status via GPIO lines.
553c94d4ed0SMike Looijmans
554cd900f18SMike Looijmansconfig CHARGER_LTC4162L
555cd900f18SMike Looijmans	tristate "LTC4162-L charger"
556cd900f18SMike Looijmans	depends on I2C
557cd900f18SMike Looijmans	select REGMAP_I2C
558cd900f18SMike Looijmans	help
559cd900f18SMike Looijmans	  Say Y to include support for the Analog Devices (Linear Technology)
560cd900f18SMike Looijmans	  LTC4162-L battery charger connected to I2C.
561cd900f18SMike Looijmans
5628c0984e5SSebastian Reichelconfig CHARGER_MAX14577
5638c0984e5SSebastian Reichel	tristate "Maxim MAX14577/77836 battery charger driver"
5648c0984e5SSebastian Reichel	depends on MFD_MAX14577
5658c0984e5SSebastian Reichel	help
5668c0984e5SSebastian Reichel	  Say Y to enable support for the battery charger control sysfs and
5678c0984e5SSebastian Reichel	  platform data of MAX14577/77836 MUICs.
5688c0984e5SSebastian Reichel
5699d60595aSAlexander Kurzconfig CHARGER_DETECTOR_MAX14656
5709d60595aSAlexander Kurz	tristate "Maxim MAX14656 USB charger detector"
5719d60595aSAlexander Kurz	depends on I2C
5729d60595aSAlexander Kurz	depends on OF
5739d60595aSAlexander Kurz	help
5749d60595aSAlexander Kurz	  Say Y to enable support for the Maxim MAX14656 USB charger detector.
5759d60595aSAlexander Kurz	  The device is compliant with the USB Battery Charging Specification
5769d60595aSAlexander Kurz	  Revision 1.2 and can be found e.g. in Kindle 4/5th generation
5779d60595aSAlexander Kurz	  readers and certain LG devices.
5789d60595aSAlexander Kurz
579e85e17daSBartosz Golaszewskiconfig CHARGER_MAX77650
580e85e17daSBartosz Golaszewski	tristate "Maxim MAX77650 battery charger driver"
581e85e17daSBartosz Golaszewski	depends on MFD_MAX77650
582e85e17daSBartosz Golaszewski	help
583e85e17daSBartosz Golaszewski	  Say Y to enable support for the battery charger control of MAX77650
584e85e17daSBartosz Golaszewski	  PMICs.
585e85e17daSBartosz Golaszewski
5868c0984e5SSebastian Reichelconfig CHARGER_MAX77693
5878c0984e5SSebastian Reichel	tristate "Maxim MAX77693 battery charger driver"
5888c0984e5SSebastian Reichel	depends on MFD_MAX77693
5898c0984e5SSebastian Reichel	help
5908c0984e5SSebastian Reichel	  Say Y to enable support for the Maxim MAX77693 battery charger.
5918c0984e5SSebastian Reichel
592a6a494c8SDzmitry Sankouskiconfig CHARGER_MAX77705
593a6a494c8SDzmitry Sankouski	tristate "Maxim MAX77705 battery charger driver"
594a6a494c8SDzmitry Sankouski	depends on MFD_MAX77705
595a6a494c8SDzmitry Sankouski	help
596a6a494c8SDzmitry Sankouski	  Say Y to enable support for the Maxim MAX77705 battery charger.
597a6a494c8SDzmitry Sankouski
598715ecbc1SLuca Ceresoliconfig CHARGER_MAX77976
599715ecbc1SLuca Ceresoli	tristate "Maxim MAX77976 battery charger driver"
600715ecbc1SLuca Ceresoli	depends on I2C
601715ecbc1SLuca Ceresoli	select REGMAP_I2C
602715ecbc1SLuca Ceresoli	help
603715ecbc1SLuca Ceresoli	  The Maxim MAX77976 is a 19 Vin, 5.5A 1-Cell Li+ Battery Charger
604715ecbc1SLuca Ceresoli	  USB OTG support. It has an I2C interface for configuration.
605715ecbc1SLuca Ceresoli
606715ecbc1SLuca Ceresoli	  Say Y to enable support for the Maxim MAX77976 battery charger.
607715ecbc1SLuca Ceresoli	  This driver can also be built as a module. If so, the module will be
608715ecbc1SLuca Ceresoli	  called max77976_charger.
609715ecbc1SLuca Ceresoli
6108c0984e5SSebastian Reichelconfig CHARGER_MAX8997
6118c0984e5SSebastian Reichel	tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver"
6128c0984e5SSebastian Reichel	depends on MFD_MAX8997 && REGULATOR_MAX8997
613f384989eSTimon Baetz	depends on EXTCON || !EXTCON
6148c0984e5SSebastian Reichel	help
6158c0984e5SSebastian Reichel	  Say Y to enable support for the battery charger control sysfs and
6168c0984e5SSebastian Reichel	  platform data of MAX8997/LP3974 PMICs.
6178c0984e5SSebastian Reichel
6188c0984e5SSebastian Reichelconfig CHARGER_MAX8998
6198c0984e5SSebastian Reichel	tristate "Maxim MAX8998/LP3974 PMIC battery charger driver"
6208c0984e5SSebastian Reichel	depends on MFD_MAX8998 && REGULATOR_MAX8998
6218c0984e5SSebastian Reichel	help
6228c0984e5SSebastian Reichel	  Say Y to enable support for the battery charger control sysfs and
6238c0984e5SSebastian Reichel	  platform data of MAX8998/LP3974 PMICs.
6248c0984e5SSebastian Reichel
6253bc6d790SSaravanan Sekarconfig CHARGER_MP2629
6263bc6d790SSaravanan Sekar	tristate "Monolithic power system MP2629 Battery charger"
6273bc6d790SSaravanan Sekar	depends on MFD_MP2629
6283bc6d790SSaravanan Sekar	depends on MP2629_ADC
6293bc6d790SSaravanan Sekar	depends on IIO
6303bc6d790SSaravanan Sekar	help
6313bc6d790SSaravanan Sekar	  Select this option to enable support for Monolithic power system
6323bc6d790SSaravanan Sekar	  Battery charger. This driver provides Battery charger power management
6333bc6d790SSaravanan Sekar	  functions on the systems.
6343bc6d790SSaravanan Sekar
6350402e8ebSGene Chenconfig CHARGER_MT6360
6360402e8ebSGene Chen	tristate "Mediatek MT6360 Charger Driver"
6370402e8ebSGene Chen	depends on MFD_MT6360
6380402e8ebSGene Chen	depends on REGULATOR
6390402e8ebSGene Chen	select LINEAR_RANGES
6400402e8ebSGene Chen	help
6410402e8ebSGene Chen	  Say Y here to enable MT6360 Charger Part.
6420402e8ebSGene Chen	  The device supports High-Accuracy Voltage/Current Regulation,
6430402e8ebSGene Chen	  Average Input Current Regulation, Battery Temperature Sensing,
6440402e8ebSGene Chen	  Over-Temperature Protection, DPDM Detection for BC1.2.
6450402e8ebSGene Chen
646233cb8a4SChiaEn Wuconfig CHARGER_MT6370
647233cb8a4SChiaEn Wu	tristate "MediaTek MT6370 Charger Driver"
648233cb8a4SChiaEn Wu	depends on MFD_MT6370
649233cb8a4SChiaEn Wu	depends on REGULATOR
650d8be4fe9SRandy Dunlap	depends on IIO
651233cb8a4SChiaEn Wu	select LINEAR_RANGES
652233cb8a4SChiaEn Wu	help
653233cb8a4SChiaEn Wu	  Say Y here to enable MT6370 Charger Part.
654233cb8a4SChiaEn Wu	  The device supports High-Accuracy Voltage/Current Regulation,
655233cb8a4SChiaEn Wu	  Average Input Current Regulation, Battery Temperature Sensing,
656233cb8a4SChiaEn Wu	  Over-Temperature Protection, DPDM Detection for BC1.2.
657233cb8a4SChiaEn Wu
658233cb8a4SChiaEn Wu	  This driver can also be built as a module. If so, the module
659233cb8a4SChiaEn Wu	  will be called "mt6370-charger".
660233cb8a4SChiaEn Wu
6618c0984e5SSebastian Reichelconfig CHARGER_QCOM_SMBB
6628c0984e5SSebastian Reichel	tristate "Qualcomm Switch-Mode Battery Charger and Boost"
6638c0984e5SSebastian Reichel	depends on MFD_SPMI_PMIC || COMPILE_TEST
6648c0984e5SSebastian Reichel	depends on OF
6658c0984e5SSebastian Reichel	depends on EXTCON
66651962a35SArnd Bergmann	depends on REGULATOR
6678c0984e5SSebastian Reichel	help
6688c0984e5SSebastian Reichel	  Say Y to include support for the Switch-Mode Battery Charger and
6698c0984e5SSebastian Reichel	  Boost (SMBB) hardware found in Qualcomm PM8941 PMICs.  The charger
6708c0984e5SSebastian Reichel	  is an integrated, single-cell lithium-ion battery charger.  DT
6718c0984e5SSebastian Reichel	  configuration is required for loading, see the devicetree
6728c0984e5SSebastian Reichel	  documentation for more detail.  The base name for this driver is
6738c0984e5SSebastian Reichel	  'pm8941_charger'.
6748c0984e5SSebastian Reichel
675098bce18SNikita Travkinconfig BATTERY_PM8916_BMS_VM
676098bce18SNikita Travkin	tristate "Qualcomm PM8916 BMS-VM support"
677098bce18SNikita Travkin	depends on MFD_SPMI_PMIC || COMPILE_TEST
678098bce18SNikita Travkin	help
679098bce18SNikita Travkin	  Say Y to add support for Voltage Mode BMS block found in some
680098bce18SNikita Travkin	  Qualcomm PMICs such as PM8916. This hardware block provides
681098bce18SNikita Travkin	  battery voltage monitoring for the system.
682098bce18SNikita Travkin
683098bce18SNikita Travkin	  To compile this driver as module, choose M here: the
684098bce18SNikita Travkin	  module will be called pm8916_bms_vm.
685098bce18SNikita Travkin
686f8d7a3d2SNikita Travkinconfig CHARGER_PM8916_LBC
687f8d7a3d2SNikita Travkin	tristate "Qualcomm PM8916 Linear Battery Charger support"
688f8d7a3d2SNikita Travkin	depends on MFD_SPMI_PMIC || COMPILE_TEST
689a6c6a5feSRandy Dunlap	depends on EXTCON || !EXTCON
690f8d7a3d2SNikita Travkin	help
691f8d7a3d2SNikita Travkin	  Say Y here to add support for Linear Battery Charger block
692f8d7a3d2SNikita Travkin	  found in some Qualcomm PMICs such as PM8916. This hardware
693f8d7a3d2SNikita Travkin	  blokc provides simple CC/CV battery charger.
694f8d7a3d2SNikita Travkin
695f8d7a3d2SNikita Travkin	  To compile this driver as module, choose M here: the
696f8d7a3d2SNikita Travkin	  module will be called pm8916_lbc.
697f8d7a3d2SNikita Travkin
6988c0984e5SSebastian Reichelconfig CHARGER_BQ2415X
6998c0984e5SSebastian Reichel	tristate "TI BQ2415x battery charger driver"
7008c0984e5SSebastian Reichel	depends on I2C
7018c0984e5SSebastian Reichel	help
7028c0984e5SSebastian Reichel	  Say Y to enable support for the TI BQ2415x battery charger
7038c0984e5SSebastian Reichel	  PMICs.
7048c0984e5SSebastian Reichel
7058c0984e5SSebastian Reichel	  You'll need this driver to charge batteries on e.g. Nokia
7068c0984e5SSebastian Reichel	  RX-51/N900.
7078c0984e5SSebastian Reichel
7088c0984e5SSebastian Reichelconfig CHARGER_BQ24190
7098c0984e5SSebastian Reichel	tristate "TI BQ24190 battery charger driver"
7108c0984e5SSebastian Reichel	depends on I2C
711da26580fSHans de Goede	depends on EXTCON
7128c0984e5SSebastian Reichel	depends on GPIOLIB || COMPILE_TEST
7138c0984e5SSebastian Reichel	help
7148c0984e5SSebastian Reichel	  Say Y to enable support for the TI BQ24190 battery charger.
7158c0984e5SSebastian Reichel
7168c0984e5SSebastian Reichelconfig CHARGER_BQ24257
7178c0984e5SSebastian Reichel	tristate "TI BQ24250/24251/24257 battery charger driver"
7188c0984e5SSebastian Reichel	depends on I2C
7198c0984e5SSebastian Reichel	depends on GPIOLIB || COMPILE_TEST
72087c3d579SEnric Balletbo i Serra	select REGMAP_I2C
7218c0984e5SSebastian Reichel	help
7228c0984e5SSebastian Reichel	  Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery
7238c0984e5SSebastian Reichel	  chargers.
7248c0984e5SSebastian Reichel
7258c0984e5SSebastian Reichelconfig CHARGER_BQ24735
7268c0984e5SSebastian Reichel	tristate "TI BQ24735 battery charger support"
7278c0984e5SSebastian Reichel	depends on I2C
7288c0984e5SSebastian Reichel	depends on GPIOLIB || COMPILE_TEST
7298c0984e5SSebastian Reichel	help
7308c0984e5SSebastian Reichel	  Say Y to enable support for the TI BQ24735 battery charger.
7318c0984e5SSebastian Reichel
73244908459SRicardo Rivera-Matosconfig CHARGER_BQ2515X
73344908459SRicardo Rivera-Matos	tristate "TI BQ2515X battery charger family"
73444908459SRicardo Rivera-Matos	depends on I2C
73544908459SRicardo Rivera-Matos	depends on GPIOLIB || COMPILE_TEST
73644908459SRicardo Rivera-Matos	select REGMAP_I2C
73744908459SRicardo Rivera-Matos	help
73844908459SRicardo Rivera-Matos	  Say Y to enable support for the TI BQ2515X family of battery
73944908459SRicardo Rivera-Matos	  charging integrated circuits. The BQ2515X are highly integrated
74044908459SRicardo Rivera-Matos	  battery charge management ICs that integrate the most common
74144908459SRicardo Rivera-Matos	  functions for wearable devices, namely a charger, an output voltage
74244908459SRicardo Rivera-Matos	  rail, ADC for battery and system monitoring, and push-button
74344908459SRicardo Rivera-Matos	  controller.
74444908459SRicardo Rivera-Matos
7458c0984e5SSebastian Reichelconfig CHARGER_BQ25890
7468c0984e5SSebastian Reichel	tristate "TI BQ25890 battery charger driver"
7478c0984e5SSebastian Reichel	depends on I2C
7488c0984e5SSebastian Reichel	depends on GPIOLIB || COMPILE_TEST
7498c0984e5SSebastian Reichel	select REGMAP_I2C
7508c0984e5SSebastian Reichel	help
7518c0984e5SSebastian Reichel	  Say Y to enable support for the TI BQ25890 battery charger.
7528c0984e5SSebastian Reichel
7535069185fSDan Murphyconfig CHARGER_BQ25980
7545069185fSDan Murphy	tristate "TI BQ25980 battery charger driver"
7555069185fSDan Murphy	depends on I2C
7565069185fSDan Murphy	depends on GPIOLIB || COMPILE_TEST
7575069185fSDan Murphy	select REGMAP_I2C
7585069185fSDan Murphy	help
7595069185fSDan Murphy	  Say Y to enable support for the TI BQ25980, BQ25975 and BQ25960
7605069185fSDan Murphy	  series of fast battery chargers.
7615069185fSDan Murphy
76232e4978bSRicardo Rivera-Matosconfig CHARGER_BQ256XX
76332e4978bSRicardo Rivera-Matos	tristate "TI BQ256XX battery charger driver"
76432e4978bSRicardo Rivera-Matos	depends on I2C
76532e4978bSRicardo Rivera-Matos	depends on GPIOLIB || COMPILE_TEST
76632e4978bSRicardo Rivera-Matos	select REGMAP_I2C
76732e4978bSRicardo Rivera-Matos	help
76832e4978bSRicardo Rivera-Matos	  Say Y to enable support for the TI BQ256XX battery chargers. The
76932e4978bSRicardo Rivera-Matos	  BQ256XX family of devices are highly-integrated, switch-mode battery
77032e4978bSRicardo Rivera-Matos	  charge management and system power path management devices for single
77132e4978bSRicardo Rivera-Matos	  cell Li-ion and Li-polymer batteries.
77232e4978bSRicardo Rivera-Matos
77311cb8da0SChris Morganconfig CHARGER_RK817
77411cb8da0SChris Morgan	tristate "Rockchip RK817 PMIC Battery Charger"
775c20e8c5bSSebastian Reichel	depends on MFD_RK8XX
77611cb8da0SChris Morgan	help
77711cb8da0SChris Morgan	  Say Y to include support for Rockchip RK817 Battery Charger.
77811cb8da0SChris Morgan
7798c0984e5SSebastian Reichelconfig CHARGER_SMB347
780de76fd29SDavid Heidelberg	tristate "Summit Microelectronics SMB3XX Battery Charger"
7818c0984e5SSebastian Reichel	depends on I2C
782565efae9SDmitry Osipenko	depends on REGULATOR
7838c0984e5SSebastian Reichel	select REGMAP_I2C
7848c0984e5SSebastian Reichel	help
785de76fd29SDavid Heidelberg	  Say Y to include support for Summit Microelectronics SMB345,
786de76fd29SDavid Heidelberg	  SMB347 or SMB358 Battery Charger.
7878c0984e5SSebastian Reichel
7888c0984e5SSebastian Reichelconfig CHARGER_TPS65090
7898c0984e5SSebastian Reichel	tristate "TPS65090 battery charger driver"
7908c0984e5SSebastian Reichel	depends on MFD_TPS65090
7918c0984e5SSebastian Reichel	help
7928c0984e5SSebastian Reichel	  Say Y here to enable support for battery charging with TPS65090
7938c0984e5SSebastian Reichel	  PMIC chips.
7948c0984e5SSebastian Reichel
7958c0984e5SSebastian Reichelconfig CHARGER_TPS65217
7968c0984e5SSebastian Reichel	tristate "TPS65217 battery charger driver"
7978c0984e5SSebastian Reichel	depends on MFD_TPS65217
7988c0984e5SSebastian Reichel	help
7998c0984e5SSebastian Reichel	  Say Y here to enable support for battery charging with TPS65217
8008c0984e5SSebastian Reichel	  PMIC chips.
8018c0984e5SSebastian Reichel
8028c0984e5SSebastian Reichelconfig BATTERY_GAUGE_LTC2941
8038c0984e5SSebastian Reichel	tristate "LTC2941/LTC2943 Battery Gauge Driver"
8048c0984e5SSebastian Reichel	depends on I2C
8058c0984e5SSebastian Reichel	help
8068c0984e5SSebastian Reichel	  Say Y here to include support for LTC2941 and LTC2943 Battery
8078c0984e5SSebastian Reichel	  Gauge IC. The driver reports the charge count continuously, and
8088c0984e5SSebastian Reichel	  measures the voltage and temperature every 10 seconds.
8098c0984e5SSebastian Reichel
8108c0984e5SSebastian Reichelconfig AB8500_BM
8118c0984e5SSebastian Reichel	bool "AB8500 Battery Management Driver"
81253207aa1SLinus Walleij	depends on AB8500_CORE && AB8500_GPADC && (IIO = y) && OF
8132b0e7ac0SLinus Walleij	select THERMAL
8142b0e7ac0SLinus Walleij	select THERMAL_OF
8158c0984e5SSebastian Reichel	help
8168c0984e5SSebastian Reichel	  Say Y to include support for AB8500 battery management.
8178c0984e5SSebastian Reichel
8188c0984e5SSebastian Reichelconfig BATTERY_GOLDFISH
8198c0984e5SSebastian Reichel	tristate "Goldfish battery driver"
8208c0984e5SSebastian Reichel	depends on HAS_IOMEM
8218c0984e5SSebastian Reichel	help
822570b7c0eSRoman Kiryanov	  Say Y to enable support for the Goldfish battery and AC power
823570b7c0eSRoman Kiryanov	  driver. Originated in the Android Studio Emulator (goldfish) it is
824570b7c0eSRoman Kiryanov	  going to be used in other emulators.
8258c0984e5SSebastian Reichel
8268c0984e5SSebastian Reichelconfig BATTERY_RT5033
8278c0984e5SSebastian Reichel	tristate "RT5033 fuel gauge support"
828f3076cd8SStephan Gerhold	depends on I2C
829f3076cd8SStephan Gerhold	select REGMAP_I2C
8308c0984e5SSebastian Reichel	help
8318c0984e5SSebastian Reichel	  This adds support for battery fuel gauge in Richtek RT5033 PMIC.
8328c0984e5SSebastian Reichel	  The fuelgauge calculates and determines the battery state of charge
8338c0984e5SSebastian Reichel	  according to battery open circuit voltage.
8348c0984e5SSebastian Reichel
835b7653853SJakob Hauserconfig CHARGER_RT5033
836b7653853SJakob Hauser	tristate "RT5033 battery charger support"
837b7653853SJakob Hauser	depends on MFD_RT5033
83837d1a624SRandy Dunlap	depends on EXTCON || !EXTCON
839b7653853SJakob Hauser	help
840b7653853SJakob Hauser	  This adds support for battery charger in Richtek RT5033 PMIC.
841b7653853SJakob Hauser	  The device supports pre-charge mode, fast charge mode and
842b7653853SJakob Hauser	  constant voltage mode.
843b7653853SJakob Hauser
8448c0984e5SSebastian Reichelconfig CHARGER_RT9455
8458c0984e5SSebastian Reichel	tristate "Richtek RT9455 battery charger driver"
8468c0984e5SSebastian Reichel	depends on I2C
8478c0984e5SSebastian Reichel	depends on GPIOLIB || COMPILE_TEST
8488c0984e5SSebastian Reichel	select REGMAP_I2C
8498c0984e5SSebastian Reichel	help
8508c0984e5SSebastian Reichel	  Say Y to enable support for Richtek RT9455 battery charger.
8518c0984e5SSebastian Reichel
8526f7f70e3SChiaEn Wuconfig CHARGER_RT9467
8536f7f70e3SChiaEn Wu	tristate "Richtek RT9467 Battery Charger Driver"
8546f7f70e3SChiaEn Wu	depends on I2C && GPIOLIB && REGULATOR
8556f7f70e3SChiaEn Wu	select REGMAP_I2C
8566f7f70e3SChiaEn Wu	select REGMAP_IRQ
8576f7f70e3SChiaEn Wu	select LINEAR_RANGES
8586f7f70e3SChiaEn Wu	help
8596f7f70e3SChiaEn Wu	  Say Y here to enable RT9467 Battery Charger.
8606f7f70e3SChiaEn Wu	  RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger
8616f7f70e3SChiaEn Wu	  for portable applications. It integrates a synchronous PWM controller,
8626f7f70e3SChiaEn Wu	  power MOSFETs, input current sensing and regulation, high-accuracy
8636f7f70e3SChiaEn Wu	  voltage regulation, and charge termination. The charge current is
8646f7f70e3SChiaEn Wu	  regulated through integrated sensing resistors. It also features
8656f7f70e3SChiaEn Wu	  USB On-The-Go (OTG) support and integrates D+/D- pin for USB
8666f7f70e3SChiaEn Wu	  host/charging port detection.
8676f7f70e3SChiaEn Wu
8686f7f70e3SChiaEn Wu	  This driver can also be built as a module. If so, the module
8696f7f70e3SChiaEn Wu	  will be called "rt9467-charger".
8706f7f70e3SChiaEn Wu
8714a1a5f67SChiYuan Huangconfig CHARGER_RT9471
8724a1a5f67SChiYuan Huang	tristate "Richtek RT9471 battery charger driver"
8734a1a5f67SChiYuan Huang	depends on I2C && GPIOLIB && REGULATOR
8744a1a5f67SChiYuan Huang	select REGMAP_I2C
8754a1a5f67SChiYuan Huang	select REGMAP_IRQ
8764a1a5f67SChiYuan Huang	select LINEAR_RANGES
8774a1a5f67SChiYuan Huang	help
8784a1a5f67SChiYuan Huang	  This adds support for Richtek RT9471 battery charger. RT9471 is
8794a1a5f67SChiYuan Huang	  highly-integrated switch mode battery charger which is system power
8804a1a5f67SChiYuan Huang	  patch manageable device for single cell Li-Ion and Li-polymer battery.
8814a1a5f67SChiYuan Huang	  It can support BC12 detection on DPDM, and current and voltage
8824a1a5f67SChiYuan Huang	  regulation on both charging and boost mode.
8834a1a5f67SChiYuan Huang
8844a1a5f67SChiYuan Huang	  This driver can also be built as a module. If so, the module will be
8854a1a5f67SChiYuan Huang	  called rt9471.
8864a1a5f67SChiYuan Huang
887f68b883eSSameer Nandaconfig CHARGER_CROS_USBPD
888f68b883eSSameer Nanda	tristate "ChromeOS EC based USBPD charger"
889f2437e48SJon Flatley	depends on CROS_USBPD_NOTIFY
890f68b883eSSameer Nanda	help
891f68b883eSSameer Nanda	  Say Y here to enable ChromeOS EC based USBPD charger
892f68b883eSSameer Nanda	  driver. This driver gets various bits of information about
893f68b883eSSameer Nanda	  what is connected to USB PD ports from the EC and converts
894f68b883eSSameer Nanda	  that into power_supply properties.
895f68b883eSSameer Nanda
89656d629afSDaisuke Nojiriconfig CHARGER_CROS_PCHG
89756d629afSDaisuke Nojiri	tristate "ChromeOS EC based peripheral charger"
89856d629afSDaisuke Nojiri	depends on MFD_CROS_EC_DEV
89956d629afSDaisuke Nojiri	default MFD_CROS_EC_DEV
90056d629afSDaisuke Nojiri	help
90156d629afSDaisuke Nojiri	  Say Y here to enable ChromeOS EC based peripheral charge driver.
90256d629afSDaisuke Nojiri	  This driver gets various information about the devices connected to
90356d629afSDaisuke Nojiri	  the peripheral charge ports from the EC and converts that into
90456d629afSDaisuke Nojiri	  power_supply properties.
90556d629afSDaisuke Nojiri
906c6ed48efSThomas Weißschuhconfig CHARGER_CROS_CONTROL
907c6ed48efSThomas Weißschuh	tristate "ChromeOS EC based charge control"
908c6ed48efSThomas Weißschuh	depends on MFD_CROS_EC_DEV
909c6ed48efSThomas Weißschuh	depends on ACPI_BATTERY
910c6ed48efSThomas Weißschuh	default MFD_CROS_EC_DEV
911c6ed48efSThomas Weißschuh	help
912c6ed48efSThomas Weißschuh	  Say Y here to enable ChromeOS EC based battery charge control.
913c6ed48efSThomas Weißschuh	  This driver can manage charge thresholds and behaviour.
914c6ed48efSThomas Weißschuh
915c6ed48efSThomas Weißschuh	  This driver can also be built as a module. If so, the module will be
916c6ed48efSThomas Weißschuh	  called cros_charge-control.
917c6ed48efSThomas Weißschuh
9181c3d7b03SBaolin Wangconfig CHARGER_SC2731
9191c3d7b03SBaolin Wang	tristate "Spreadtrum SC2731 charger driver"
9201c3d7b03SBaolin Wang	depends on MFD_SC27XX_PMIC || COMPILE_TEST
9211c3d7b03SBaolin Wang	help
9221c3d7b03SBaolin Wang	  Say Y here to enable support for battery charging with SC2731
9231c3d7b03SBaolin Wang	  PMIC chips.
9241c3d7b03SBaolin Wang
925195ca170SBaolin Wangconfig FUEL_GAUGE_SC27XX
926195ca170SBaolin Wang	tristate "Spreadtrum SC27XX fuel gauge driver"
927195ca170SBaolin Wang	depends on MFD_SC27XX_PMIC || COMPILE_TEST
928ed60f43dSRandy Dunlap	depends on IIO
929195ca170SBaolin Wang	help
930195ca170SBaolin Wang	  Say Y here to enable support for fuel gauge with SC27XX
931195ca170SBaolin Wang	  PMIC chips.
932195ca170SBaolin Wang
93374e3f620SBhavin Sharmaconfig FUEL_GAUGE_STC3117
93474e3f620SBhavin Sharma       tristate "STMicroelectronics STC3117 fuel gauge driver"
93574e3f620SBhavin Sharma       depends on CRC8
93674e3f620SBhavin Sharma       depends on I2C
93774e3f620SBhavin Sharma	select REGMAP_I2C
93874e3f620SBhavin Sharma       help
93974e3f620SBhavin Sharma         Say Y here to enable support for fuel gauge with STC3117
94074e3f620SBhavin Sharma         chip.
94174e3f620SBhavin Sharma
9429a2688e4SAndrey Smirnovconfig CHARGER_UCS1002
9439a2688e4SAndrey Smirnov	tristate "Microchip UCS1002 USB Port Power Controller"
9449a2688e4SAndrey Smirnov	depends on I2C
9459a2688e4SAndrey Smirnov	depends on OF
946c8f3c9feSYueHaibing	depends on REGULATOR
9479a2688e4SAndrey Smirnov	select REGMAP_I2C
9489a2688e4SAndrey Smirnov	help
9499a2688e4SAndrey Smirnov	  Say Y to enable support for Microchip UCS1002 Programmable
9509a2688e4SAndrey Smirnov	  USB Port Power Controller with Charger Emulation.
9519a2688e4SAndrey Smirnov
9520902f836SMatti Vaittinenconfig CHARGER_BD99954
9530902f836SMatti Vaittinen	tristate "ROHM bd99954 charger driver"
9540902f836SMatti Vaittinen	depends on I2C
9550902f836SMatti Vaittinen	select LINEAR_RANGES
9560902f836SMatti Vaittinen	help
9570902f836SMatti Vaittinen	  Say Y here to enable support for getting battery and charger
9580902f836SMatti Vaittinen	  information and altering charger configurations from the ROHM
9590902f836SMatti Vaittinen	  BD99954 charger IC.
9600902f836SMatti Vaittinen
9613f57fe28SNick Crewsconfig CHARGER_WILCO
9623f57fe28SNick Crews	tristate "Wilco EC based charger for ChromeOS"
9633f57fe28SNick Crews	depends on WILCO_EC
9643f57fe28SNick Crews	help
9653f57fe28SNick Crews	  Say Y here to enable control of the charging routines performed
9663f57fe28SNick Crews	  by the Embedded Controller on the Chromebook named Wilco. Further
9673f57fe28SNick Crews	  information can be found in
9683f57fe28SNick Crews	  Documentation/ABI/testing/sysfs-class-power-wilco
9693f57fe28SNick Crews
9701426dffaSAndreas Kemnadeconfig RN5T618_POWER
9711426dffaSAndreas Kemnade	tristate "RN5T618 charger/fuel gauge support"
9721426dffaSAndreas Kemnade	depends on MFD_RN5T618
9732f5caa26SAndreas Kemnade	depends on RN5T618_ADC
9742f5caa26SAndreas Kemnade	depends on IIO
9751426dffaSAndreas Kemnade	help
9761426dffaSAndreas Kemnade	  Say Y here to have support for RN5T618 PMIC family fuel gauge and charger.
9771426dffaSAndreas Kemnade	  This driver can also be built as a module. If so, the module will be
9781426dffaSAndreas Kemnade	  called rn5t618_power.
9791426dffaSAndreas Kemnade
980c82a2fbeSDmitry Osipenkoconfig BATTERY_ACER_A500
981c82a2fbeSDmitry Osipenko	tristate "Acer Iconia Tab A500 battery driver"
982c82a2fbeSDmitry Osipenko	depends on MFD_ACER_A500_EC
983c82a2fbeSDmitry Osipenko	help
984c82a2fbeSDmitry Osipenko	  Say Y to include support for Acer Iconia Tab A500 battery fuel gauge.
985c82a2fbeSDmitry Osipenko
986167f77f7SMaximilian Luzconfig BATTERY_SURFACE
987167f77f7SMaximilian Luz	tristate "Battery driver for 7th-generation Microsoft Surface devices"
988167f77f7SMaximilian Luz	depends on SURFACE_AGGREGATOR_REGISTRY
989167f77f7SMaximilian Luz	help
990167f77f7SMaximilian Luz	  Driver for battery devices connected via/managed by the Surface System
991167f77f7SMaximilian Luz	  Aggregator Module (SSAM).
992167f77f7SMaximilian Luz
993167f77f7SMaximilian Luz	  This driver provides battery-information and -status support for
994167f77f7SMaximilian Luz	  Surface devices where said data is not exposed via the standard ACPI
995167f77f7SMaximilian Luz	  devices. On those models (7th-generation), battery-information is
996167f77f7SMaximilian Luz	  instead handled directly via SSAM client devices and this driver.
997167f77f7SMaximilian Luz
998167f77f7SMaximilian Luz	  Say M or Y here to include battery status support for 7th-generation
999167f77f7SMaximilian Luz	  Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3,
1000167f77f7SMaximilian Luz	  Surface Book 3, and Surface Laptop Go.
1001167f77f7SMaximilian Luz
1002e61ffb34SMaximilian Luzconfig CHARGER_SURFACE
1003e61ffb34SMaximilian Luz	tristate "AC driver for 7th-generation Microsoft Surface devices"
1004e61ffb34SMaximilian Luz	depends on SURFACE_AGGREGATOR_REGISTRY
1005e61ffb34SMaximilian Luz	help
1006e61ffb34SMaximilian Luz	  Driver for AC devices connected via/managed by the Surface System
1007e61ffb34SMaximilian Luz	  Aggregator Module (SSAM).
1008e61ffb34SMaximilian Luz
1009e61ffb34SMaximilian Luz	  This driver provides AC-information and -status support for Surface
1010e61ffb34SMaximilian Luz	  devices where said data is not exposed via the standard ACPI devices.
1011e61ffb34SMaximilian Luz	  On those models (7th-generation), AC-information is instead handled
1012e61ffb34SMaximilian Luz	  directly via a SSAM client device and this driver.
1013e61ffb34SMaximilian Luz
1014e61ffb34SMaximilian Luz	  Say M or Y here to include AC status support for 7th-generation
1015e61ffb34SMaximilian Luz	  Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3,
1016e61ffb34SMaximilian Luz	  Surface Book 3, and Surface Laptop Go.
1017e61ffb34SMaximilian Luz
1018f059b46eSHans de Goedeconfig BATTERY_UG3105
1019f059b46eSHans de Goede	tristate "uPI uG3105 battery monitor driver"
1020f059b46eSHans de Goede	depends on I2C
1021f059b46eSHans de Goede	help
1022f059b46eSHans de Goede	  Battery monitor driver for the uPI uG3105 battery monitor.
1023f059b46eSHans de Goede
1024f059b46eSHans de Goede	  Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead
1025f059b46eSHans de Goede	  it is expected to be use in combination with some always on
1026f059b46eSHans de Goede	  microcontroller reading its coulomb-counter before it can wrap
1027f059b46eSHans de Goede	  (it must be read every 400 seconds!).
1028f059b46eSHans de Goede
1029f059b46eSHans de Goede	  Since Linux does not monitor coulomb-counter changes while the
1030f059b46eSHans de Goede	  device is off or suspended, the functionality of this driver is
1031f059b46eSHans de Goede	  limited to reporting capacity only.
1032f059b46eSHans de Goede
10338648aeb5SCaleb Connollyconfig CHARGER_QCOM_SMB2
10348648aeb5SCaleb Connolly	tristate "Qualcomm PMI8998 PMIC charger driver"
10358648aeb5SCaleb Connolly	depends on MFD_SPMI_PMIC
10368648aeb5SCaleb Connolly	depends on IIO
10378648aeb5SCaleb Connolly	help
10388648aeb5SCaleb Connolly	  Say Y here to enable the Qualcomm PMIC Charger driver. This
10398648aeb5SCaleb Connolly	  adds support for the SMB2 switch mode battery charger found
10408648aeb5SCaleb Connolly	  in PMI8998 and related PMICs.
10418648aeb5SCaleb Connolly
1042c75f4bf6SKonrad Dybcioconfig FUEL_GAUGE_MM8013
1043c75f4bf6SKonrad Dybcio	tristate "Mitsumi MM8013 fuel gauge driver"
1044c75f4bf6SKonrad Dybcio	depends on I2C
104530d52978SThomas Weißschuh	select REGMAP_I2C
1046c75f4bf6SKonrad Dybcio	help
1047c75f4bf6SKonrad Dybcio	  Say Y here to enable the Mitsumi MM8013 fuel gauge driver.
1048c75f4bf6SKonrad Dybcio	  It enables the monitoring of many battery parameters, including
1049c75f4bf6SKonrad Dybcio	  the state of charge, temperature, cycle count, actual and design
1050c75f4bf6SKonrad Dybcio	  capacity, etc.
1051c75f4bf6SKonrad Dybcio
10528c0984e5SSebastian Reichelendif # POWER_SUPPLY
1053