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