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