1022 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2menuconfig POWER_SUPPLY3 bool "Power supply class support"4 help5 Say Y here to enable power supply class support. This allows6 power supply (batteries, AC, USB) monitoring by userspace7 via sysfs and uevent (if available) and/or APM kernel interface8 (if selected below).9 10if POWER_SUPPLY11 12config POWER_SUPPLY_DEBUG13 bool "Power supply debug"14 help15 Say Y here to enable debugging messages for power supply class16 and drivers.17 18config POWER_SUPPLY_HWMON19 bool20 prompt "Expose power supply sensors as hwmon device"21 depends on HWMON=y || HWMON=POWER_SUPPLY22 default y23 help24 This options enables API that allows sensors found on a25 power supply device (current, voltage, temperature) to be26 exposed as a hwmon device.27 28 Say 'Y' here if you want power supplies to29 have hwmon sysfs interface too.30 31config APM_POWER32 tristate "APM emulation for class batteries"33 depends on APM_EMULATION34 help35 Say Y here to enable support APM status emulation using36 battery class devices.37 38config GENERIC_ADC_BATTERY39 tristate "Generic battery support using IIO"40 depends on IIO41 help42 Say Y here to enable support for the generic battery driver43 which uses IIO framework to read adc.44 45config IP5XXX_POWER46 tristate "Injoinic IP5xxx power bank IC driver"47 depends on I2C48 select REGMAP_I2C49 help50 Say Y to include support for Injoinic IP5xxx power bank ICs,51 which include a battery charger and a boost converter.52 53config MAX8925_POWER54 tristate "MAX8925 battery charger support"55 depends on MFD_MAX892556 help57 Say Y here to enable support for the battery charger in the Maxim58 MAX8925 PMIC.59 60config WM831X_BACKUP61 tristate "WM831X backup battery charger support"62 depends on MFD_WM831X63 help64 Say Y here to enable support for the backup battery charger65 in the Wolfson Microelectronics WM831x PMICs.66 67config WM831X_POWER68 tristate "WM831X PMU support"69 depends on MFD_WM831X70 help71 Say Y here to enable support for the power management unit72 provided by Wolfson Microelectronics WM831x PMICs.73 74config WM8350_POWER75 tristate "WM8350 PMU support"76 depends on MFD_WM835077 help78 Say Y here to enable support for the power management unit79 provided by the Wolfson Microelectronics WM8350 PMIC.80 81config TEST_POWER82 tristate "Test power driver"83 help84 This driver is used for testing. It's safe to say M here.85 86config BATTERY_88PM860X87 tristate "Marvell 88PM860x battery driver"88 depends on MFD_88PM860X89 help90 Say Y here to enable battery monitor for Marvell 88PM860x chip.91 92config CHARGER_ADP506193 tristate "ADP5061 battery charger driver"94 depends on I2C95 select REGMAP_I2C96 help97 Say Y here to enable support for the ADP5061 standalone battery98 charger.99 100 This driver can be built as a module. If so, the module will be101 called adp5061.102 103config BATTERY_ACT8945A104 tristate "Active-semi ACT8945A charger driver"105 depends on MFD_ACT8945A || COMPILE_TEST106 help107 Say Y here to enable support for power supply provided by108 Active-semi ActivePath ACT8945A charger.109 110config BATTERY_CPCAP111 tristate "Motorola CPCAP PMIC battery driver"112 depends on MFD_CPCAP && IIO113 default MFD_CPCAP114 help115 Say Y here to enable support for battery on Motorola116 phones and tablets such as droid 4.117 118config BATTERY_CW2015119 tristate "CW2015 Battery driver"120 depends on I2C121 select REGMAP_I2C122 help123 Say Y here to enable support for the cellwise cw2015124 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 be127 called cw2015_battery.128 129config BATTERY_DS2760130 tristate "DS2760 battery driver (HP iPAQ & others)"131 depends on W1132 help133 Say Y here to enable support for batteries with ds2760 chip.134 135config BATTERY_DS2780136 tristate "DS2780 battery driver"137 depends on HAS_IOMEM138 select W1139 select W1_SLAVE_DS2780140 help141 Say Y here to enable support for batteries with ds2780 chip.142 143config BATTERY_DS2781144 tristate "DS2781 battery driver"145 depends on HAS_IOMEM146 select W1147 select W1_SLAVE_DS2781148 help149 If you enable this you will have the DS2781 battery driver support.150 151 The battery monitor chip is used in many batteries/devices152 as the one who is responsible for charging/discharging/monitoring153 Li+ batteries.154 155 If you are unsure, say N.156 157config BATTERY_DS2782158 tristate "DS2782/DS2786 standalone gas-gauge"159 depends on I2C160 help161 Say Y here to enable support for the DS2782/DS2786 standalone battery162 gas-gauge.163 164config BATTERY_LEGO_EV3165 tristate "LEGO MINDSTORMS EV3 battery"166 depends on OF && IIO && GPIOLIB && (ARCH_DAVINCI_DA850 || COMPILE_TEST)167 help168 Say Y here to enable support for the LEGO MINDSTORMS EV3 battery.169 170config BATTERY_LENOVO_YOGA_C630171 tristate "Lenovo Yoga C630 battery"172 depends on EC_LENOVO_YOGA_C630173 help174 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 be177 called lenovo_yoga_c630_battery.178 179config BATTERY_PMU180 tristate "Apple PMU battery"181 depends on PPC32 && ADB_PMU182 help183 Say Y here to expose battery information on Apple machines184 through the generic battery class.185 186config BATTERY_QCOM_BATTMGR187 tristate "Qualcomm PMIC GLINK battery manager support"188 depends on QCOM_PMIC_GLINK189 select AUXILIARY_BUS190 help191 Say Y here to enable the Qualcomm PMIC GLINK power supply driver,192 which is used on modern Qualcomm platforms to provide battery and193 power supply information.194 195config BATTERY_OLPC196 tristate "One Laptop Per Child battery"197 depends on OLPC_EC198 help199 Say Y to enable support for the battery on the OLPC laptop.200 201config BATTERY_SAMSUNG_SDI202 bool "Samsung SDI batteries"203 help204 Say Y to enable support for Samsung SDI battery data.205 These batteries are used in Samsung mobile phones.206 207config BATTERY_COLLIE208 tristate "Sharp SL-5500 (collie) battery"209 depends on SA1100_COLLIE && MCP_UCB1200210 help211 Say Y to enable support for the battery on the Sharp Zaurus212 SL-5500 (collie) models.213 214config BATTERY_INGENIC215 tristate "Ingenic JZ47xx SoCs battery driver"216 depends on MIPS || COMPILE_TEST217 depends on INGENIC_ADC218 help219 Choose this option if you want to monitor battery status on220 Ingenic JZ47xx SoC based devices.221 222 This driver can also be built as a module. If so, the module will be223 called ingenic-battery.224 225config BATTERY_IPAQ_MICRO226 tristate "iPAQ Atmel Micro ASIC battery driver"227 depends on MFD_IPAQ_MICRO228 help229 Choose this option if you want to monitor battery status on230 Compaq/HP iPAQ h3100 and h3600.231 232config BATTERY_WM97XX233 bool "WM97xx generic battery driver"234 depends on TOUCHSCREEN_WM97XX=y235 help236 Say Y to enable support for battery measured by WM97xx aux port.237 238config BATTERY_SBS239 tristate "SBS Compliant gas gauge"240 depends on I2C241 help242 Say Y to include support for SBS battery driver for SBS-compliant243 gas gauges.244 245config CHARGER_SBS246 tristate "SBS Compliant charger"247 depends on I2C248 select REGMAP_I2C249 help250 Say Y to include support for SBS compliant battery chargers.251 252config MANAGER_SBS253 tristate "Smart Battery System Manager"254 depends on I2C && I2C_MUX && GPIOLIB255 select I2C_SMBUS256 help257 Say Y here to include support for Smart Battery System Manager258 ICs. The driver reports online and charging status via sysfs.259 It presents itself also as I2C mux which allows to bind260 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 be264 called sbs-manager.265 266config BATTERY_BQ27XXX267 tristate "BQ27xxx battery driver"268 help269 Say Y here to enable support for batteries with BQ27xxx chips.270 271config BATTERY_BQ27XXX_I2C272 tristate "BQ27xxx I2C support"273 depends on BATTERY_BQ27XXX274 depends on I2C275 default y276 help277 Say Y here to enable support for batteries with BQ27xxx chips278 connected over an I2C bus.279 280config BATTERY_BQ27XXX_HDQ281 tristate "BQ27xxx HDQ support"282 depends on BATTERY_BQ27XXX283 depends on W1284 default y285 help286 Say Y here to enable support for batteries with BQ27xxx chips287 connected over an HDQ bus.288 289config BATTERY_BQ27XXX_DT_UPDATES_NVM290 bool "BQ27xxx support for update of NVM/flash data memory"291 depends on BATTERY_BQ27XXX_I2C292 help293 Say Y here to enable devicetree monitored-battery config to update294 NVM/flash data memory. Only enable this option for devices with a295 fuel gauge mounted on the circuit board, and a battery that cannot296 easily be replaced with one of a different type. Not for297 general-purpose kernels, as this can cause misconfiguration of a298 smart battery with embedded NVM/flash.299 300config BATTERY_DA9030301 tristate "DA9030 battery driver"302 depends on PMIC_DA903X303 help304 Say Y here to enable support for batteries charger integrated into305 DA9030 PMIC.306 307config BATTERY_DA9052308 tristate "Dialog DA9052 Battery"309 depends on PMIC_DA9052310 help311 Say Y here to enable support for batteries charger integrated into312 DA9052 PMIC.313 314config CHARGER_DA9150315 tristate "Dialog Semiconductor DA9150 Charger support"316 depends on MFD_DA9150317 depends on DA9150_GPADC318 depends on IIO319 help320 Say Y here to enable support for charger unit of the DA9150321 Integrated Charger & Fuel-Gauge IC.322 323 This driver can also be built as a module. If so, the module will be324 called da9150-charger.325 326config BATTERY_DA9150327 tristate "Dialog Semiconductor DA9150 Fuel Gauge support"328 depends on MFD_DA9150329 help330 Say Y here to enable support for the Fuel-Gauge unit of the DA9150331 Integrated Charger & Fuel-Gauge IC332 333 This driver can also be built as a module. If so, the module will be334 called da9150-fg.335 336config CHARGER_AXP20X337 tristate "X-Powers AXP20X and AXP22X AC power supply driver"338 depends on MFD_AXP20X339 depends on AXP20X_ADC340 depends on IIO341 help342 Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC343 power supply.344 345 This driver can also be built as a module. If so, the module will be346 called axp20x_ac_power.347 348config BATTERY_AXP20X349 tristate "X-Powers AXP20X battery driver"350 depends on MFD_AXP20X351 depends on AXP20X_ADC352 depends on IIO353 help354 Say Y here to enable support for X-Powers AXP20X PMICs' battery power355 supply.356 357 This driver can also be built as a module. If so, the module will be358 called axp20x_battery.359 360config AXP20X_POWER361 tristate "AXP20x power supply driver"362 depends on MFD_AXP20X363 depends on IIO364 help365 This driver provides support for the power supply features of366 AXP20x PMIC.367 368config AXP288_CHARGER369 tristate "X-Powers AXP288 Charger"370 depends on MFD_AXP20X && EXTCON_AXP288 && IOSF_MBI && ACPI371 help372 Say yes here to have support X-Power AXP288 power management IC (PMIC)373 integrated charger.374 375config AXP288_FUEL_GAUGE376 tristate "X-Powers AXP288 Fuel Gauge"377 depends on MFD_AXP20X && IIO && IOSF_MBI && ACPI378 help379 Say yes here to have support for X-Power power management IC (PMIC)380 Fuel Gauge. The device provides battery statistics and status381 monitoring as well as alerts for battery over/under voltage and382 over/under temperature.383 384config BATTERY_MAX17040385 tristate "Maxim MAX17040/17041/17043 family Fuel Gauge"386 depends on I2C && IIO387 select REGMAP_I2C388 help389 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_MAX17042400 tristate "Maxim MAX17042/17047/17050/8997/8966 family Fuel Gauge"401 depends on I2C402 select REGMAP_I2C403 help404 MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries405 in handheld and portable equipment. The MAX17042 is configured406 to operate with a single lithium cell. MAX8997 and MAX8966 are407 multi-function devices that include fuel gauages that are compatible408 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_MAX1720X415 tristate "Maxim MAX17201/MAX17205 Fuel Gauge"416 depends on I2C417 select REGMAP_I2C418 help419 MAX1720x is a family of fuel-gauge systems for lithium-ion (Li+)420 batteries in handheld and portable equipment. MAX17201 are421 configured to operate with a single lithium cell, the MAX17205422 can operate with multiple cells.423 424 Say Y to include support for the MAX17201/MAX17205 Fuel Gauges.425 426config BATTERY_MAX1721X427 tristate "MAX17211/MAX17215 standalone gas-gauge"428 depends on W1429 select REGMAP_W1430 help431 MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries432 in handheld and portable equipment. MAX17211 used with single cell433 battery. MAX17215 designed for muticell battery. Both them have434 OneWire (W1) host interface.435 436 Say Y here to enable support for the MAX17211/MAX17215 standalone437 battery gas-gauge.438 439config BATTERY_TWL4030_MADC440 tristate "TWL4030 MADC battery driver"441 depends on TWL4030_MADC442 help443 Say Y here to enable this dumb driver for batteries managed444 through the TWL4030 MADC.445 446config CHARGER_88PM860X447 tristate "Marvell 88PM860x Charger driver"448 depends on MFD_88PM860X && BATTERY_88PM860X449 help450 Say Y here to enable charger for Marvell 88PM860x chip.451 452config CHARGER_PCF50633453 tristate "NXP PCF50633 MBC"454 depends on MFD_PCF50633455 help456 Say Y to include support for NXP PCF50633 Main Battery Charger.457 458config BATTERY_RX51459 tristate "Nokia RX-51 (N900) battery driver"460 depends on TWL4030_MADC461 help462 Say Y here to enable support for battery information on Nokia463 RX-51, also known as N900 tablet.464 465config CHARGER_CPCAP466 tristate "CPCAP PMIC Charger Driver"467 depends on MFD_CPCAP && IIO468 depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST)469 default MFD_CPCAP470 help471 Say Y to enable support for CPCAP PMIC charger driver for Motorola472 mobile devices such as Droid 4.473 474config CHARGER_ISP1704475 tristate "ISP1704 USB Charger Detection"476 depends on USB_PHY477 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'478 help479 Say Y to enable support for USB Charger Detection with480 ISP1707/ISP1704 USB transceivers.481 482config CHARGER_MAX8903483 tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"484 help485 Say Y to enable support for the MAX8903 DC-DC charger and sysfs.486 The driver supports controlling charger-enable and current-limit487 pins based on the status of charger connections with interrupt488 handlers.489 490config CHARGER_TWL4030491 tristate "OMAP TWL4030 BCI charger driver"492 depends on IIO && TWL4030_CORE493 help494 Say Y here to enable support for TWL4030 Battery Charge Interface.495 496config CHARGER_LP8727497 tristate "TI/National Semiconductor LP8727 charger driver"498 depends on I2C499 help500 Say Y here to enable support for LP8727 Charger Driver.501 502config CHARGER_LP8788503 tristate "TI LP8788 charger driver"504 depends on MFD_LP8788505 depends on LP8788_ADC506 depends on IIO507 help508 Say Y to enable support for the LP8788 linear charger.509 510config CHARGER_GPIO511 tristate "GPIO charger"512 depends on GPIOLIB || COMPILE_TEST513 help514 Say Y to include support for chargers which report their online status515 through a GPIO pin.516 517 This driver can be build as a module. If so, the module will be518 called gpio-charger.519 520config CHARGER_MANAGER521 tristate "Battery charger manager for multiple chargers"522 depends on REGULATOR523 select EXTCON524 help525 Say Y to enable charger-manager support, which allows multiple526 chargers attached to a battery and multiple batteries attached to a527 system. The charger-manager also can monitor charging status in528 runtime and in suspend-to-RAM by waking up the system periodically529 with help of suspend_again support.530 531config CHARGER_LT3651532 tristate "Analog Devices LT3651 charger"533 depends on GPIOLIB534 help535 Say Y to include support for the Analog Devices (Linear Technology)536 LT3651 battery charger which reports its status via GPIO lines.537 538config CHARGER_LTC4162L539 tristate "LTC4162-L charger"540 depends on I2C541 select REGMAP_I2C542 help543 Say Y to include support for the Analog Devices (Linear Technology)544 LTC4162-L battery charger connected to I2C.545 546config CHARGER_MAX14577547 tristate "Maxim MAX14577/77836 battery charger driver"548 depends on MFD_MAX14577549 help550 Say Y to enable support for the battery charger control sysfs and551 platform data of MAX14577/77836 MUICs.552 553config CHARGER_DETECTOR_MAX14656554 tristate "Maxim MAX14656 USB charger detector"555 depends on I2C556 depends on OF557 help558 Say Y to enable support for the Maxim MAX14656 USB charger detector.559 The device is compliant with the USB Battery Charging Specification560 Revision 1.2 and can be found e.g. in Kindle 4/5th generation561 readers and certain LG devices.562 563config CHARGER_MAX77650564 tristate "Maxim MAX77650 battery charger driver"565 depends on MFD_MAX77650566 help567 Say Y to enable support for the battery charger control of MAX77650568 PMICs.569 570config CHARGER_MAX77693571 tristate "Maxim MAX77693 battery charger driver"572 depends on MFD_MAX77693573 help574 Say Y to enable support for the Maxim MAX77693 battery charger.575 576config CHARGER_MAX77976577 tristate "Maxim MAX77976 battery charger driver"578 depends on I2C579 select REGMAP_I2C580 help581 The Maxim MAX77976 is a 19 Vin, 5.5A 1-Cell Li+ Battery Charger582 USB OTG support. It has an I2C interface for configuration.583 584 Say Y to enable support for the Maxim MAX77976 battery charger.585 This driver can also be built as a module. If so, the module will be586 called max77976_charger.587 588config CHARGER_MAX8997589 tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver"590 depends on MFD_MAX8997 && REGULATOR_MAX8997591 depends on EXTCON || !EXTCON592 help593 Say Y to enable support for the battery charger control sysfs and594 platform data of MAX8997/LP3974 PMICs.595 596config CHARGER_MAX8998597 tristate "Maxim MAX8998/LP3974 PMIC battery charger driver"598 depends on MFD_MAX8998 && REGULATOR_MAX8998599 help600 Say Y to enable support for the battery charger control sysfs and601 platform data of MAX8998/LP3974 PMICs.602 603config CHARGER_MP2629604 tristate "Monolithic power system MP2629 Battery charger"605 depends on MFD_MP2629606 depends on MP2629_ADC607 depends on IIO608 help609 Select this option to enable support for Monolithic power system610 Battery charger. This driver provides Battery charger power management611 functions on the systems.612 613config CHARGER_MT6360614 tristate "Mediatek MT6360 Charger Driver"615 depends on MFD_MT6360616 depends on REGULATOR617 select LINEAR_RANGES618 help619 Say Y here to enable MT6360 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 624config CHARGER_MT6370625 tristate "MediaTek MT6370 Charger Driver"626 depends on MFD_MT6370627 depends on REGULATOR628 depends on IIO629 select LINEAR_RANGES630 help631 Say Y here to enable MT6370 Charger Part.632 The device supports High-Accuracy Voltage/Current Regulation,633 Average Input Current Regulation, Battery Temperature Sensing,634 Over-Temperature Protection, DPDM Detection for BC1.2.635 636 This driver can also be built as a module. If so, the module637 will be called "mt6370-charger".638 639config CHARGER_QCOM_SMBB640 tristate "Qualcomm Switch-Mode Battery Charger and Boost"641 depends on MFD_SPMI_PMIC || COMPILE_TEST642 depends on OF643 depends on EXTCON644 depends on REGULATOR645 help646 Say Y to include support for the Switch-Mode Battery Charger and647 Boost (SMBB) hardware found in Qualcomm PM8941 PMICs. The charger648 is an integrated, single-cell lithium-ion battery charger. DT649 configuration is required for loading, see the devicetree650 documentation for more detail. The base name for this driver is651 'pm8941_charger'.652 653config BATTERY_PM8916_BMS_VM654 tristate "Qualcomm PM8916 BMS-VM support"655 depends on MFD_SPMI_PMIC || COMPILE_TEST656 help657 Say Y to add support for Voltage Mode BMS block found in some658 Qualcomm PMICs such as PM8916. This hardware block provides659 battery voltage monitoring for the system.660 661 To compile this driver as module, choose M here: the662 module will be called pm8916_bms_vm.663 664config CHARGER_PM8916_LBC665 tristate "Qualcomm PM8916 Linear Battery Charger support"666 depends on MFD_SPMI_PMIC || COMPILE_TEST667 depends on EXTCON || !EXTCON668 help669 Say Y here to add support for Linear Battery Charger block670 found in some Qualcomm PMICs such as PM8916. This hardware671 blokc provides simple CC/CV battery charger.672 673 To compile this driver as module, choose M here: the674 module will be called pm8916_lbc.675 676config CHARGER_BQ2415X677 tristate "TI BQ2415x battery charger driver"678 depends on I2C679 help680 Say Y to enable support for the TI BQ2415x battery charger681 PMICs.682 683 You'll need this driver to charge batteries on e.g. Nokia684 RX-51/N900.685 686config CHARGER_BQ24190687 tristate "TI BQ24190 battery charger driver"688 depends on I2C689 depends on EXTCON690 depends on GPIOLIB || COMPILE_TEST691 help692 Say Y to enable support for the TI BQ24190 battery charger.693 694config CHARGER_BQ24257695 tristate "TI BQ24250/24251/24257 battery charger driver"696 depends on I2C697 depends on GPIOLIB || COMPILE_TEST698 select REGMAP_I2C699 help700 Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery701 chargers.702 703config CHARGER_BQ24735704 tristate "TI BQ24735 battery charger support"705 depends on I2C706 depends on GPIOLIB || COMPILE_TEST707 help708 Say Y to enable support for the TI BQ24735 battery charger.709 710config CHARGER_BQ2515X711 tristate "TI BQ2515X battery charger family"712 depends on I2C713 depends on GPIOLIB || COMPILE_TEST714 select REGMAP_I2C715 help716 Say Y to enable support for the TI BQ2515X family of battery717 charging integrated circuits. The BQ2515X are highly integrated718 battery charge management ICs that integrate the most common719 functions for wearable devices, namely a charger, an output voltage720 rail, ADC for battery and system monitoring, and push-button721 controller.722 723config CHARGER_BQ25890724 tristate "TI BQ25890 battery charger driver"725 depends on I2C726 depends on GPIOLIB || COMPILE_TEST727 select REGMAP_I2C728 help729 Say Y to enable support for the TI BQ25890 battery charger.730 731config CHARGER_BQ25980732 tristate "TI BQ25980 battery charger driver"733 depends on I2C734 depends on GPIOLIB || COMPILE_TEST735 select REGMAP_I2C736 help737 Say Y to enable support for the TI BQ25980, BQ25975 and BQ25960738 series of fast battery chargers.739 740config CHARGER_BQ256XX741 tristate "TI BQ256XX battery charger driver"742 depends on I2C743 depends on GPIOLIB || COMPILE_TEST744 select REGMAP_I2C745 help746 Say Y to enable support for the TI BQ256XX battery chargers. The747 BQ256XX family of devices are highly-integrated, switch-mode battery748 charge management and system power path management devices for single749 cell Li-ion and Li-polymer batteries.750 751config CHARGER_RK817752 tristate "Rockchip RK817 PMIC Battery Charger"753 depends on MFD_RK8XX754 help755 Say Y to include support for Rockchip RK817 Battery Charger.756 757config CHARGER_SMB347758 tristate "Summit Microelectronics SMB3XX Battery Charger"759 depends on I2C760 depends on REGULATOR761 select REGMAP_I2C762 help763 Say Y to include support for Summit Microelectronics SMB345,764 SMB347 or SMB358 Battery Charger.765 766config CHARGER_TPS65090767 tristate "TPS65090 battery charger driver"768 depends on MFD_TPS65090769 help770 Say Y here to enable support for battery charging with TPS65090771 PMIC chips.772 773config CHARGER_TPS65217774 tristate "TPS65217 battery charger driver"775 depends on MFD_TPS65217776 help777 Say Y here to enable support for battery charging with TPS65217778 PMIC chips.779 780config BATTERY_GAUGE_LTC2941781 tristate "LTC2941/LTC2943 Battery Gauge Driver"782 depends on I2C783 help784 Say Y here to include support for LTC2941 and LTC2943 Battery785 Gauge IC. The driver reports the charge count continuously, and786 measures the voltage and temperature every 10 seconds.787 788config AB8500_BM789 bool "AB8500 Battery Management Driver"790 depends on AB8500_CORE && AB8500_GPADC && (IIO = y) && OF791 select THERMAL792 select THERMAL_OF793 help794 Say Y to include support for AB8500 battery management.795 796config BATTERY_GOLDFISH797 tristate "Goldfish battery driver"798 depends on HAS_IOMEM799 help800 Say Y to enable support for the Goldfish battery and AC power801 driver. Originated in the Android Studio Emulator (goldfish) it is802 going to be used in other emulators.803 804config BATTERY_RT5033805 tristate "RT5033 fuel gauge support"806 depends on I2C807 select REGMAP_I2C808 help809 This adds support for battery fuel gauge in Richtek RT5033 PMIC.810 The fuelgauge calculates and determines the battery state of charge811 according to battery open circuit voltage.812 813config CHARGER_RT5033814 tristate "RT5033 battery charger support"815 depends on MFD_RT5033816 depends on EXTCON || !EXTCON817 help818 This adds support for battery charger in Richtek RT5033 PMIC.819 The device supports pre-charge mode, fast charge mode and820 constant voltage mode.821 822config CHARGER_RT9455823 tristate "Richtek RT9455 battery charger driver"824 depends on I2C825 depends on GPIOLIB || COMPILE_TEST826 select REGMAP_I2C827 help828 Say Y to enable support for Richtek RT9455 battery charger.829 830config CHARGER_RT9467831 tristate "Richtek RT9467 Battery Charger Driver"832 depends on I2C && GPIOLIB && REGULATOR833 select REGMAP_I2C834 select REGMAP_IRQ835 select LINEAR_RANGES836 help837 Say Y here to enable RT9467 Battery Charger.838 RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger839 for portable applications. It integrates a synchronous PWM controller,840 power MOSFETs, input current sensing and regulation, high-accuracy841 voltage regulation, and charge termination. The charge current is842 regulated through integrated sensing resistors. It also features843 USB On-The-Go (OTG) support and integrates D+/D- pin for USB844 host/charging port detection.845 846 This driver can also be built as a module. If so, the module847 will be called "rt9467-charger".848 849config CHARGER_RT9471850 tristate "Richtek RT9471 battery charger driver"851 depends on I2C && GPIOLIB && REGULATOR852 select REGMAP_I2C853 select REGMAP_IRQ854 select LINEAR_RANGES855 help856 This adds support for Richtek RT9471 battery charger. RT9471 is857 highly-integrated switch mode battery charger which is system power858 patch manageable device for single cell Li-Ion and Li-polymer battery.859 It can support BC12 detection on DPDM, and current and voltage860 regulation on both charging and boost mode.861 862 This driver can also be built as a module. If so, the module will be863 called rt9471.864 865config CHARGER_CROS_USBPD866 tristate "ChromeOS EC based USBPD charger"867 depends on CROS_USBPD_NOTIFY868 help869 Say Y here to enable ChromeOS EC based USBPD charger870 driver. This driver gets various bits of information about871 what is connected to USB PD ports from the EC and converts872 that into power_supply properties.873 874config CHARGER_CROS_PCHG875 tristate "ChromeOS EC based peripheral charger"876 depends on MFD_CROS_EC_DEV877 default MFD_CROS_EC_DEV878 help879 Say Y here to enable ChromeOS EC based peripheral charge driver.880 This driver gets various information about the devices connected to881 the peripheral charge ports from the EC and converts that into882 power_supply properties.883 884config CHARGER_CROS_CONTROL885 tristate "ChromeOS EC based charge control"886 depends on MFD_CROS_EC_DEV887 depends on ACPI_BATTERY888 default MFD_CROS_EC_DEV889 help890 Say Y here to enable ChromeOS EC based battery charge control.891 This driver can manage charge thresholds and behaviour.892 893 This driver can also be built as a module. If so, the module will be894 called cros_charge-control.895 896config CHARGER_SC2731897 tristate "Spreadtrum SC2731 charger driver"898 depends on MFD_SC27XX_PMIC || COMPILE_TEST899 help900 Say Y here to enable support for battery charging with SC2731901 PMIC chips.902 903config FUEL_GAUGE_SC27XX904 tristate "Spreadtrum SC27XX fuel gauge driver"905 depends on MFD_SC27XX_PMIC || COMPILE_TEST906 depends on IIO907 help908 Say Y here to enable support for fuel gauge with SC27XX909 PMIC chips.910 911config CHARGER_UCS1002912 tristate "Microchip UCS1002 USB Port Power Controller"913 depends on I2C914 depends on OF915 depends on REGULATOR916 select REGMAP_I2C917 help918 Say Y to enable support for Microchip UCS1002 Programmable919 USB Port Power Controller with Charger Emulation.920 921config CHARGER_BD99954922 tristate "ROHM bd99954 charger driver"923 depends on I2C924 select LINEAR_RANGES925 help926 Say Y here to enable support for getting battery and charger927 information and altering charger configurations from the ROHM928 BD99954 charger IC.929 930config CHARGER_WILCO931 tristate "Wilco EC based charger for ChromeOS"932 depends on WILCO_EC933 help934 Say Y here to enable control of the charging routines performed935 by the Embedded Controller on the Chromebook named Wilco. Further936 information can be found in937 Documentation/ABI/testing/sysfs-class-power-wilco938 939config RN5T618_POWER940 tristate "RN5T618 charger/fuel gauge support"941 depends on MFD_RN5T618942 depends on RN5T618_ADC943 depends on IIO944 help945 Say Y here to have support for RN5T618 PMIC family fuel gauge and charger.946 This driver can also be built as a module. If so, the module will be947 called rn5t618_power.948 949config BATTERY_ACER_A500950 tristate "Acer Iconia Tab A500 battery driver"951 depends on MFD_ACER_A500_EC952 help953 Say Y to include support for Acer Iconia Tab A500 battery fuel gauge.954 955config BATTERY_SURFACE956 tristate "Battery driver for 7th-generation Microsoft Surface devices"957 depends on SURFACE_AGGREGATOR_REGISTRY958 help959 Driver for battery devices connected via/managed by the Surface System960 Aggregator Module (SSAM).961 962 This driver provides battery-information and -status support for963 Surface devices where said data is not exposed via the standard ACPI964 devices. On those models (7th-generation), battery-information is965 instead handled directly via SSAM client devices and this driver.966 967 Say M or Y here to include battery status support for 7th-generation968 Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3,969 Surface Book 3, and Surface Laptop Go.970 971config CHARGER_SURFACE972 tristate "AC driver for 7th-generation Microsoft Surface devices"973 depends on SURFACE_AGGREGATOR_REGISTRY974 help975 Driver for AC devices connected via/managed by the Surface System976 Aggregator Module (SSAM).977 978 This driver provides AC-information and -status support for Surface979 devices where said data is not exposed via the standard ACPI devices.980 On those models (7th-generation), AC-information is instead handled981 directly via a SSAM client device and this driver.982 983 Say M or Y here to include AC status support for 7th-generation984 Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3,985 Surface Book 3, and Surface Laptop Go.986 987config BATTERY_UG3105988 tristate "uPI uG3105 battery monitor driver"989 depends on I2C990 help991 Battery monitor driver for the uPI uG3105 battery monitor.992 993 Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead994 it is expected to be use in combination with some always on995 microcontroller reading its coulomb-counter before it can wrap996 (it must be read every 400 seconds!).997 998 Since Linux does not monitor coulomb-counter changes while the999 device is off or suspended, the functionality of this driver is1000 limited to reporting capacity only.1001 1002config CHARGER_QCOM_SMB21003 tristate "Qualcomm PMI8998 PMIC charger driver"1004 depends on MFD_SPMI_PMIC1005 depends on IIO1006 help1007 Say Y here to enable the Qualcomm PMIC Charger driver. This1008 adds support for the SMB2 switch mode battery charger found1009 in PMI8998 and related PMICs.1010 1011config FUEL_GAUGE_MM80131012 tristate "Mitsumi MM8013 fuel gauge driver"1013 depends on I2C1014 select REGMAP_I2C1015 help1016 Say Y here to enable the Mitsumi MM8013 fuel gauge driver.1017 It enables the monitoring of many battery parameters, including1018 the state of charge, temperature, cycle count, actual and design1019 capacity, etc.1020 1021endif # POWER_SUPPLY1022