Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
8c0984e5 SR |
2 | menuconfig 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 | ||
10 | if POWER_SUPPLY | |
11 | ||
12 | config POWER_SUPPLY_DEBUG | |
13 | bool "Power supply debug" | |
14 | help | |
15 | Say Y here to enable debugging messages for power supply class | |
16 | and drivers. | |
17 | ||
e67d4dfc AS |
18 | config 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 | ||
8c0984e5 SR |
31 | config APM_POWER |
32 | tristate "APM emulation for class batteries" | |
33 | depends on APM_EMULATION | |
34 | help | |
35 | Say Y here to enable support APM status emulation using | |
36 | battery class devices. | |
37 | ||
38 | config GENERIC_ADC_BATTERY | |
39 | tristate "Generic battery support using IIO" | |
40 | depends on IIO | |
41 | help | |
42 | Say Y here to enable support for the generic battery driver | |
43 | which uses IIO framework to read adc. | |
44 | ||
75853406 SH |
45 | config IP5XXX_POWER |
46 | tristate "Injoinic IP5xxx power bank IC driver" | |
47 | depends on I2C | |
48 | select REGMAP_I2C | |
49 | help | |
50 | Say Y to include support for Injoinic IP5xxx power bank ICs, | |
51 | which include a battery charger and a boost converter. | |
52 | ||
8c0984e5 SR |
53 | config MAX8925_POWER |
54 | tristate "MAX8925 battery charger support" | |
55 | depends on MFD_MAX8925 | |
56 | help | |
57 | Say Y here to enable support for the battery charger in the Maxim | |
58 | MAX8925 PMIC. | |
59 | ||
60 | config WM831X_BACKUP | |
61 | tristate "WM831X backup battery charger support" | |
62 | depends on MFD_WM831X | |
63 | help | |
64 | Say Y here to enable support for the backup battery charger | |
65 | in the Wolfson Microelectronics WM831x PMICs. | |
66 | ||
67 | config WM831X_POWER | |
68 | tristate "WM831X PMU support" | |
69 | depends on MFD_WM831X | |
70 | help | |
71 | Say Y here to enable support for the power management unit | |
72 | provided by Wolfson Microelectronics WM831x PMICs. | |
73 | ||
74 | config WM8350_POWER | |
3c9c2d08 KK |
75 | tristate "WM8350 PMU support" |
76 | depends on MFD_WM8350 | |
77 | help | |
78 | Say Y here to enable support for the power management unit | |
8c0984e5 SR |
79 | provided by the Wolfson Microelectronics WM8350 PMIC. |
80 | ||
81 | config TEST_POWER | |
82 | tristate "Test power driver" | |
83 | help | |
84 | This driver is used for testing. It's safe to say M here. | |
85 | ||
86 | config BATTERY_88PM860X | |
87 | tristate "Marvell 88PM860x battery driver" | |
88 | depends on MFD_88PM860X | |
89 | help | |
90 | Say Y here to enable battery monitor for Marvell 88PM860x chip. | |
91 | ||
fe8e81b7 SP |
92 | config CHARGER_ADP5061 |
93 | tristate "ADP5061 battery charger driver" | |
94 | depends on I2C | |
95 | select REGMAP_I2C | |
96 | help | |
97 | Say Y here to enable support for the ADP5061 standalone battery | |
98 | charger. | |
99 | ||
100 | This driver can be built as a module. If so, the module will be | |
101 | called adp5061. | |
102 | ||
8c0984e5 SR |
103 | config BATTERY_ACT8945A |
104 | tristate "Active-semi ACT8945A charger driver" | |
105 | depends on MFD_ACT8945A || COMPILE_TEST | |
106 | help | |
107 | Say Y here to enable support for power supply provided by | |
108 | Active-semi ActivePath ACT8945A charger. | |
109 | ||
874b2adb TL |
110 | config BATTERY_CPCAP |
111 | tristate "Motorola CPCAP PMIC battery driver" | |
112 | depends on MFD_CPCAP && IIO | |
113 | default MFD_CPCAP | |
114 | help | |
115 | Say Y here to enable support for battery on Motorola | |
116 | phones and tablets such as droid 4. | |
117 | ||
b4c7715c TS |
118 | config BATTERY_CW2015 |
119 | tristate "CW2015 Battery driver" | |
120 | depends on I2C | |
121 | select REGMAP_I2C | |
122 | help | |
123 | Say Y here to enable support for the cellwise cw2015 | |
124 | battery fuel gauge (used in the Pinebook Pro & others) | |
125 | ||
126 | This driver can also be built as a module. If so, the module will be | |
127 | called cw2015_battery. | |
128 | ||
8c0984e5 SR |
129 | config BATTERY_DS2760 |
130 | tristate "DS2760 battery driver (HP iPAQ & others)" | |
bf497355 | 131 | depends on W1 |
8c0984e5 SR |
132 | help |
133 | Say Y here to enable support for batteries with ds2760 chip. | |
134 | ||
135 | config BATTERY_DS2780 | |
136 | tristate "DS2780 battery driver" | |
137 | depends on HAS_IOMEM | |
138 | select W1 | |
139 | select W1_SLAVE_DS2780 | |
140 | help | |
141 | Say Y here to enable support for batteries with ds2780 chip. | |
142 | ||
143 | config BATTERY_DS2781 | |
144 | tristate "DS2781 battery driver" | |
145 | depends on HAS_IOMEM | |
146 | select W1 | |
147 | select W1_SLAVE_DS2781 | |
148 | help | |
149 | If you enable this you will have the DS2781 battery driver support. | |
150 | ||
151 | The battery monitor chip is used in many batteries/devices | |
152 | as the one who is responsible for charging/discharging/monitoring | |
153 | Li+ batteries. | |
154 | ||
155 | If you are unsure, say N. | |
156 | ||
157 | config BATTERY_DS2782 | |
158 | tristate "DS2782/DS2786 standalone gas-gauge" | |
159 | depends on I2C | |
160 | help | |
161 | Say Y here to enable support for the DS2782/DS2786 standalone battery | |
162 | gas-gauge. | |
163 | ||
53db8858 DL |
164 | config BATTERY_LEGO_EV3 |
165 | tristate "LEGO MINDSTORMS EV3 battery" | |
8fada2d4 | 166 | depends on OF && IIO && GPIOLIB && (ARCH_DAVINCI_DA850 || COMPILE_TEST) |
53db8858 DL |
167 | help |
168 | Say Y here to enable support for the LEGO MINDSTORMS EV3 battery. | |
169 | ||
8c0984e5 SR |
170 | config BATTERY_PMU |
171 | tristate "Apple PMU battery" | |
172 | depends on PPC32 && ADB_PMU | |
173 | help | |
174 | Say Y here to expose battery information on Apple machines | |
175 | through the generic battery class. | |
176 | ||
29e8142b BA |
177 | config BATTERY_QCOM_BATTMGR |
178 | tristate "Qualcomm PMIC GLINK battery manager support" | |
179 | depends on QCOM_PMIC_GLINK | |
180 | select AUXILIARY_BUS | |
181 | help | |
182 | Say Y here to enable the Qualcomm PMIC GLINK power supply driver, | |
183 | which is used on modern Qualcomm platforms to provide battery and | |
184 | power supply information. | |
185 | ||
8c0984e5 SR |
186 | config BATTERY_OLPC |
187 | tristate "One Laptop Per Child battery" | |
ef071bab | 188 | depends on OLPC_EC |
8c0984e5 SR |
189 | help |
190 | Say Y to enable support for the battery on the OLPC laptop. | |
191 | ||
c8aee3f4 LW |
192 | config BATTERY_SAMSUNG_SDI |
193 | bool "Samsung SDI batteries" | |
194 | help | |
195 | Say Y to enable support for Samsung SDI battery data. | |
196 | These batteries are used in Samsung mobile phones. | |
197 | ||
8c0984e5 SR |
198 | config BATTERY_COLLIE |
199 | tristate "Sharp SL-5500 (collie) battery" | |
200 | depends on SA1100_COLLIE && MCP_UCB1200 | |
201 | help | |
202 | Say Y to enable support for the battery on the Sharp Zaurus | |
203 | SL-5500 (collie) models. | |
204 | ||
fb24ccfb AR |
205 | config BATTERY_INGENIC |
206 | tristate "Ingenic JZ47xx SoCs battery driver" | |
207 | depends on MIPS || COMPILE_TEST | |
208 | depends on INGENIC_ADC | |
209 | help | |
210 | Choose this option if you want to monitor battery status on | |
211 | Ingenic JZ47xx SoC based devices. | |
212 | ||
213 | This driver can also be built as a module. If so, the module will be | |
214 | called ingenic-battery. | |
215 | ||
8c0984e5 SR |
216 | config BATTERY_IPAQ_MICRO |
217 | tristate "iPAQ Atmel Micro ASIC battery driver" | |
218 | depends on MFD_IPAQ_MICRO | |
219 | help | |
220 | Choose this option if you want to monitor battery status on | |
221 | Compaq/HP iPAQ h3100 and h3600. | |
222 | ||
223 | config BATTERY_WM97XX | |
224 | bool "WM97xx generic battery driver" | |
225 | depends on TOUCHSCREEN_WM97XX=y | |
226 | help | |
227 | Say Y to enable support for battery measured by WM97xx aux port. | |
228 | ||
229 | config BATTERY_SBS | |
3c9c2d08 KK |
230 | tristate "SBS Compliant gas gauge" |
231 | depends on I2C | |
232 | help | |
8c0984e5 SR |
233 | Say Y to include support for SBS battery driver for SBS-compliant |
234 | gas gauges. | |
235 | ||
feb583e3 | 236 | config CHARGER_SBS |
3c9c2d08 KK |
237 | tristate "SBS Compliant charger" |
238 | depends on I2C | |
a4bdea20 | 239 | select REGMAP_I2C |
3c9c2d08 | 240 | help |
83fc61a5 | 241 | Say Y to include support for SBS compliant battery chargers. |
feb583e3 | 242 | |
dbc4deda KHS |
243 | config MANAGER_SBS |
244 | tristate "Smart Battery System Manager" | |
a0b8839e PR |
245 | depends on I2C && I2C_MUX && GPIOLIB |
246 | select I2C_SMBUS | |
dbc4deda KHS |
247 | help |
248 | Say Y here to include support for Smart Battery System Manager | |
249 | ICs. The driver reports online and charging status via sysfs. | |
250 | It presents itself also as I2C mux which allows to bind | |
251 | smart battery driver to its ports. | |
252 | Supported is for example LTC1760. | |
253 | ||
254 | This driver can also be built as a module. If so, the module will be | |
255 | called sbs-manager. | |
256 | ||
8c0984e5 SR |
257 | config BATTERY_BQ27XXX |
258 | tristate "BQ27xxx battery driver" | |
259 | help | |
260 | Say Y here to enable support for batteries with BQ27xxx chips. | |
261 | ||
262 | config BATTERY_BQ27XXX_I2C | |
263 | tristate "BQ27xxx I2C support" | |
264 | depends on BATTERY_BQ27XXX | |
265 | depends on I2C | |
266 | default y | |
267 | help | |
268 | Say Y here to enable support for batteries with BQ27xxx chips | |
269 | connected over an I2C bus. | |
270 | ||
55a9db67 AD |
271 | config BATTERY_BQ27XXX_HDQ |
272 | tristate "BQ27xxx HDQ support" | |
273 | depends on BATTERY_BQ27XXX | |
274 | depends on W1 | |
275 | default y | |
276 | help | |
277 | Say Y here to enable support for batteries with BQ27xxx chips | |
278 | connected over an HDQ bus. | |
279 | ||
ccce4409 LB |
280 | config BATTERY_BQ27XXX_DT_UPDATES_NVM |
281 | bool "BQ27xxx support for update of NVM/flash data memory" | |
282 | depends on BATTERY_BQ27XXX_I2C | |
283 | help | |
284 | Say Y here to enable devicetree monitored-battery config to update | |
285 | NVM/flash data memory. Only enable this option for devices with a | |
286 | fuel gauge mounted on the circuit board, and a battery that cannot | |
287 | easily be replaced with one of a different type. Not for | |
288 | general-purpose kernels, as this can cause misconfiguration of a | |
289 | smart battery with embedded NVM/flash. | |
290 | ||
8c0984e5 SR |
291 | config BATTERY_DA9030 |
292 | tristate "DA9030 battery driver" | |
293 | depends on PMIC_DA903X | |
294 | help | |
295 | Say Y here to enable support for batteries charger integrated into | |
296 | DA9030 PMIC. | |
297 | ||
298 | config BATTERY_DA9052 | |
299 | tristate "Dialog DA9052 Battery" | |
300 | depends on PMIC_DA9052 | |
301 | help | |
302 | Say Y here to enable support for batteries charger integrated into | |
303 | DA9052 PMIC. | |
304 | ||
305 | config CHARGER_DA9150 | |
306 | tristate "Dialog Semiconductor DA9150 Charger support" | |
307 | depends on MFD_DA9150 | |
308 | depends on DA9150_GPADC | |
309 | depends on IIO | |
310 | help | |
311 | Say Y here to enable support for charger unit of the DA9150 | |
312 | Integrated Charger & Fuel-Gauge IC. | |
313 | ||
314 | This driver can also be built as a module. If so, the module will be | |
315 | called da9150-charger. | |
316 | ||
317 | config BATTERY_DA9150 | |
318 | tristate "Dialog Semiconductor DA9150 Fuel Gauge support" | |
319 | depends on MFD_DA9150 | |
320 | help | |
321 | Say Y here to enable support for the Fuel-Gauge unit of the DA9150 | |
322 | Integrated Charger & Fuel-Gauge IC | |
323 | ||
324 | This driver can also be built as a module. If so, the module will be | |
325 | called da9150-fg. | |
326 | ||
744cc304 QS |
327 | config CHARGER_AXP20X |
328 | tristate "X-Powers AXP20X and AXP22X AC power supply driver" | |
329 | depends on MFD_AXP20X | |
330 | depends on AXP20X_ADC | |
331 | depends on IIO | |
332 | help | |
333 | Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC | |
334 | power supply. | |
335 | ||
336 | This driver can also be built as a module. If so, the module will be | |
337 | called axp20x_ac_power. | |
338 | ||
46c202b5 QS |
339 | config BATTERY_AXP20X |
340 | tristate "X-Powers AXP20X battery driver" | |
341 | depends on MFD_AXP20X | |
342 | depends on AXP20X_ADC | |
343 | depends on IIO | |
344 | help | |
345 | Say Y here to enable support for X-Powers AXP20X PMICs' battery power | |
346 | supply. | |
347 | ||
348 | This driver can also be built as a module. If so, the module will be | |
349 | called axp20x_battery. | |
350 | ||
6254a6a9 AB |
351 | config AXP20X_POWER |
352 | tristate "AXP20x power supply driver" | |
353 | depends on MFD_AXP20X | |
354 | depends on IIO | |
355 | help | |
356 | This driver provides support for the power supply features of | |
357 | AXP20x PMIC. | |
358 | ||
8c0984e5 SR |
359 | config AXP288_CHARGER |
360 | tristate "X-Powers AXP288 Charger" | |
00d05666 | 361 | depends on MFD_AXP20X && EXTCON_AXP288 && IOSF_MBI && ACPI |
8c0984e5 SR |
362 | help |
363 | Say yes here to have support X-Power AXP288 power management IC (PMIC) | |
364 | integrated charger. | |
365 | ||
366 | config AXP288_FUEL_GAUGE | |
367 | tristate "X-Powers AXP288 Fuel Gauge" | |
da365db7 | 368 | depends on MFD_AXP20X && IIO && IOSF_MBI && ACPI |
8c0984e5 SR |
369 | help |
370 | Say yes here to have support for X-Power power management IC (PMIC) | |
371 | Fuel Gauge. The device provides battery statistics and status | |
372 | monitoring as well as alerts for battery over/under voltage and | |
373 | over/under temperature. | |
374 | ||
375 | config BATTERY_MAX17040 | |
82ab575e | 376 | tristate "Maxim MAX17040/17041/17043 family Fuel Gauge" |
8c0984e5 | 377 | depends on I2C |
6455a8a8 | 378 | select REGMAP_I2C |
8c0984e5 | 379 | help |
82ab575e KK |
380 | Driver supports Maxim fuel-gauge systems for lithium-ion (Li+) |
381 | batteries used mainly in handheld and portable equipment. | |
382 | Supported devices: max17040, max17041, max17043, max17044, max17048, | |
383 | max17049, max17058, max17059, max77836. | |
4f7f8e87 IC |
384 | |
385 | Driver supports reporting SOC (State of Charge, i.e capacity), | |
386 | voltage and configurable low-SOC wakeup interrupt. | |
8c0984e5 | 387 | |
82ab575e KK |
388 | Driver can be build as a module (max17040_battery). |
389 | ||
8c0984e5 | 390 | config BATTERY_MAX17042 |
40a2d98c | 391 | tristate "Maxim MAX17042/17047/17050/8997/8966 family Fuel Gauge" |
8c0984e5 SR |
392 | depends on I2C |
393 | select REGMAP_I2C | |
394 | help | |
395 | MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries | |
396 | in handheld and portable equipment. The MAX17042 is configured | |
397 | to operate with a single lithium cell. MAX8997 and MAX8966 are | |
398 | multi-function devices that include fuel gauages that are compatible | |
40a2d98c KK |
399 | with MAX17042. |
400 | Supported devices: max8966, max8997, max17042, max17047, max17050, | |
401 | max17055, max77693, max77849. | |
402 | ||
403 | Driver can be build as a module (max17042_battery). | |
8c0984e5 | 404 | |
10e48b7d AM |
405 | config BATTERY_MAX1721X |
406 | tristate "MAX17211/MAX17215 standalone gas-gauge" | |
407 | depends on W1 | |
408 | select REGMAP_W1 | |
409 | help | |
410 | MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries | |
411 | in handheld and portable equipment. MAX17211 used with single cell | |
412 | battery. MAX17215 designed for muticell battery. Both them have | |
413 | OneWire (W1) host interface. | |
414 | ||
415 | Say Y here to enable support for the MAX17211/MAX17215 standalone | |
416 | battery gas-gauge. | |
417 | ||
8c0984e5 SR |
418 | config BATTERY_TWL4030_MADC |
419 | tristate "TWL4030 MADC battery driver" | |
420 | depends on TWL4030_MADC | |
421 | help | |
422 | Say Y here to enable this dumb driver for batteries managed | |
423 | through the TWL4030 MADC. | |
424 | ||
425 | config CHARGER_88PM860X | |
426 | tristate "Marvell 88PM860x Charger driver" | |
427 | depends on MFD_88PM860X && BATTERY_88PM860X | |
428 | help | |
429 | Say Y here to enable charger for Marvell 88PM860x chip. | |
430 | ||
431 | config CHARGER_PCF50633 | |
432 | tristate "NXP PCF50633 MBC" | |
433 | depends on MFD_PCF50633 | |
434 | help | |
72073aa1 | 435 | Say Y to include support for NXP PCF50633 Main Battery Charger. |
8c0984e5 | 436 | |
8c0984e5 SR |
437 | config BATTERY_RX51 |
438 | tristate "Nokia RX-51 (N900) battery driver" | |
439 | depends on TWL4030_MADC | |
440 | help | |
441 | Say Y here to enable support for battery information on Nokia | |
442 | RX-51, also known as N900 tablet. | |
443 | ||
0c9888e3 TL |
444 | config CHARGER_CPCAP |
445 | tristate "CPCAP PMIC Charger Driver" | |
446 | depends on MFD_CPCAP && IIO | |
8b35bf59 | 447 | depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST) |
0c9888e3 TL |
448 | default MFD_CPCAP |
449 | help | |
450 | Say Y to enable support for CPCAP PMIC charger driver for Motorola | |
451 | mobile devices such as Droid 4. | |
452 | ||
8c0984e5 SR |
453 | config CHARGER_ISP1704 |
454 | tristate "ISP1704 USB Charger Detection" | |
455 | depends on USB_PHY | |
456 | depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' | |
457 | help | |
458 | Say Y to enable support for USB Charger Detection with | |
459 | ISP1707/ISP1704 USB transceivers. | |
460 | ||
461 | config CHARGER_MAX8903 | |
462 | tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power" | |
463 | help | |
464 | Say Y to enable support for the MAX8903 DC-DC charger and sysfs. | |
465 | The driver supports controlling charger-enable and current-limit | |
466 | pins based on the status of charger connections with interrupt | |
467 | handlers. | |
468 | ||
469 | config CHARGER_TWL4030 | |
470 | tristate "OMAP TWL4030 BCI charger driver" | |
471 | depends on IIO && TWL4030_CORE | |
472 | help | |
473 | Say Y here to enable support for TWL4030 Battery Charge Interface. | |
474 | ||
475 | config CHARGER_LP8727 | |
476 | tristate "TI/National Semiconductor LP8727 charger driver" | |
477 | depends on I2C | |
478 | help | |
479 | Say Y here to enable support for LP8727 Charger Driver. | |
480 | ||
481 | config CHARGER_LP8788 | |
482 | tristate "TI LP8788 charger driver" | |
483 | depends on MFD_LP8788 | |
484 | depends on LP8788_ADC | |
485 | depends on IIO | |
486 | help | |
487 | Say Y to enable support for the LP8788 linear charger. | |
488 | ||
489 | config CHARGER_GPIO | |
490 | tristate "GPIO charger" | |
491 | depends on GPIOLIB || COMPILE_TEST | |
492 | help | |
493 | Say Y to include support for chargers which report their online status | |
494 | through a GPIO pin. | |
495 | ||
496 | This driver can be build as a module. If so, the module will be | |
497 | called gpio-charger. | |
498 | ||
499 | config CHARGER_MANAGER | |
241eaabc | 500 | tristate "Battery charger manager for multiple chargers" |
8c0984e5 SR |
501 | depends on REGULATOR |
502 | select EXTCON | |
503 | help | |
3c9c2d08 KK |
504 | Say Y to enable charger-manager support, which allows multiple |
505 | chargers attached to a battery and multiple batteries attached to a | |
506 | system. The charger-manager also can monitor charging status in | |
507 | runtime and in suspend-to-RAM by waking up the system periodically | |
508 | with help of suspend_again support. | |
8c0984e5 | 509 | |
2e220e6e MH |
510 | config CHARGER_LT3651 |
511 | tristate "Analog Devices LT3651 charger" | |
c94d4ed0 ML |
512 | depends on GPIOLIB |
513 | help | |
2e220e6e MH |
514 | Say Y to include support for the Analog Devices (Linear Technology) |
515 | LT3651 battery charger which reports its status via GPIO lines. | |
c94d4ed0 | 516 | |
cd900f18 ML |
517 | config CHARGER_LTC4162L |
518 | tristate "LTC4162-L charger" | |
519 | depends on I2C | |
520 | select REGMAP_I2C | |
521 | help | |
522 | Say Y to include support for the Analog Devices (Linear Technology) | |
523 | LTC4162-L battery charger connected to I2C. | |
524 | ||
8c0984e5 SR |
525 | config CHARGER_MAX14577 |
526 | tristate "Maxim MAX14577/77836 battery charger driver" | |
527 | depends on MFD_MAX14577 | |
528 | help | |
529 | Say Y to enable support for the battery charger control sysfs and | |
530 | platform data of MAX14577/77836 MUICs. | |
531 | ||
9d60595a AK |
532 | config CHARGER_DETECTOR_MAX14656 |
533 | tristate "Maxim MAX14656 USB charger detector" | |
534 | depends on I2C | |
535 | depends on OF | |
536 | help | |
537 | Say Y to enable support for the Maxim MAX14656 USB charger detector. | |
538 | The device is compliant with the USB Battery Charging Specification | |
539 | Revision 1.2 and can be found e.g. in Kindle 4/5th generation | |
540 | readers and certain LG devices. | |
541 | ||
e85e17da BG |
542 | config CHARGER_MAX77650 |
543 | tristate "Maxim MAX77650 battery charger driver" | |
544 | depends on MFD_MAX77650 | |
545 | help | |
546 | Say Y to enable support for the battery charger control of MAX77650 | |
547 | PMICs. | |
548 | ||
8c0984e5 SR |
549 | config CHARGER_MAX77693 |
550 | tristate "Maxim MAX77693 battery charger driver" | |
551 | depends on MFD_MAX77693 | |
552 | help | |
553 | Say Y to enable support for the Maxim MAX77693 battery charger. | |
554 | ||
715ecbc1 LC |
555 | config CHARGER_MAX77976 |
556 | tristate "Maxim MAX77976 battery charger driver" | |
557 | depends on I2C | |
558 | select REGMAP_I2C | |
559 | help | |
560 | The Maxim MAX77976 is a 19 Vin, 5.5A 1-Cell Li+ Battery Charger | |
561 | USB OTG support. It has an I2C interface for configuration. | |
562 | ||
563 | Say Y to enable support for the Maxim MAX77976 battery charger. | |
564 | This driver can also be built as a module. If so, the module will be | |
565 | called max77976_charger. | |
566 | ||
8c0984e5 SR |
567 | config CHARGER_MAX8997 |
568 | tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver" | |
569 | depends on MFD_MAX8997 && REGULATOR_MAX8997 | |
f384989e | 570 | depends on EXTCON || !EXTCON |
8c0984e5 SR |
571 | help |
572 | Say Y to enable support for the battery charger control sysfs and | |
573 | platform data of MAX8997/LP3974 PMICs. | |
574 | ||
575 | config CHARGER_MAX8998 | |
576 | tristate "Maxim MAX8998/LP3974 PMIC battery charger driver" | |
577 | depends on MFD_MAX8998 && REGULATOR_MAX8998 | |
578 | help | |
579 | Say Y to enable support for the battery charger control sysfs and | |
580 | platform data of MAX8998/LP3974 PMICs. | |
581 | ||
3bc6d790 SS |
582 | config CHARGER_MP2629 |
583 | tristate "Monolithic power system MP2629 Battery charger" | |
584 | depends on MFD_MP2629 | |
585 | depends on MP2629_ADC | |
586 | depends on IIO | |
587 | help | |
588 | Select this option to enable support for Monolithic power system | |
589 | Battery charger. This driver provides Battery charger power management | |
590 | functions on the systems. | |
591 | ||
0402e8eb GC |
592 | config CHARGER_MT6360 |
593 | tristate "Mediatek MT6360 Charger Driver" | |
594 | depends on MFD_MT6360 | |
595 | depends on REGULATOR | |
596 | select LINEAR_RANGES | |
597 | help | |
598 | Say Y here to enable MT6360 Charger Part. | |
599 | The device supports High-Accuracy Voltage/Current Regulation, | |
600 | Average Input Current Regulation, Battery Temperature Sensing, | |
601 | Over-Temperature Protection, DPDM Detection for BC1.2. | |
602 | ||
233cb8a4 CW |
603 | config CHARGER_MT6370 |
604 | tristate "MediaTek MT6370 Charger Driver" | |
605 | depends on MFD_MT6370 | |
606 | depends on REGULATOR | |
d8be4fe9 | 607 | depends on IIO |
233cb8a4 CW |
608 | select LINEAR_RANGES |
609 | help | |
610 | Say Y here to enable MT6370 Charger Part. | |
611 | The device supports High-Accuracy Voltage/Current Regulation, | |
612 | Average Input Current Regulation, Battery Temperature Sensing, | |
613 | Over-Temperature Protection, DPDM Detection for BC1.2. | |
614 | ||
615 | This driver can also be built as a module. If so, the module | |
616 | will be called "mt6370-charger". | |
617 | ||
8c0984e5 SR |
618 | config CHARGER_QCOM_SMBB |
619 | tristate "Qualcomm Switch-Mode Battery Charger and Boost" | |
620 | depends on MFD_SPMI_PMIC || COMPILE_TEST | |
621 | depends on OF | |
622 | depends on EXTCON | |
51962a35 | 623 | depends on REGULATOR |
8c0984e5 SR |
624 | help |
625 | Say Y to include support for the Switch-Mode Battery Charger and | |
626 | Boost (SMBB) hardware found in Qualcomm PM8941 PMICs. The charger | |
627 | is an integrated, single-cell lithium-ion battery charger. DT | |
628 | configuration is required for loading, see the devicetree | |
629 | documentation for more detail. The base name for this driver is | |
630 | 'pm8941_charger'. | |
631 | ||
632 | config CHARGER_BQ2415X | |
633 | tristate "TI BQ2415x battery charger driver" | |
634 | depends on I2C | |
635 | help | |
636 | Say Y to enable support for the TI BQ2415x battery charger | |
637 | PMICs. | |
638 | ||
639 | You'll need this driver to charge batteries on e.g. Nokia | |
640 | RX-51/N900. | |
641 | ||
642 | config CHARGER_BQ24190 | |
643 | tristate "TI BQ24190 battery charger driver" | |
644 | depends on I2C | |
da26580f | 645 | depends on EXTCON |
8c0984e5 SR |
646 | depends on GPIOLIB || COMPILE_TEST |
647 | help | |
648 | Say Y to enable support for the TI BQ24190 battery charger. | |
649 | ||
650 | config CHARGER_BQ24257 | |
651 | tristate "TI BQ24250/24251/24257 battery charger driver" | |
652 | depends on I2C | |
653 | depends on GPIOLIB || COMPILE_TEST | |
87c3d579 | 654 | select REGMAP_I2C |
8c0984e5 SR |
655 | help |
656 | Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery | |
657 | chargers. | |
658 | ||
659 | config CHARGER_BQ24735 | |
660 | tristate "TI BQ24735 battery charger support" | |
661 | depends on I2C | |
662 | depends on GPIOLIB || COMPILE_TEST | |
663 | help | |
664 | Say Y to enable support for the TI BQ24735 battery charger. | |
665 | ||
44908459 RRM |
666 | config CHARGER_BQ2515X |
667 | tristate "TI BQ2515X battery charger family" | |
668 | depends on I2C | |
669 | depends on GPIOLIB || COMPILE_TEST | |
670 | select REGMAP_I2C | |
671 | help | |
672 | Say Y to enable support for the TI BQ2515X family of battery | |
673 | charging integrated circuits. The BQ2515X are highly integrated | |
674 | battery charge management ICs that integrate the most common | |
675 | functions for wearable devices, namely a charger, an output voltage | |
676 | rail, ADC for battery and system monitoring, and push-button | |
677 | controller. | |
678 | ||
8c0984e5 SR |
679 | config CHARGER_BQ25890 |
680 | tristate "TI BQ25890 battery charger driver" | |
681 | depends on I2C | |
682 | depends on GPIOLIB || COMPILE_TEST | |
683 | select REGMAP_I2C | |
684 | help | |
685 | Say Y to enable support for the TI BQ25890 battery charger. | |
686 | ||
5069185f DM |
687 | config CHARGER_BQ25980 |
688 | tristate "TI BQ25980 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 the TI BQ25980, BQ25975 and BQ25960 | |
694 | series of fast battery chargers. | |
695 | ||
32e4978b RRM |
696 | config CHARGER_BQ256XX |
697 | tristate "TI BQ256XX battery charger driver" | |
698 | depends on I2C | |
699 | depends on GPIOLIB || COMPILE_TEST | |
700 | select REGMAP_I2C | |
701 | help | |
702 | Say Y to enable support for the TI BQ256XX battery chargers. The | |
703 | BQ256XX family of devices are highly-integrated, switch-mode battery | |
704 | charge management and system power path management devices for single | |
705 | cell Li-ion and Li-polymer batteries. | |
706 | ||
11cb8da0 CM |
707 | config CHARGER_RK817 |
708 | tristate "Rockchip RK817 PMIC Battery Charger" | |
c20e8c5b | 709 | depends on MFD_RK8XX |
11cb8da0 CM |
710 | help |
711 | Say Y to include support for Rockchip RK817 Battery Charger. | |
712 | ||
8c0984e5 | 713 | config CHARGER_SMB347 |
de76fd29 | 714 | tristate "Summit Microelectronics SMB3XX Battery Charger" |
8c0984e5 | 715 | depends on I2C |
565efae9 | 716 | depends on REGULATOR |
8c0984e5 SR |
717 | select REGMAP_I2C |
718 | help | |
de76fd29 DH |
719 | Say Y to include support for Summit Microelectronics SMB345, |
720 | SMB347 or SMB358 Battery Charger. | |
8c0984e5 SR |
721 | |
722 | config CHARGER_TPS65090 | |
723 | tristate "TPS65090 battery charger driver" | |
724 | depends on MFD_TPS65090 | |
725 | help | |
72073aa1 MV |
726 | Say Y here to enable support for battery charging with TPS65090 |
727 | PMIC chips. | |
8c0984e5 SR |
728 | |
729 | config CHARGER_TPS65217 | |
730 | tristate "TPS65217 battery charger driver" | |
731 | depends on MFD_TPS65217 | |
732 | help | |
72073aa1 MV |
733 | Say Y here to enable support for battery charging with TPS65217 |
734 | PMIC chips. | |
8c0984e5 SR |
735 | |
736 | config BATTERY_GAUGE_LTC2941 | |
737 | tristate "LTC2941/LTC2943 Battery Gauge Driver" | |
738 | depends on I2C | |
739 | help | |
740 | Say Y here to include support for LTC2941 and LTC2943 Battery | |
741 | Gauge IC. The driver reports the charge count continuously, and | |
742 | measures the voltage and temperature every 10 seconds. | |
743 | ||
744 | config AB8500_BM | |
745 | bool "AB8500 Battery Management Driver" | |
53207aa1 | 746 | depends on AB8500_CORE && AB8500_GPADC && (IIO = y) && OF |
2b0e7ac0 LW |
747 | select THERMAL |
748 | select THERMAL_OF | |
8c0984e5 SR |
749 | help |
750 | Say Y to include support for AB8500 battery management. | |
751 | ||
752 | config BATTERY_GOLDFISH | |
753 | tristate "Goldfish battery driver" | |
8c0984e5 SR |
754 | depends on HAS_IOMEM |
755 | help | |
570b7c0e RK |
756 | Say Y to enable support for the Goldfish battery and AC power |
757 | driver. Originated in the Android Studio Emulator (goldfish) it is | |
758 | going to be used in other emulators. | |
8c0984e5 SR |
759 | |
760 | config BATTERY_RT5033 | |
761 | tristate "RT5033 fuel gauge support" | |
f3076cd8 SG |
762 | depends on I2C |
763 | select REGMAP_I2C | |
8c0984e5 SR |
764 | help |
765 | This adds support for battery fuel gauge in Richtek RT5033 PMIC. | |
766 | The fuelgauge calculates and determines the battery state of charge | |
767 | according to battery open circuit voltage. | |
768 | ||
b7653853 JH |
769 | config CHARGER_RT5033 |
770 | tristate "RT5033 battery charger support" | |
771 | depends on MFD_RT5033 | |
37d1a624 | 772 | depends on EXTCON || !EXTCON |
b7653853 JH |
773 | help |
774 | This adds support for battery charger in Richtek RT5033 PMIC. | |
775 | The device supports pre-charge mode, fast charge mode and | |
776 | constant voltage mode. | |
777 | ||
8c0984e5 SR |
778 | config CHARGER_RT9455 |
779 | tristate "Richtek RT9455 battery charger driver" | |
780 | depends on I2C | |
781 | depends on GPIOLIB || COMPILE_TEST | |
782 | select REGMAP_I2C | |
783 | help | |
784 | Say Y to enable support for Richtek RT9455 battery charger. | |
785 | ||
6f7f70e3 CW |
786 | config CHARGER_RT9467 |
787 | tristate "Richtek RT9467 Battery Charger Driver" | |
788 | depends on I2C && GPIOLIB && REGULATOR | |
789 | select REGMAP_I2C | |
790 | select REGMAP_IRQ | |
791 | select LINEAR_RANGES | |
792 | help | |
793 | Say Y here to enable RT9467 Battery Charger. | |
794 | RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger | |
795 | for portable applications. It integrates a synchronous PWM controller, | |
796 | power MOSFETs, input current sensing and regulation, high-accuracy | |
797 | voltage regulation, and charge termination. The charge current is | |
798 | regulated through integrated sensing resistors. It also features | |
799 | USB On-The-Go (OTG) support and integrates D+/D- pin for USB | |
800 | host/charging port detection. | |
801 | ||
802 | This driver can also be built as a module. If so, the module | |
803 | will be called "rt9467-charger". | |
804 | ||
4a1a5f67 CH |
805 | config CHARGER_RT9471 |
806 | tristate "Richtek RT9471 battery charger driver" | |
807 | depends on I2C && GPIOLIB && REGULATOR | |
808 | select REGMAP_I2C | |
809 | select REGMAP_IRQ | |
810 | select LINEAR_RANGES | |
811 | help | |
812 | This adds support for Richtek RT9471 battery charger. RT9471 is | |
813 | highly-integrated switch mode battery charger which is system power | |
814 | patch manageable device for single cell Li-Ion and Li-polymer battery. | |
815 | It can support BC12 detection on DPDM, and current and voltage | |
816 | regulation on both charging and boost mode. | |
817 | ||
818 | This driver can also be built as a module. If so, the module will be | |
819 | called rt9471. | |
820 | ||
f68b883e SN |
821 | config CHARGER_CROS_USBPD |
822 | tristate "ChromeOS EC based USBPD charger" | |
f2437e48 | 823 | depends on CROS_USBPD_NOTIFY |
f68b883e SN |
824 | help |
825 | Say Y here to enable ChromeOS EC based USBPD charger | |
826 | driver. This driver gets various bits of information about | |
827 | what is connected to USB PD ports from the EC and converts | |
828 | that into power_supply properties. | |
829 | ||
56d629af DN |
830 | config CHARGER_CROS_PCHG |
831 | tristate "ChromeOS EC based peripheral charger" | |
832 | depends on MFD_CROS_EC_DEV | |
833 | default MFD_CROS_EC_DEV | |
834 | help | |
835 | Say Y here to enable ChromeOS EC based peripheral charge driver. | |
836 | This driver gets various information about the devices connected to | |
837 | the peripheral charge ports from the EC and converts that into | |
838 | power_supply properties. | |
839 | ||
1c3d7b03 BW |
840 | config CHARGER_SC2731 |
841 | tristate "Spreadtrum SC2731 charger driver" | |
842 | depends on MFD_SC27XX_PMIC || COMPILE_TEST | |
843 | help | |
72073aa1 MV |
844 | Say Y here to enable support for battery charging with SC2731 |
845 | PMIC chips. | |
1c3d7b03 | 846 | |
195ca170 BW |
847 | config FUEL_GAUGE_SC27XX |
848 | tristate "Spreadtrum SC27XX fuel gauge driver" | |
849 | depends on MFD_SC27XX_PMIC || COMPILE_TEST | |
ed60f43d | 850 | depends on IIO |
195ca170 | 851 | help |
72073aa1 MV |
852 | Say Y here to enable support for fuel gauge with SC27XX |
853 | PMIC chips. | |
195ca170 | 854 | |
9a2688e4 AS |
855 | config CHARGER_UCS1002 |
856 | tristate "Microchip UCS1002 USB Port Power Controller" | |
857 | depends on I2C | |
858 | depends on OF | |
c8f3c9fe | 859 | depends on REGULATOR |
9a2688e4 AS |
860 | select REGMAP_I2C |
861 | help | |
862 | Say Y to enable support for Microchip UCS1002 Programmable | |
863 | USB Port Power Controller with Charger Emulation. | |
864 | ||
0902f836 MV |
865 | config CHARGER_BD99954 |
866 | tristate "ROHM bd99954 charger driver" | |
867 | depends on I2C | |
868 | select LINEAR_RANGES | |
869 | help | |
870 | Say Y here to enable support for getting battery and charger | |
871 | information and altering charger configurations from the ROHM | |
872 | BD99954 charger IC. | |
873 | ||
3f57fe28 NC |
874 | config CHARGER_WILCO |
875 | tristate "Wilco EC based charger for ChromeOS" | |
876 | depends on WILCO_EC | |
877 | help | |
878 | Say Y here to enable control of the charging routines performed | |
879 | by the Embedded Controller on the Chromebook named Wilco. Further | |
880 | information can be found in | |
881 | Documentation/ABI/testing/sysfs-class-power-wilco | |
882 | ||
1426dffa AK |
883 | config RN5T618_POWER |
884 | tristate "RN5T618 charger/fuel gauge support" | |
885 | depends on MFD_RN5T618 | |
2f5caa26 AK |
886 | depends on RN5T618_ADC |
887 | depends on IIO | |
1426dffa AK |
888 | help |
889 | Say Y here to have support for RN5T618 PMIC family fuel gauge and charger. | |
890 | This driver can also be built as a module. If so, the module will be | |
891 | called rn5t618_power. | |
892 | ||
c82a2fbe DO |
893 | config BATTERY_ACER_A500 |
894 | tristate "Acer Iconia Tab A500 battery driver" | |
895 | depends on MFD_ACER_A500_EC | |
896 | help | |
897 | Say Y to include support for Acer Iconia Tab A500 battery fuel gauge. | |
898 | ||
167f77f7 ML |
899 | config BATTERY_SURFACE |
900 | tristate "Battery driver for 7th-generation Microsoft Surface devices" | |
901 | depends on SURFACE_AGGREGATOR_REGISTRY | |
902 | help | |
903 | Driver for battery devices connected via/managed by the Surface System | |
904 | Aggregator Module (SSAM). | |
905 | ||
906 | This driver provides battery-information and -status support for | |
907 | Surface devices where said data is not exposed via the standard ACPI | |
908 | devices. On those models (7th-generation), battery-information is | |
909 | instead handled directly via SSAM client devices and this driver. | |
910 | ||
911 | Say M or Y here to include battery status support for 7th-generation | |
912 | Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3, | |
913 | Surface Book 3, and Surface Laptop Go. | |
914 | ||
e61ffb34 ML |
915 | config CHARGER_SURFACE |
916 | tristate "AC driver for 7th-generation Microsoft Surface devices" | |
917 | depends on SURFACE_AGGREGATOR_REGISTRY | |
918 | help | |
919 | Driver for AC devices connected via/managed by the Surface System | |
920 | Aggregator Module (SSAM). | |
921 | ||
922 | This driver provides AC-information and -status support for Surface | |
923 | devices where said data is not exposed via the standard ACPI devices. | |
924 | On those models (7th-generation), AC-information is instead handled | |
925 | directly via a SSAM client device and this driver. | |
926 | ||
927 | Say M or Y here to include AC status support for 7th-generation | |
928 | Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3, | |
929 | Surface Book 3, and Surface Laptop Go. | |
930 | ||
f059b46e HG |
931 | config BATTERY_UG3105 |
932 | tristate "uPI uG3105 battery monitor driver" | |
933 | depends on I2C | |
934 | help | |
935 | Battery monitor driver for the uPI uG3105 battery monitor. | |
936 | ||
937 | Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead | |
938 | it is expected to be use in combination with some always on | |
939 | microcontroller reading its coulomb-counter before it can wrap | |
940 | (it must be read every 400 seconds!). | |
941 | ||
942 | Since Linux does not monitor coulomb-counter changes while the | |
943 | device is off or suspended, the functionality of this driver is | |
944 | limited to reporting capacity only. | |
945 | ||
8648aeb5 CC |
946 | config CHARGER_QCOM_SMB2 |
947 | tristate "Qualcomm PMI8998 PMIC charger driver" | |
948 | depends on MFD_SPMI_PMIC | |
949 | depends on IIO | |
950 | help | |
951 | Say Y here to enable the Qualcomm PMIC Charger driver. This | |
952 | adds support for the SMB2 switch mode battery charger found | |
953 | in PMI8998 and related PMICs. | |
954 | ||
8c0984e5 | 955 | endif # POWER_SUPPLY |