1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 28c0984e5SSebastian Reichelmenuconfig POWER_SUPPLY 38c0984e5SSebastian Reichel bool "Power supply class support" 48c0984e5SSebastian Reichel help 58c0984e5SSebastian Reichel Say Y here to enable power supply class support. This allows 68c0984e5SSebastian Reichel power supply (batteries, AC, USB) monitoring by userspace 78c0984e5SSebastian Reichel via sysfs and uevent (if available) and/or APM kernel interface 88c0984e5SSebastian Reichel (if selected below). 98c0984e5SSebastian Reichel 108c0984e5SSebastian Reichelif POWER_SUPPLY 118c0984e5SSebastian Reichel 128c0984e5SSebastian Reichelconfig POWER_SUPPLY_DEBUG 138c0984e5SSebastian Reichel bool "Power supply debug" 148c0984e5SSebastian Reichel help 158c0984e5SSebastian Reichel Say Y here to enable debugging messages for power supply class 168c0984e5SSebastian Reichel and drivers. 178c0984e5SSebastian Reichel 18e67d4dfcSAndrey Smirnovconfig POWER_SUPPLY_HWMON 19e67d4dfcSAndrey Smirnov bool 20e67d4dfcSAndrey Smirnov prompt "Expose power supply sensors as hwmon device" 21e67d4dfcSAndrey Smirnov depends on HWMON=y || HWMON=POWER_SUPPLY 22e67d4dfcSAndrey Smirnov default y 23e67d4dfcSAndrey Smirnov help 24e67d4dfcSAndrey Smirnov This options enables API that allows sensors found on a 25e67d4dfcSAndrey Smirnov power supply device (current, voltage, temperature) to be 26e67d4dfcSAndrey Smirnov exposed as a hwmon device. 27e67d4dfcSAndrey Smirnov 28e67d4dfcSAndrey Smirnov Say 'Y' here if you want power supplies to 29e67d4dfcSAndrey Smirnov have hwmon sysfs interface too. 30e67d4dfcSAndrey Smirnov 31e67d4dfcSAndrey Smirnov 328c0984e5SSebastian Reichelconfig PDA_POWER 338c0984e5SSebastian Reichel tristate "Generic PDA/phone power driver" 348c0984e5SSebastian Reichel depends on !S390 358c0984e5SSebastian Reichel help 368c0984e5SSebastian Reichel Say Y here to enable generic power driver for PDAs and phones with 378c0984e5SSebastian Reichel one or two external power supplies (AC/USB) connected to main and 388c0984e5SSebastian Reichel backup batteries, and optional builtin charger. 398c0984e5SSebastian Reichel 408c0984e5SSebastian Reichelconfig APM_POWER 418c0984e5SSebastian Reichel tristate "APM emulation for class batteries" 428c0984e5SSebastian Reichel depends on APM_EMULATION 438c0984e5SSebastian Reichel help 448c0984e5SSebastian Reichel Say Y here to enable support APM status emulation using 458c0984e5SSebastian Reichel battery class devices. 468c0984e5SSebastian Reichel 478c0984e5SSebastian Reichelconfig GENERIC_ADC_BATTERY 488c0984e5SSebastian Reichel tristate "Generic battery support using IIO" 498c0984e5SSebastian Reichel depends on IIO 508c0984e5SSebastian Reichel help 518c0984e5SSebastian Reichel Say Y here to enable support for the generic battery driver 528c0984e5SSebastian Reichel which uses IIO framework to read adc. 538c0984e5SSebastian Reichel 5475853406SSamuel Hollandconfig IP5XXX_POWER 5575853406SSamuel Holland tristate "Injoinic IP5xxx power bank IC driver" 5675853406SSamuel Holland depends on I2C 5775853406SSamuel Holland select REGMAP_I2C 5875853406SSamuel Holland help 5975853406SSamuel Holland Say Y to include support for Injoinic IP5xxx power bank ICs, 6075853406SSamuel Holland which include a battery charger and a boost converter. 6175853406SSamuel Holland 628c0984e5SSebastian Reichelconfig MAX8925_POWER 638c0984e5SSebastian Reichel tristate "MAX8925 battery charger support" 648c0984e5SSebastian Reichel depends on MFD_MAX8925 658c0984e5SSebastian Reichel help 668c0984e5SSebastian Reichel Say Y here to enable support for the battery charger in the Maxim 678c0984e5SSebastian Reichel MAX8925 PMIC. 688c0984e5SSebastian Reichel 698c0984e5SSebastian Reichelconfig WM831X_BACKUP 708c0984e5SSebastian Reichel tristate "WM831X backup battery charger support" 718c0984e5SSebastian Reichel depends on MFD_WM831X 728c0984e5SSebastian Reichel help 738c0984e5SSebastian Reichel Say Y here to enable support for the backup battery charger 748c0984e5SSebastian Reichel in the Wolfson Microelectronics WM831x PMICs. 758c0984e5SSebastian Reichel 768c0984e5SSebastian Reichelconfig WM831X_POWER 778c0984e5SSebastian Reichel tristate "WM831X PMU support" 788c0984e5SSebastian Reichel depends on MFD_WM831X 798c0984e5SSebastian Reichel help 808c0984e5SSebastian Reichel Say Y here to enable support for the power management unit 818c0984e5SSebastian Reichel provided by Wolfson Microelectronics WM831x PMICs. 828c0984e5SSebastian Reichel 838c0984e5SSebastian Reichelconfig WM8350_POWER 848c0984e5SSebastian Reichel tristate "WM8350 PMU support" 858c0984e5SSebastian Reichel depends on MFD_WM8350 868c0984e5SSebastian Reichel help 878c0984e5SSebastian Reichel Say Y here to enable support for the power management unit 888c0984e5SSebastian Reichel provided by the Wolfson Microelectronics WM8350 PMIC. 898c0984e5SSebastian Reichel 908c0984e5SSebastian Reichelconfig TEST_POWER 918c0984e5SSebastian Reichel tristate "Test power driver" 928c0984e5SSebastian Reichel help 938c0984e5SSebastian Reichel This driver is used for testing. It's safe to say M here. 948c0984e5SSebastian Reichel 958c0984e5SSebastian Reichelconfig BATTERY_88PM860X 968c0984e5SSebastian Reichel tristate "Marvell 88PM860x battery driver" 978c0984e5SSebastian Reichel depends on MFD_88PM860X 988c0984e5SSebastian Reichel help 998c0984e5SSebastian Reichel Say Y here to enable battery monitor for Marvell 88PM860x chip. 1008c0984e5SSebastian Reichel 101fe8e81b7SStefan Popaconfig CHARGER_ADP5061 102fe8e81b7SStefan Popa tristate "ADP5061 battery charger driver" 103fe8e81b7SStefan Popa depends on I2C 104fe8e81b7SStefan Popa select REGMAP_I2C 105fe8e81b7SStefan Popa help 106fe8e81b7SStefan Popa Say Y here to enable support for the ADP5061 standalone battery 107fe8e81b7SStefan Popa charger. 108fe8e81b7SStefan Popa 109fe8e81b7SStefan Popa This driver can be built as a module. If so, the module will be 110fe8e81b7SStefan Popa called adp5061. 111fe8e81b7SStefan Popa 1128c0984e5SSebastian Reichelconfig BATTERY_ACT8945A 1138c0984e5SSebastian Reichel tristate "Active-semi ACT8945A charger driver" 1148c0984e5SSebastian Reichel depends on MFD_ACT8945A || COMPILE_TEST 1158c0984e5SSebastian Reichel help 1168c0984e5SSebastian Reichel Say Y here to enable support for power supply provided by 1178c0984e5SSebastian Reichel Active-semi ActivePath ACT8945A charger. 1188c0984e5SSebastian Reichel 119874b2adbSTony Lindgrenconfig BATTERY_CPCAP 120874b2adbSTony Lindgren tristate "Motorola CPCAP PMIC battery driver" 121874b2adbSTony Lindgren depends on MFD_CPCAP && IIO 122874b2adbSTony Lindgren default MFD_CPCAP 123874b2adbSTony Lindgren help 124874b2adbSTony Lindgren Say Y here to enable support for battery on Motorola 125874b2adbSTony Lindgren phones and tablets such as droid 4. 126874b2adbSTony Lindgren 127b4c7715cSTobias Schrammconfig BATTERY_CW2015 128b4c7715cSTobias Schramm tristate "CW2015 Battery driver" 129b4c7715cSTobias Schramm depends on I2C 130b4c7715cSTobias Schramm select REGMAP_I2C 131b4c7715cSTobias Schramm help 132b4c7715cSTobias Schramm Say Y here to enable support for the cellwise cw2015 133b4c7715cSTobias Schramm battery fuel gauge (used in the Pinebook Pro & others) 134b4c7715cSTobias Schramm 135b4c7715cSTobias Schramm This driver can also be built as a module. If so, the module will be 136b4c7715cSTobias Schramm called cw2015_battery. 137b4c7715cSTobias Schramm 1388c0984e5SSebastian Reichelconfig BATTERY_DS2760 1398c0984e5SSebastian Reichel tristate "DS2760 battery driver (HP iPAQ & others)" 140bf497355SDaniel Mack depends on W1 1418c0984e5SSebastian Reichel help 1428c0984e5SSebastian Reichel Say Y here to enable support for batteries with ds2760 chip. 1438c0984e5SSebastian Reichel 1448c0984e5SSebastian Reichelconfig BATTERY_DS2780 1458c0984e5SSebastian Reichel tristate "DS2780 battery driver" 1468c0984e5SSebastian Reichel depends on HAS_IOMEM 1478c0984e5SSebastian Reichel select W1 1488c0984e5SSebastian Reichel select W1_SLAVE_DS2780 1498c0984e5SSebastian Reichel help 1508c0984e5SSebastian Reichel Say Y here to enable support for batteries with ds2780 chip. 1518c0984e5SSebastian Reichel 1528c0984e5SSebastian Reichelconfig BATTERY_DS2781 1538c0984e5SSebastian Reichel tristate "DS2781 battery driver" 1548c0984e5SSebastian Reichel depends on HAS_IOMEM 1558c0984e5SSebastian Reichel select W1 1568c0984e5SSebastian Reichel select W1_SLAVE_DS2781 1578c0984e5SSebastian Reichel help 1588c0984e5SSebastian Reichel If you enable this you will have the DS2781 battery driver support. 1598c0984e5SSebastian Reichel 1608c0984e5SSebastian Reichel The battery monitor chip is used in many batteries/devices 1618c0984e5SSebastian Reichel as the one who is responsible for charging/discharging/monitoring 1628c0984e5SSebastian Reichel Li+ batteries. 1638c0984e5SSebastian Reichel 1648c0984e5SSebastian Reichel If you are unsure, say N. 1658c0984e5SSebastian Reichel 1668c0984e5SSebastian Reichelconfig BATTERY_DS2782 1678c0984e5SSebastian Reichel tristate "DS2782/DS2786 standalone gas-gauge" 1688c0984e5SSebastian Reichel depends on I2C 1698c0984e5SSebastian Reichel help 1708c0984e5SSebastian Reichel Say Y here to enable support for the DS2782/DS2786 standalone battery 1718c0984e5SSebastian Reichel gas-gauge. 1728c0984e5SSebastian Reichel 17353db8858SDavid Lechnerconfig BATTERY_LEGO_EV3 17453db8858SDavid Lechner tristate "LEGO MINDSTORMS EV3 battery" 1758fada2d4SAlex Dewar depends on OF && IIO && GPIOLIB && (ARCH_DAVINCI_DA850 || COMPILE_TEST) 17653db8858SDavid Lechner help 17753db8858SDavid Lechner Say Y here to enable support for the LEGO MINDSTORMS EV3 battery. 17853db8858SDavid Lechner 1798c0984e5SSebastian Reichelconfig BATTERY_PMU 1808c0984e5SSebastian Reichel tristate "Apple PMU battery" 1818c0984e5SSebastian Reichel depends on PPC32 && ADB_PMU 1828c0984e5SSebastian Reichel help 1838c0984e5SSebastian Reichel Say Y here to expose battery information on Apple machines 1848c0984e5SSebastian Reichel through the generic battery class. 1858c0984e5SSebastian Reichel 1868c0984e5SSebastian Reichelconfig BATTERY_OLPC 1878c0984e5SSebastian Reichel tristate "One Laptop Per Child battery" 188ef071babSLubomir Rintel depends on OLPC_EC 1898c0984e5SSebastian Reichel help 1908c0984e5SSebastian Reichel Say Y to enable support for the battery on the OLPC laptop. 1918c0984e5SSebastian Reichel 192c8aee3f4SLinus Walleijconfig BATTERY_SAMSUNG_SDI 193c8aee3f4SLinus Walleij bool "Samsung SDI batteries" 194c8aee3f4SLinus Walleij help 195c8aee3f4SLinus Walleij Say Y to enable support for Samsung SDI battery data. 196c8aee3f4SLinus Walleij These batteries are used in Samsung mobile phones. 197c8aee3f4SLinus Walleij 1988c0984e5SSebastian Reichelconfig BATTERY_TOSA 1998c0984e5SSebastian Reichel tristate "Sharp SL-6000 (tosa) battery" 2008c0984e5SSebastian Reichel depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX 2018c0984e5SSebastian Reichel help 2028c0984e5SSebastian Reichel Say Y to enable support for the battery on the Sharp Zaurus 2038c0984e5SSebastian Reichel SL-6000 (tosa) models. 2048c0984e5SSebastian Reichel 2058c0984e5SSebastian Reichelconfig BATTERY_COLLIE 2068c0984e5SSebastian Reichel tristate "Sharp SL-5500 (collie) battery" 2078c0984e5SSebastian Reichel depends on SA1100_COLLIE && MCP_UCB1200 2088c0984e5SSebastian Reichel help 2098c0984e5SSebastian Reichel Say Y to enable support for the battery on the Sharp Zaurus 2108c0984e5SSebastian Reichel SL-5500 (collie) models. 2118c0984e5SSebastian Reichel 212fb24ccfbSArtur Rojekconfig BATTERY_INGENIC 213fb24ccfbSArtur Rojek tristate "Ingenic JZ47xx SoCs battery driver" 214fb24ccfbSArtur Rojek depends on MIPS || COMPILE_TEST 215fb24ccfbSArtur Rojek depends on INGENIC_ADC 216fb24ccfbSArtur Rojek help 217fb24ccfbSArtur Rojek Choose this option if you want to monitor battery status on 218fb24ccfbSArtur Rojek Ingenic JZ47xx SoC based devices. 219fb24ccfbSArtur Rojek 220fb24ccfbSArtur Rojek This driver can also be built as a module. If so, the module will be 221fb24ccfbSArtur Rojek called ingenic-battery. 222fb24ccfbSArtur Rojek 2238c0984e5SSebastian Reichelconfig BATTERY_IPAQ_MICRO 2248c0984e5SSebastian Reichel tristate "iPAQ Atmel Micro ASIC battery driver" 2258c0984e5SSebastian Reichel depends on MFD_IPAQ_MICRO 2268c0984e5SSebastian Reichel help 2278c0984e5SSebastian Reichel Choose this option if you want to monitor battery status on 2288c0984e5SSebastian Reichel Compaq/HP iPAQ h3100 and h3600. 2298c0984e5SSebastian Reichel 2308c0984e5SSebastian Reichelconfig BATTERY_WM97XX 2318c0984e5SSebastian Reichel bool "WM97xx generic battery driver" 2328c0984e5SSebastian Reichel depends on TOUCHSCREEN_WM97XX=y 2338c0984e5SSebastian Reichel help 2348c0984e5SSebastian Reichel Say Y to enable support for battery measured by WM97xx aux port. 2358c0984e5SSebastian Reichel 2368c0984e5SSebastian Reichelconfig BATTERY_SBS 2378c0984e5SSebastian Reichel tristate "SBS Compliant gas gauge" 2388c0984e5SSebastian Reichel depends on I2C 2398c0984e5SSebastian Reichel help 2408c0984e5SSebastian Reichel Say Y to include support for SBS battery driver for SBS-compliant 2418c0984e5SSebastian Reichel gas gauges. 2428c0984e5SSebastian Reichel 243feb583e3SNicolas Saenz Julienneconfig CHARGER_SBS 244feb583e3SNicolas Saenz Julienne tristate "SBS Compliant charger" 245feb583e3SNicolas Saenz Julienne depends on I2C 246a4bdea20SRandy Dunlap select REGMAP_I2C 247feb583e3SNicolas Saenz Julienne help 24883fc61a5SMasanari Iida Say Y to include support for SBS compliant battery chargers. 249feb583e3SNicolas Saenz Julienne 250dbc4dedaSKarl-Heinz Schneiderconfig MANAGER_SBS 251dbc4dedaSKarl-Heinz Schneider tristate "Smart Battery System Manager" 252a0b8839eSPhil Reid depends on I2C && I2C_MUX && GPIOLIB 253a0b8839eSPhil Reid select I2C_SMBUS 254dbc4dedaSKarl-Heinz Schneider help 255dbc4dedaSKarl-Heinz Schneider Say Y here to include support for Smart Battery System Manager 256dbc4dedaSKarl-Heinz Schneider ICs. The driver reports online and charging status via sysfs. 257dbc4dedaSKarl-Heinz Schneider It presents itself also as I2C mux which allows to bind 258dbc4dedaSKarl-Heinz Schneider smart battery driver to its ports. 259dbc4dedaSKarl-Heinz Schneider Supported is for example LTC1760. 260dbc4dedaSKarl-Heinz Schneider 261dbc4dedaSKarl-Heinz Schneider This driver can also be built as a module. If so, the module will be 262dbc4dedaSKarl-Heinz Schneider called sbs-manager. 263dbc4dedaSKarl-Heinz Schneider 2648c0984e5SSebastian Reichelconfig BATTERY_BQ27XXX 2658c0984e5SSebastian Reichel tristate "BQ27xxx battery driver" 2668c0984e5SSebastian Reichel help 2678c0984e5SSebastian Reichel Say Y here to enable support for batteries with BQ27xxx chips. 2688c0984e5SSebastian Reichel 2698c0984e5SSebastian Reichelconfig BATTERY_BQ27XXX_I2C 2708c0984e5SSebastian Reichel tristate "BQ27xxx I2C support" 2718c0984e5SSebastian Reichel depends on BATTERY_BQ27XXX 2728c0984e5SSebastian Reichel depends on I2C 2738c0984e5SSebastian Reichel default y 2748c0984e5SSebastian Reichel help 2758c0984e5SSebastian Reichel Say Y here to enable support for batteries with BQ27xxx chips 2768c0984e5SSebastian Reichel connected over an I2C bus. 2778c0984e5SSebastian Reichel 27855a9db67SAndrew F. Davisconfig BATTERY_BQ27XXX_HDQ 27955a9db67SAndrew F. Davis tristate "BQ27xxx HDQ support" 28055a9db67SAndrew F. Davis depends on BATTERY_BQ27XXX 28155a9db67SAndrew F. Davis depends on W1 28255a9db67SAndrew F. Davis default y 28355a9db67SAndrew F. Davis help 28455a9db67SAndrew F. Davis Say Y here to enable support for batteries with BQ27xxx chips 28555a9db67SAndrew F. Davis connected over an HDQ bus. 28655a9db67SAndrew F. Davis 287ccce4409SLiam Breckconfig BATTERY_BQ27XXX_DT_UPDATES_NVM 288ccce4409SLiam Breck bool "BQ27xxx support for update of NVM/flash data memory" 289ccce4409SLiam Breck depends on BATTERY_BQ27XXX_I2C 290ccce4409SLiam Breck help 291ccce4409SLiam Breck Say Y here to enable devicetree monitored-battery config to update 292ccce4409SLiam Breck NVM/flash data memory. Only enable this option for devices with a 293ccce4409SLiam Breck fuel gauge mounted on the circuit board, and a battery that cannot 294ccce4409SLiam Breck easily be replaced with one of a different type. Not for 295ccce4409SLiam Breck general-purpose kernels, as this can cause misconfiguration of a 296ccce4409SLiam Breck smart battery with embedded NVM/flash. 297ccce4409SLiam Breck 2988c0984e5SSebastian Reichelconfig BATTERY_DA9030 2998c0984e5SSebastian Reichel tristate "DA9030 battery driver" 3008c0984e5SSebastian Reichel depends on PMIC_DA903X 3018c0984e5SSebastian Reichel help 3028c0984e5SSebastian Reichel Say Y here to enable support for batteries charger integrated into 3038c0984e5SSebastian Reichel DA9030 PMIC. 3048c0984e5SSebastian Reichel 3058c0984e5SSebastian Reichelconfig BATTERY_DA9052 3068c0984e5SSebastian Reichel tristate "Dialog DA9052 Battery" 3078c0984e5SSebastian Reichel depends on PMIC_DA9052 3088c0984e5SSebastian Reichel help 3098c0984e5SSebastian Reichel Say Y here to enable support for batteries charger integrated into 3108c0984e5SSebastian Reichel DA9052 PMIC. 3118c0984e5SSebastian Reichel 3128c0984e5SSebastian Reichelconfig CHARGER_DA9150 3138c0984e5SSebastian Reichel tristate "Dialog Semiconductor DA9150 Charger support" 3148c0984e5SSebastian Reichel depends on MFD_DA9150 3158c0984e5SSebastian Reichel depends on DA9150_GPADC 3168c0984e5SSebastian Reichel depends on IIO 3178c0984e5SSebastian Reichel help 3188c0984e5SSebastian Reichel Say Y here to enable support for charger unit of the DA9150 3198c0984e5SSebastian Reichel Integrated Charger & Fuel-Gauge IC. 3208c0984e5SSebastian Reichel 3218c0984e5SSebastian Reichel This driver can also be built as a module. If so, the module will be 3228c0984e5SSebastian Reichel called da9150-charger. 3238c0984e5SSebastian Reichel 3248c0984e5SSebastian Reichelconfig BATTERY_DA9150 3258c0984e5SSebastian Reichel tristate "Dialog Semiconductor DA9150 Fuel Gauge support" 3268c0984e5SSebastian Reichel depends on MFD_DA9150 3278c0984e5SSebastian Reichel help 3288c0984e5SSebastian Reichel Say Y here to enable support for the Fuel-Gauge unit of the DA9150 3298c0984e5SSebastian Reichel Integrated Charger & Fuel-Gauge IC 3308c0984e5SSebastian Reichel 3318c0984e5SSebastian Reichel This driver can also be built as a module. If so, the module will be 3328c0984e5SSebastian Reichel called da9150-fg. 3338c0984e5SSebastian Reichel 334744cc304SQuentin Schulzconfig CHARGER_AXP20X 335744cc304SQuentin Schulz tristate "X-Powers AXP20X and AXP22X AC power supply driver" 336744cc304SQuentin Schulz depends on MFD_AXP20X 337744cc304SQuentin Schulz depends on AXP20X_ADC 338744cc304SQuentin Schulz depends on IIO 339744cc304SQuentin Schulz help 340744cc304SQuentin Schulz Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC 341744cc304SQuentin Schulz power supply. 342744cc304SQuentin Schulz 343744cc304SQuentin Schulz This driver can also be built as a module. If so, the module will be 344744cc304SQuentin Schulz called axp20x_ac_power. 345744cc304SQuentin Schulz 34646c202b5SQuentin Schulzconfig BATTERY_AXP20X 34746c202b5SQuentin Schulz tristate "X-Powers AXP20X battery driver" 34846c202b5SQuentin Schulz depends on MFD_AXP20X 34946c202b5SQuentin Schulz depends on AXP20X_ADC 35046c202b5SQuentin Schulz depends on IIO 35146c202b5SQuentin Schulz help 35246c202b5SQuentin Schulz Say Y here to enable support for X-Powers AXP20X PMICs' battery power 35346c202b5SQuentin Schulz supply. 35446c202b5SQuentin Schulz 35546c202b5SQuentin Schulz This driver can also be built as a module. If so, the module will be 35646c202b5SQuentin Schulz called axp20x_battery. 35746c202b5SQuentin Schulz 3586254a6a9SArnd Bergmannconfig AXP20X_POWER 3596254a6a9SArnd Bergmann tristate "AXP20x power supply driver" 3606254a6a9SArnd Bergmann depends on MFD_AXP20X 3616254a6a9SArnd Bergmann depends on IIO 3626254a6a9SArnd Bergmann help 3636254a6a9SArnd Bergmann This driver provides support for the power supply features of 3646254a6a9SArnd Bergmann AXP20x PMIC. 3656254a6a9SArnd Bergmann 3668c0984e5SSebastian Reichelconfig AXP288_CHARGER 3678c0984e5SSebastian Reichel tristate "X-Powers AXP288 Charger" 36800d05666SHans de Goede depends on MFD_AXP20X && EXTCON_AXP288 && IOSF_MBI && ACPI 3698c0984e5SSebastian Reichel help 3708c0984e5SSebastian Reichel Say yes here to have support X-Power AXP288 power management IC (PMIC) 3718c0984e5SSebastian Reichel integrated charger. 3728c0984e5SSebastian Reichel 3738c0984e5SSebastian Reichelconfig AXP288_FUEL_GAUGE 3748c0984e5SSebastian Reichel tristate "X-Powers AXP288 Fuel Gauge" 375da365db7SHans de Goede depends on MFD_AXP20X && IIO && IOSF_MBI && ACPI 3768c0984e5SSebastian Reichel help 3778c0984e5SSebastian Reichel Say yes here to have support for X-Power power management IC (PMIC) 3788c0984e5SSebastian Reichel Fuel Gauge. The device provides battery statistics and status 3798c0984e5SSebastian Reichel monitoring as well as alerts for battery over/under voltage and 3808c0984e5SSebastian Reichel over/under temperature. 3818c0984e5SSebastian Reichel 3828c0984e5SSebastian Reichelconfig BATTERY_MAX17040 38382ab575eSKrzysztof Kozlowski tristate "Maxim MAX17040/17041/17043 family Fuel Gauge" 3848c0984e5SSebastian Reichel depends on I2C 3856455a8a8SIskren Chernev select REGMAP_I2C 3868c0984e5SSebastian Reichel help 38782ab575eSKrzysztof Kozlowski Driver supports Maxim fuel-gauge systems for lithium-ion (Li+) 38882ab575eSKrzysztof Kozlowski batteries used mainly in handheld and portable equipment. 38982ab575eSKrzysztof Kozlowski Supported devices: max17040, max17041, max17043, max17044, max17048, 39082ab575eSKrzysztof Kozlowski max17049, max17058, max17059, max77836. 3914f7f8e87SIskren Chernev 3924f7f8e87SIskren Chernev Driver supports reporting SOC (State of Charge, i.e capacity), 3934f7f8e87SIskren Chernev voltage and configurable low-SOC wakeup interrupt. 3948c0984e5SSebastian Reichel 39582ab575eSKrzysztof Kozlowski Driver can be build as a module (max17040_battery). 39682ab575eSKrzysztof Kozlowski 3978c0984e5SSebastian Reichelconfig BATTERY_MAX17042 39840a2d98cSKrzysztof Kozlowski tristate "Maxim MAX17042/17047/17050/8997/8966 family Fuel Gauge" 3998c0984e5SSebastian Reichel depends on I2C 4008c0984e5SSebastian Reichel select REGMAP_I2C 4018c0984e5SSebastian Reichel help 4028c0984e5SSebastian Reichel MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries 4038c0984e5SSebastian Reichel in handheld and portable equipment. The MAX17042 is configured 4048c0984e5SSebastian Reichel to operate with a single lithium cell. MAX8997 and MAX8966 are 4058c0984e5SSebastian Reichel multi-function devices that include fuel gauages that are compatible 40640a2d98cSKrzysztof Kozlowski with MAX17042. 40740a2d98cSKrzysztof Kozlowski Supported devices: max8966, max8997, max17042, max17047, max17050, 40840a2d98cSKrzysztof Kozlowski max17055, max77693, max77849. 40940a2d98cSKrzysztof Kozlowski 41040a2d98cSKrzysztof Kozlowski Driver can be build as a module (max17042_battery). 4118c0984e5SSebastian Reichel 41210e48b7dSAlex A. Mihaylovconfig BATTERY_MAX1721X 41310e48b7dSAlex A. Mihaylov tristate "MAX17211/MAX17215 standalone gas-gauge" 41410e48b7dSAlex A. Mihaylov depends on W1 41510e48b7dSAlex A. Mihaylov select REGMAP_W1 41610e48b7dSAlex A. Mihaylov help 41710e48b7dSAlex A. Mihaylov MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries 41810e48b7dSAlex A. Mihaylov in handheld and portable equipment. MAX17211 used with single cell 41910e48b7dSAlex A. Mihaylov battery. MAX17215 designed for muticell battery. Both them have 42010e48b7dSAlex A. Mihaylov OneWire (W1) host interface. 42110e48b7dSAlex A. Mihaylov 42210e48b7dSAlex A. Mihaylov Say Y here to enable support for the MAX17211/MAX17215 standalone 42310e48b7dSAlex A. Mihaylov battery gas-gauge. 42410e48b7dSAlex A. Mihaylov 4258c0984e5SSebastian Reichelconfig BATTERY_Z2 4268c0984e5SSebastian Reichel tristate "Z2 battery driver" 4278c0984e5SSebastian Reichel depends on I2C && MACH_ZIPIT2 4288c0984e5SSebastian Reichel help 4298c0984e5SSebastian Reichel Say Y to include support for the battery on the Zipit Z2. 4308c0984e5SSebastian Reichel 4318c0984e5SSebastian Reichelconfig BATTERY_S3C_ADC 4328c0984e5SSebastian Reichel tristate "Battery driver for Samsung ADC based monitoring" 4338c0984e5SSebastian Reichel depends on S3C_ADC 4348c0984e5SSebastian Reichel help 4358c0984e5SSebastian Reichel Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery 4368c0984e5SSebastian Reichel 4378c0984e5SSebastian Reichelconfig BATTERY_TWL4030_MADC 4388c0984e5SSebastian Reichel tristate "TWL4030 MADC battery driver" 4398c0984e5SSebastian Reichel depends on TWL4030_MADC 4408c0984e5SSebastian Reichel help 4418c0984e5SSebastian Reichel Say Y here to enable this dumb driver for batteries managed 4428c0984e5SSebastian Reichel through the TWL4030 MADC. 4438c0984e5SSebastian Reichel 4448c0984e5SSebastian Reichelconfig CHARGER_88PM860X 4458c0984e5SSebastian Reichel tristate "Marvell 88PM860x Charger driver" 4468c0984e5SSebastian Reichel depends on MFD_88PM860X && BATTERY_88PM860X 4478c0984e5SSebastian Reichel help 4488c0984e5SSebastian Reichel Say Y here to enable charger for Marvell 88PM860x chip. 4498c0984e5SSebastian Reichel 4508c0984e5SSebastian Reichelconfig CHARGER_PCF50633 4518c0984e5SSebastian Reichel tristate "NXP PCF50633 MBC" 4528c0984e5SSebastian Reichel depends on MFD_PCF50633 4538c0984e5SSebastian Reichel help 4548c0984e5SSebastian Reichel Say Y to include support for NXP PCF50633 Main Battery Charger. 4558c0984e5SSebastian Reichel 4568c0984e5SSebastian Reichelconfig BATTERY_RX51 4578c0984e5SSebastian Reichel tristate "Nokia RX-51 (N900) battery driver" 4588c0984e5SSebastian Reichel depends on TWL4030_MADC 4598c0984e5SSebastian Reichel help 4608c0984e5SSebastian Reichel Say Y here to enable support for battery information on Nokia 4618c0984e5SSebastian Reichel RX-51, also known as N900 tablet. 4628c0984e5SSebastian Reichel 4630c9888e3STony Lindgrenconfig CHARGER_CPCAP 4640c9888e3STony Lindgren tristate "CPCAP PMIC Charger Driver" 4650c9888e3STony Lindgren depends on MFD_CPCAP && IIO 4668b35bf59SArnd Bergmann depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST) 4670c9888e3STony Lindgren default MFD_CPCAP 4680c9888e3STony Lindgren help 4690c9888e3STony Lindgren Say Y to enable support for CPCAP PMIC charger driver for Motorola 4700c9888e3STony Lindgren mobile devices such as Droid 4. 4710c9888e3STony Lindgren 4728c0984e5SSebastian Reichelconfig CHARGER_ISP1704 4738c0984e5SSebastian Reichel tristate "ISP1704 USB Charger Detection" 4748c0984e5SSebastian Reichel depends on USB_PHY 4758c0984e5SSebastian Reichel depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' 4768c0984e5SSebastian Reichel help 4778c0984e5SSebastian Reichel Say Y to enable support for USB Charger Detection with 4788c0984e5SSebastian Reichel ISP1707/ISP1704 USB transceivers. 4798c0984e5SSebastian Reichel 4808c0984e5SSebastian Reichelconfig CHARGER_MAX8903 4818c0984e5SSebastian Reichel tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power" 4828c0984e5SSebastian Reichel help 4838c0984e5SSebastian Reichel Say Y to enable support for the MAX8903 DC-DC charger and sysfs. 4848c0984e5SSebastian Reichel The driver supports controlling charger-enable and current-limit 4858c0984e5SSebastian Reichel pins based on the status of charger connections with interrupt 4868c0984e5SSebastian Reichel handlers. 4878c0984e5SSebastian Reichel 4888c0984e5SSebastian Reichelconfig CHARGER_TWL4030 4898c0984e5SSebastian Reichel tristate "OMAP TWL4030 BCI charger driver" 4908c0984e5SSebastian Reichel depends on IIO && TWL4030_CORE 4918c0984e5SSebastian Reichel help 4928c0984e5SSebastian Reichel Say Y here to enable support for TWL4030 Battery Charge Interface. 4938c0984e5SSebastian Reichel 4948c0984e5SSebastian Reichelconfig CHARGER_LP8727 4958c0984e5SSebastian Reichel tristate "TI/National Semiconductor LP8727 charger driver" 4968c0984e5SSebastian Reichel depends on I2C 4978c0984e5SSebastian Reichel help 4988c0984e5SSebastian Reichel Say Y here to enable support for LP8727 Charger Driver. 4998c0984e5SSebastian Reichel 5008c0984e5SSebastian Reichelconfig CHARGER_LP8788 5018c0984e5SSebastian Reichel tristate "TI LP8788 charger driver" 5028c0984e5SSebastian Reichel depends on MFD_LP8788 5038c0984e5SSebastian Reichel depends on LP8788_ADC 5048c0984e5SSebastian Reichel depends on IIO 5058c0984e5SSebastian Reichel help 5068c0984e5SSebastian Reichel Say Y to enable support for the LP8788 linear charger. 5078c0984e5SSebastian Reichel 5088c0984e5SSebastian Reichelconfig CHARGER_GPIO 5098c0984e5SSebastian Reichel tristate "GPIO charger" 5108c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 5118c0984e5SSebastian Reichel help 5128c0984e5SSebastian Reichel Say Y to include support for chargers which report their online status 5138c0984e5SSebastian Reichel through a GPIO pin. 5148c0984e5SSebastian Reichel 5158c0984e5SSebastian Reichel This driver can be build as a module. If so, the module will be 5168c0984e5SSebastian Reichel called gpio-charger. 5178c0984e5SSebastian Reichel 5188c0984e5SSebastian Reichelconfig CHARGER_MANAGER 519241eaabcSBaolin Wang tristate "Battery charger manager for multiple chargers" 5208c0984e5SSebastian Reichel depends on REGULATOR 5218c0984e5SSebastian Reichel select EXTCON 5228c0984e5SSebastian Reichel help 5238c0984e5SSebastian Reichel Say Y to enable charger-manager support, which allows multiple 5248c0984e5SSebastian Reichel chargers attached to a battery and multiple batteries attached to a 5258c0984e5SSebastian Reichel system. The charger-manager also can monitor charging status in 5268c0984e5SSebastian Reichel runtime and in suspend-to-RAM by waking up the system periodically 5278c0984e5SSebastian Reichel with help of suspend_again support. 5288c0984e5SSebastian Reichel 5292e220e6eSMichael Hennerichconfig CHARGER_LT3651 5302e220e6eSMichael Hennerich tristate "Analog Devices LT3651 charger" 531c94d4ed0SMike Looijmans depends on GPIOLIB 532c94d4ed0SMike Looijmans help 5332e220e6eSMichael Hennerich Say Y to include support for the Analog Devices (Linear Technology) 5342e220e6eSMichael Hennerich LT3651 battery charger which reports its status via GPIO lines. 535c94d4ed0SMike Looijmans 536cd900f18SMike Looijmansconfig CHARGER_LTC4162L 537cd900f18SMike Looijmans tristate "LTC4162-L charger" 538cd900f18SMike Looijmans depends on I2C 539cd900f18SMike Looijmans select REGMAP_I2C 540cd900f18SMike Looijmans help 541cd900f18SMike Looijmans Say Y to include support for the Analog Devices (Linear Technology) 542cd900f18SMike Looijmans LTC4162-L battery charger connected to I2C. 543cd900f18SMike Looijmans 5448c0984e5SSebastian Reichelconfig CHARGER_MAX14577 5458c0984e5SSebastian Reichel tristate "Maxim MAX14577/77836 battery charger driver" 5468c0984e5SSebastian Reichel depends on MFD_MAX14577 5478c0984e5SSebastian Reichel help 5488c0984e5SSebastian Reichel Say Y to enable support for the battery charger control sysfs and 5498c0984e5SSebastian Reichel platform data of MAX14577/77836 MUICs. 5508c0984e5SSebastian Reichel 5519d60595aSAlexander Kurzconfig CHARGER_DETECTOR_MAX14656 5529d60595aSAlexander Kurz tristate "Maxim MAX14656 USB charger detector" 5539d60595aSAlexander Kurz depends on I2C 5549d60595aSAlexander Kurz depends on OF 5559d60595aSAlexander Kurz help 5569d60595aSAlexander Kurz Say Y to enable support for the Maxim MAX14656 USB charger detector. 5579d60595aSAlexander Kurz The device is compliant with the USB Battery Charging Specification 5589d60595aSAlexander Kurz Revision 1.2 and can be found e.g. in Kindle 4/5th generation 5599d60595aSAlexander Kurz readers and certain LG devices. 5609d60595aSAlexander Kurz 561e85e17daSBartosz Golaszewskiconfig CHARGER_MAX77650 562e85e17daSBartosz Golaszewski tristate "Maxim MAX77650 battery charger driver" 563e85e17daSBartosz Golaszewski depends on MFD_MAX77650 564e85e17daSBartosz Golaszewski help 565e85e17daSBartosz Golaszewski Say Y to enable support for the battery charger control of MAX77650 566e85e17daSBartosz Golaszewski PMICs. 567e85e17daSBartosz Golaszewski 5688c0984e5SSebastian Reichelconfig CHARGER_MAX77693 5698c0984e5SSebastian Reichel tristate "Maxim MAX77693 battery charger driver" 5708c0984e5SSebastian Reichel depends on MFD_MAX77693 5718c0984e5SSebastian Reichel help 5728c0984e5SSebastian Reichel Say Y to enable support for the Maxim MAX77693 battery charger. 5738c0984e5SSebastian Reichel 574715ecbc1SLuca Ceresoliconfig CHARGER_MAX77976 575715ecbc1SLuca Ceresoli tristate "Maxim MAX77976 battery charger driver" 576715ecbc1SLuca Ceresoli depends on I2C 577715ecbc1SLuca Ceresoli select REGMAP_I2C 578715ecbc1SLuca Ceresoli help 579715ecbc1SLuca Ceresoli The Maxim MAX77976 is a 19 Vin, 5.5A 1-Cell Li+ Battery Charger 580715ecbc1SLuca Ceresoli USB OTG support. It has an I2C interface for configuration. 581715ecbc1SLuca Ceresoli 582715ecbc1SLuca Ceresoli Say Y to enable support for the Maxim MAX77976 battery charger. 583715ecbc1SLuca Ceresoli This driver can also be built as a module. If so, the module will be 584715ecbc1SLuca Ceresoli called max77976_charger. 585715ecbc1SLuca Ceresoli 5868c0984e5SSebastian Reichelconfig CHARGER_MAX8997 5878c0984e5SSebastian Reichel tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver" 5888c0984e5SSebastian Reichel depends on MFD_MAX8997 && REGULATOR_MAX8997 589f384989eSTimon Baetz depends on EXTCON || !EXTCON 5908c0984e5SSebastian Reichel help 5918c0984e5SSebastian Reichel Say Y to enable support for the battery charger control sysfs and 5928c0984e5SSebastian Reichel platform data of MAX8997/LP3974 PMICs. 5938c0984e5SSebastian Reichel 5948c0984e5SSebastian Reichelconfig CHARGER_MAX8998 5958c0984e5SSebastian Reichel tristate "Maxim MAX8998/LP3974 PMIC battery charger driver" 5968c0984e5SSebastian Reichel depends on MFD_MAX8998 && REGULATOR_MAX8998 5978c0984e5SSebastian Reichel help 5988c0984e5SSebastian Reichel Say Y to enable support for the battery charger control sysfs and 5998c0984e5SSebastian Reichel platform data of MAX8998/LP3974 PMICs. 6008c0984e5SSebastian Reichel 6013bc6d790SSaravanan Sekarconfig CHARGER_MP2629 6023bc6d790SSaravanan Sekar tristate "Monolithic power system MP2629 Battery charger" 6033bc6d790SSaravanan Sekar depends on MFD_MP2629 6043bc6d790SSaravanan Sekar depends on MP2629_ADC 6053bc6d790SSaravanan Sekar depends on IIO 6063bc6d790SSaravanan Sekar help 6073bc6d790SSaravanan Sekar Select this option to enable support for Monolithic power system 6083bc6d790SSaravanan Sekar Battery charger. This driver provides Battery charger power management 6093bc6d790SSaravanan Sekar functions on the systems. 6103bc6d790SSaravanan Sekar 6110402e8ebSGene Chenconfig CHARGER_MT6360 6120402e8ebSGene Chen tristate "Mediatek MT6360 Charger Driver" 6130402e8ebSGene Chen depends on MFD_MT6360 6140402e8ebSGene Chen depends on REGULATOR 6150402e8ebSGene Chen select LINEAR_RANGES 6160402e8ebSGene Chen help 6170402e8ebSGene Chen Say Y here to enable MT6360 Charger Part. 6180402e8ebSGene Chen The device supports High-Accuracy Voltage/Current Regulation, 6190402e8ebSGene Chen Average Input Current Regulation, Battery Temperature Sensing, 6200402e8ebSGene Chen Over-Temperature Protection, DPDM Detection for BC1.2. 6210402e8ebSGene Chen 622233cb8a4SChiaEn Wuconfig CHARGER_MT6370 623233cb8a4SChiaEn Wu tristate "MediaTek MT6370 Charger Driver" 624233cb8a4SChiaEn Wu depends on MFD_MT6370 625233cb8a4SChiaEn Wu depends on REGULATOR 626d8be4fe9SRandy Dunlap depends on IIO 627233cb8a4SChiaEn Wu select LINEAR_RANGES 628233cb8a4SChiaEn Wu help 629233cb8a4SChiaEn Wu Say Y here to enable MT6370 Charger Part. 630233cb8a4SChiaEn Wu The device supports High-Accuracy Voltage/Current Regulation, 631233cb8a4SChiaEn Wu Average Input Current Regulation, Battery Temperature Sensing, 632233cb8a4SChiaEn Wu Over-Temperature Protection, DPDM Detection for BC1.2. 633233cb8a4SChiaEn Wu 634233cb8a4SChiaEn Wu This driver can also be built as a module. If so, the module 635233cb8a4SChiaEn Wu will be called "mt6370-charger". 636233cb8a4SChiaEn Wu 6378c0984e5SSebastian Reichelconfig CHARGER_QCOM_SMBB 6388c0984e5SSebastian Reichel tristate "Qualcomm Switch-Mode Battery Charger and Boost" 6398c0984e5SSebastian Reichel depends on MFD_SPMI_PMIC || COMPILE_TEST 6408c0984e5SSebastian Reichel depends on OF 6418c0984e5SSebastian Reichel depends on EXTCON 64251962a35SArnd Bergmann depends on REGULATOR 6438c0984e5SSebastian Reichel help 6448c0984e5SSebastian Reichel Say Y to include support for the Switch-Mode Battery Charger and 6458c0984e5SSebastian Reichel Boost (SMBB) hardware found in Qualcomm PM8941 PMICs. The charger 6468c0984e5SSebastian Reichel is an integrated, single-cell lithium-ion battery charger. DT 6478c0984e5SSebastian Reichel configuration is required for loading, see the devicetree 6488c0984e5SSebastian Reichel documentation for more detail. The base name for this driver is 6498c0984e5SSebastian Reichel 'pm8941_charger'. 6508c0984e5SSebastian Reichel 6518c0984e5SSebastian Reichelconfig CHARGER_BQ2415X 6528c0984e5SSebastian Reichel tristate "TI BQ2415x battery charger driver" 6538c0984e5SSebastian Reichel depends on I2C 6548c0984e5SSebastian Reichel help 6558c0984e5SSebastian Reichel Say Y to enable support for the TI BQ2415x battery charger 6568c0984e5SSebastian Reichel PMICs. 6578c0984e5SSebastian Reichel 6588c0984e5SSebastian Reichel You'll need this driver to charge batteries on e.g. Nokia 6598c0984e5SSebastian Reichel RX-51/N900. 6608c0984e5SSebastian Reichel 6618c0984e5SSebastian Reichelconfig CHARGER_BQ24190 6628c0984e5SSebastian Reichel tristate "TI BQ24190 battery charger driver" 6638c0984e5SSebastian Reichel depends on I2C 664da26580fSHans de Goede depends on EXTCON 6658c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 6668c0984e5SSebastian Reichel help 6678c0984e5SSebastian Reichel Say Y to enable support for the TI BQ24190 battery charger. 6688c0984e5SSebastian Reichel 6698c0984e5SSebastian Reichelconfig CHARGER_BQ24257 6708c0984e5SSebastian Reichel tristate "TI BQ24250/24251/24257 battery charger driver" 6718c0984e5SSebastian Reichel depends on I2C 6728c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 67387c3d579SEnric Balletbo i Serra select REGMAP_I2C 6748c0984e5SSebastian Reichel help 6758c0984e5SSebastian Reichel Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery 6768c0984e5SSebastian Reichel chargers. 6778c0984e5SSebastian Reichel 6788c0984e5SSebastian Reichelconfig CHARGER_BQ24735 6798c0984e5SSebastian Reichel tristate "TI BQ24735 battery charger support" 6808c0984e5SSebastian Reichel depends on I2C 6818c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 6828c0984e5SSebastian Reichel help 6838c0984e5SSebastian Reichel Say Y to enable support for the TI BQ24735 battery charger. 6848c0984e5SSebastian Reichel 68544908459SRicardo Rivera-Matosconfig CHARGER_BQ2515X 68644908459SRicardo Rivera-Matos tristate "TI BQ2515X battery charger family" 68744908459SRicardo Rivera-Matos depends on I2C 68844908459SRicardo Rivera-Matos depends on GPIOLIB || COMPILE_TEST 68944908459SRicardo Rivera-Matos select REGMAP_I2C 69044908459SRicardo Rivera-Matos help 69144908459SRicardo Rivera-Matos Say Y to enable support for the TI BQ2515X family of battery 69244908459SRicardo Rivera-Matos charging integrated circuits. The BQ2515X are highly integrated 69344908459SRicardo Rivera-Matos battery charge management ICs that integrate the most common 69444908459SRicardo Rivera-Matos functions for wearable devices, namely a charger, an output voltage 69544908459SRicardo Rivera-Matos rail, ADC for battery and system monitoring, and push-button 69644908459SRicardo Rivera-Matos controller. 69744908459SRicardo Rivera-Matos 6988c0984e5SSebastian Reichelconfig CHARGER_BQ25890 6998c0984e5SSebastian Reichel tristate "TI BQ25890 battery charger driver" 7008c0984e5SSebastian Reichel depends on I2C 7018c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 7028c0984e5SSebastian Reichel select REGMAP_I2C 7038c0984e5SSebastian Reichel help 7048c0984e5SSebastian Reichel Say Y to enable support for the TI BQ25890 battery charger. 7058c0984e5SSebastian Reichel 7065069185fSDan Murphyconfig CHARGER_BQ25980 7075069185fSDan Murphy tristate "TI BQ25980 battery charger driver" 7085069185fSDan Murphy depends on I2C 7095069185fSDan Murphy depends on GPIOLIB || COMPILE_TEST 7105069185fSDan Murphy select REGMAP_I2C 7115069185fSDan Murphy help 7125069185fSDan Murphy Say Y to enable support for the TI BQ25980, BQ25975 and BQ25960 7135069185fSDan Murphy series of fast battery chargers. 7145069185fSDan Murphy 71532e4978bSRicardo Rivera-Matosconfig CHARGER_BQ256XX 71632e4978bSRicardo Rivera-Matos tristate "TI BQ256XX battery charger driver" 71732e4978bSRicardo Rivera-Matos depends on I2C 71832e4978bSRicardo Rivera-Matos depends on GPIOLIB || COMPILE_TEST 71932e4978bSRicardo Rivera-Matos select REGMAP_I2C 72032e4978bSRicardo Rivera-Matos help 72132e4978bSRicardo Rivera-Matos Say Y to enable support for the TI BQ256XX battery chargers. The 72232e4978bSRicardo Rivera-Matos BQ256XX family of devices are highly-integrated, switch-mode battery 72332e4978bSRicardo Rivera-Matos charge management and system power path management devices for single 72432e4978bSRicardo Rivera-Matos cell Li-ion and Li-polymer batteries. 72532e4978bSRicardo Rivera-Matos 72611cb8da0SChris Morganconfig CHARGER_RK817 72711cb8da0SChris Morgan tristate "Rockchip RK817 PMIC Battery Charger" 72811cb8da0SChris Morgan depends on MFD_RK808 72911cb8da0SChris Morgan help 73011cb8da0SChris Morgan Say Y to include support for Rockchip RK817 Battery Charger. 73111cb8da0SChris Morgan 7328c0984e5SSebastian Reichelconfig CHARGER_SMB347 733de76fd29SDavid Heidelberg tristate "Summit Microelectronics SMB3XX Battery Charger" 7348c0984e5SSebastian Reichel depends on I2C 735565efae9SDmitry Osipenko depends on REGULATOR 7368c0984e5SSebastian Reichel select REGMAP_I2C 7378c0984e5SSebastian Reichel help 738de76fd29SDavid Heidelberg Say Y to include support for Summit Microelectronics SMB345, 739de76fd29SDavid Heidelberg SMB347 or SMB358 Battery Charger. 7408c0984e5SSebastian Reichel 7418c0984e5SSebastian Reichelconfig CHARGER_TPS65090 7428c0984e5SSebastian Reichel tristate "TPS65090 battery charger driver" 7438c0984e5SSebastian Reichel depends on MFD_TPS65090 7448c0984e5SSebastian Reichel help 7458c0984e5SSebastian Reichel Say Y here to enable support for battery charging with TPS65090 7468c0984e5SSebastian Reichel PMIC chips. 7478c0984e5SSebastian Reichel 7488c0984e5SSebastian Reichelconfig CHARGER_TPS65217 7498c0984e5SSebastian Reichel tristate "TPS65217 battery charger driver" 7508c0984e5SSebastian Reichel depends on MFD_TPS65217 7518c0984e5SSebastian Reichel help 7528c0984e5SSebastian Reichel Say Y here to enable support for battery charging with TPS65217 7538c0984e5SSebastian Reichel PMIC chips. 7548c0984e5SSebastian Reichel 7558c0984e5SSebastian Reichelconfig BATTERY_GAUGE_LTC2941 7568c0984e5SSebastian Reichel tristate "LTC2941/LTC2943 Battery Gauge Driver" 7578c0984e5SSebastian Reichel depends on I2C 7588c0984e5SSebastian Reichel help 7598c0984e5SSebastian Reichel Say Y here to include support for LTC2941 and LTC2943 Battery 7608c0984e5SSebastian Reichel Gauge IC. The driver reports the charge count continuously, and 7618c0984e5SSebastian Reichel measures the voltage and temperature every 10 seconds. 7628c0984e5SSebastian Reichel 7638c0984e5SSebastian Reichelconfig AB8500_BM 7648c0984e5SSebastian Reichel bool "AB8500 Battery Management Driver" 76553207aa1SLinus Walleij depends on AB8500_CORE && AB8500_GPADC && (IIO = y) && OF 7662b0e7ac0SLinus Walleij select THERMAL 7672b0e7ac0SLinus Walleij select THERMAL_OF 7688c0984e5SSebastian Reichel help 7698c0984e5SSebastian Reichel Say Y to include support for AB8500 battery management. 7708c0984e5SSebastian Reichel 7718c0984e5SSebastian Reichelconfig BATTERY_GOLDFISH 7728c0984e5SSebastian Reichel tristate "Goldfish battery driver" 7738c0984e5SSebastian Reichel depends on HAS_IOMEM 7748c0984e5SSebastian Reichel help 775570b7c0eSRoman Kiryanov Say Y to enable support for the Goldfish battery and AC power 776570b7c0eSRoman Kiryanov driver. Originated in the Android Studio Emulator (goldfish) it is 777570b7c0eSRoman Kiryanov going to be used in other emulators. 7788c0984e5SSebastian Reichel 7798c0984e5SSebastian Reichelconfig BATTERY_RT5033 7808c0984e5SSebastian Reichel tristate "RT5033 fuel gauge support" 781f3076cd8SStephan Gerhold depends on I2C 782f3076cd8SStephan Gerhold select REGMAP_I2C 7838c0984e5SSebastian Reichel help 7848c0984e5SSebastian Reichel This adds support for battery fuel gauge in Richtek RT5033 PMIC. 7858c0984e5SSebastian Reichel The fuelgauge calculates and determines the battery state of charge 7868c0984e5SSebastian Reichel according to battery open circuit voltage. 7878c0984e5SSebastian Reichel 7888c0984e5SSebastian Reichelconfig CHARGER_RT9455 7898c0984e5SSebastian Reichel tristate "Richtek RT9455 battery charger driver" 7908c0984e5SSebastian Reichel depends on I2C 7918c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 7928c0984e5SSebastian Reichel select REGMAP_I2C 7938c0984e5SSebastian Reichel help 7948c0984e5SSebastian Reichel Say Y to enable support for Richtek RT9455 battery charger. 7958c0984e5SSebastian Reichel 796*6f7f70e3SChiaEn Wuconfig CHARGER_RT9467 797*6f7f70e3SChiaEn Wu tristate "Richtek RT9467 Battery Charger Driver" 798*6f7f70e3SChiaEn Wu depends on I2C && GPIOLIB && REGULATOR 799*6f7f70e3SChiaEn Wu select REGMAP_I2C 800*6f7f70e3SChiaEn Wu select REGMAP_IRQ 801*6f7f70e3SChiaEn Wu select LINEAR_RANGES 802*6f7f70e3SChiaEn Wu help 803*6f7f70e3SChiaEn Wu Say Y here to enable RT9467 Battery Charger. 804*6f7f70e3SChiaEn Wu RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger 805*6f7f70e3SChiaEn Wu for portable applications. It integrates a synchronous PWM controller, 806*6f7f70e3SChiaEn Wu power MOSFETs, input current sensing and regulation, high-accuracy 807*6f7f70e3SChiaEn Wu voltage regulation, and charge termination. The charge current is 808*6f7f70e3SChiaEn Wu regulated through integrated sensing resistors. It also features 809*6f7f70e3SChiaEn Wu USB On-The-Go (OTG) support and integrates D+/D- pin for USB 810*6f7f70e3SChiaEn Wu host/charging port detection. 811*6f7f70e3SChiaEn Wu 812*6f7f70e3SChiaEn Wu This driver can also be built as a module. If so, the module 813*6f7f70e3SChiaEn Wu will be called "rt9467-charger". 814*6f7f70e3SChiaEn Wu 8154a1a5f67SChiYuan Huangconfig CHARGER_RT9471 8164a1a5f67SChiYuan Huang tristate "Richtek RT9471 battery charger driver" 8174a1a5f67SChiYuan Huang depends on I2C && GPIOLIB && REGULATOR 8184a1a5f67SChiYuan Huang select REGMAP_I2C 8194a1a5f67SChiYuan Huang select REGMAP_IRQ 8204a1a5f67SChiYuan Huang select LINEAR_RANGES 8214a1a5f67SChiYuan Huang help 8224a1a5f67SChiYuan Huang This adds support for Richtek RT9471 battery charger. RT9471 is 8234a1a5f67SChiYuan Huang highly-integrated switch mode battery charger which is system power 8244a1a5f67SChiYuan Huang patch manageable device for single cell Li-Ion and Li-polymer battery. 8254a1a5f67SChiYuan Huang It can support BC12 detection on DPDM, and current and voltage 8264a1a5f67SChiYuan Huang regulation on both charging and boost mode. 8274a1a5f67SChiYuan Huang 8284a1a5f67SChiYuan Huang This driver can also be built as a module. If so, the module will be 8294a1a5f67SChiYuan Huang called rt9471. 8304a1a5f67SChiYuan Huang 831f68b883eSSameer Nandaconfig CHARGER_CROS_USBPD 832f68b883eSSameer Nanda tristate "ChromeOS EC based USBPD charger" 833f2437e48SJon Flatley depends on CROS_USBPD_NOTIFY 834f68b883eSSameer Nanda help 835f68b883eSSameer Nanda Say Y here to enable ChromeOS EC based USBPD charger 836f68b883eSSameer Nanda driver. This driver gets various bits of information about 837f68b883eSSameer Nanda what is connected to USB PD ports from the EC and converts 838f68b883eSSameer Nanda that into power_supply properties. 839f68b883eSSameer Nanda 84056d629afSDaisuke Nojiriconfig CHARGER_CROS_PCHG 84156d629afSDaisuke Nojiri tristate "ChromeOS EC based peripheral charger" 84256d629afSDaisuke Nojiri depends on MFD_CROS_EC_DEV 84356d629afSDaisuke Nojiri default MFD_CROS_EC_DEV 84456d629afSDaisuke Nojiri help 84556d629afSDaisuke Nojiri Say Y here to enable ChromeOS EC based peripheral charge driver. 84656d629afSDaisuke Nojiri This driver gets various information about the devices connected to 84756d629afSDaisuke Nojiri the peripheral charge ports from the EC and converts that into 84856d629afSDaisuke Nojiri power_supply properties. 84956d629afSDaisuke Nojiri 8501c3d7b03SBaolin Wangconfig CHARGER_SC2731 8511c3d7b03SBaolin Wang tristate "Spreadtrum SC2731 charger driver" 8521c3d7b03SBaolin Wang depends on MFD_SC27XX_PMIC || COMPILE_TEST 8531c3d7b03SBaolin Wang help 8541c3d7b03SBaolin Wang Say Y here to enable support for battery charging with SC2731 8551c3d7b03SBaolin Wang PMIC chips. 8561c3d7b03SBaolin Wang 857195ca170SBaolin Wangconfig FUEL_GAUGE_SC27XX 858195ca170SBaolin Wang tristate "Spreadtrum SC27XX fuel gauge driver" 859195ca170SBaolin Wang depends on MFD_SC27XX_PMIC || COMPILE_TEST 860ed60f43dSRandy Dunlap depends on IIO 861195ca170SBaolin Wang help 862195ca170SBaolin Wang Say Y here to enable support for fuel gauge with SC27XX 863195ca170SBaolin Wang PMIC chips. 864195ca170SBaolin Wang 8659a2688e4SAndrey Smirnovconfig CHARGER_UCS1002 8669a2688e4SAndrey Smirnov tristate "Microchip UCS1002 USB Port Power Controller" 8679a2688e4SAndrey Smirnov depends on I2C 8689a2688e4SAndrey Smirnov depends on OF 869c8f3c9feSYueHaibing depends on REGULATOR 8709a2688e4SAndrey Smirnov select REGMAP_I2C 8719a2688e4SAndrey Smirnov help 8729a2688e4SAndrey Smirnov Say Y to enable support for Microchip UCS1002 Programmable 8739a2688e4SAndrey Smirnov USB Port Power Controller with Charger Emulation. 8749a2688e4SAndrey Smirnov 8750902f836SMatti Vaittinenconfig CHARGER_BD99954 8760902f836SMatti Vaittinen tristate "ROHM bd99954 charger driver" 8770902f836SMatti Vaittinen depends on I2C 8780902f836SMatti Vaittinen select LINEAR_RANGES 8790902f836SMatti Vaittinen help 8800902f836SMatti Vaittinen Say Y here to enable support for getting battery and charger 8810902f836SMatti Vaittinen information and altering charger configurations from the ROHM 8820902f836SMatti Vaittinen BD99954 charger IC. 8830902f836SMatti Vaittinen 8843f57fe28SNick Crewsconfig CHARGER_WILCO 8853f57fe28SNick Crews tristate "Wilco EC based charger for ChromeOS" 8863f57fe28SNick Crews depends on WILCO_EC 8873f57fe28SNick Crews help 8883f57fe28SNick Crews Say Y here to enable control of the charging routines performed 8893f57fe28SNick Crews by the Embedded Controller on the Chromebook named Wilco. Further 8903f57fe28SNick Crews information can be found in 8913f57fe28SNick Crews Documentation/ABI/testing/sysfs-class-power-wilco 8923f57fe28SNick Crews 8931426dffaSAndreas Kemnadeconfig RN5T618_POWER 8941426dffaSAndreas Kemnade tristate "RN5T618 charger/fuel gauge support" 8951426dffaSAndreas Kemnade depends on MFD_RN5T618 8962f5caa26SAndreas Kemnade depends on RN5T618_ADC 8972f5caa26SAndreas Kemnade depends on IIO 8981426dffaSAndreas Kemnade help 8991426dffaSAndreas Kemnade Say Y here to have support for RN5T618 PMIC family fuel gauge and charger. 9001426dffaSAndreas Kemnade This driver can also be built as a module. If so, the module will be 9011426dffaSAndreas Kemnade called rn5t618_power. 9021426dffaSAndreas Kemnade 903c82a2fbeSDmitry Osipenkoconfig BATTERY_ACER_A500 904c82a2fbeSDmitry Osipenko tristate "Acer Iconia Tab A500 battery driver" 905c82a2fbeSDmitry Osipenko depends on MFD_ACER_A500_EC 906c82a2fbeSDmitry Osipenko help 907c82a2fbeSDmitry Osipenko Say Y to include support for Acer Iconia Tab A500 battery fuel gauge. 908c82a2fbeSDmitry Osipenko 909167f77f7SMaximilian Luzconfig BATTERY_SURFACE 910167f77f7SMaximilian Luz tristate "Battery driver for 7th-generation Microsoft Surface devices" 911167f77f7SMaximilian Luz depends on SURFACE_AGGREGATOR_REGISTRY 912167f77f7SMaximilian Luz help 913167f77f7SMaximilian Luz Driver for battery devices connected via/managed by the Surface System 914167f77f7SMaximilian Luz Aggregator Module (SSAM). 915167f77f7SMaximilian Luz 916167f77f7SMaximilian Luz This driver provides battery-information and -status support for 917167f77f7SMaximilian Luz Surface devices where said data is not exposed via the standard ACPI 918167f77f7SMaximilian Luz devices. On those models (7th-generation), battery-information is 919167f77f7SMaximilian Luz instead handled directly via SSAM client devices and this driver. 920167f77f7SMaximilian Luz 921167f77f7SMaximilian Luz Say M or Y here to include battery status support for 7th-generation 922167f77f7SMaximilian Luz Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3, 923167f77f7SMaximilian Luz Surface Book 3, and Surface Laptop Go. 924167f77f7SMaximilian Luz 925e61ffb34SMaximilian Luzconfig CHARGER_SURFACE 926e61ffb34SMaximilian Luz tristate "AC driver for 7th-generation Microsoft Surface devices" 927e61ffb34SMaximilian Luz depends on SURFACE_AGGREGATOR_REGISTRY 928e61ffb34SMaximilian Luz help 929e61ffb34SMaximilian Luz Driver for AC devices connected via/managed by the Surface System 930e61ffb34SMaximilian Luz Aggregator Module (SSAM). 931e61ffb34SMaximilian Luz 932e61ffb34SMaximilian Luz This driver provides AC-information and -status support for Surface 933e61ffb34SMaximilian Luz devices where said data is not exposed via the standard ACPI devices. 934e61ffb34SMaximilian Luz On those models (7th-generation), AC-information is instead handled 935e61ffb34SMaximilian Luz directly via a SSAM client device and this driver. 936e61ffb34SMaximilian Luz 937e61ffb34SMaximilian Luz Say M or Y here to include AC status support for 7th-generation 938e61ffb34SMaximilian Luz Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3, 939e61ffb34SMaximilian Luz Surface Book 3, and Surface Laptop Go. 940e61ffb34SMaximilian Luz 941f059b46eSHans de Goedeconfig BATTERY_UG3105 942f059b46eSHans de Goede tristate "uPI uG3105 battery monitor driver" 943f059b46eSHans de Goede depends on I2C 944f059b46eSHans de Goede help 945f059b46eSHans de Goede Battery monitor driver for the uPI uG3105 battery monitor. 946f059b46eSHans de Goede 947f059b46eSHans de Goede Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead 948f059b46eSHans de Goede it is expected to be use in combination with some always on 949f059b46eSHans de Goede microcontroller reading its coulomb-counter before it can wrap 950f059b46eSHans de Goede (it must be read every 400 seconds!). 951f059b46eSHans de Goede 952f059b46eSHans de Goede Since Linux does not monitor coulomb-counter changes while the 953f059b46eSHans de Goede device is off or suspended, the functionality of this driver is 954f059b46eSHans de Goede limited to reporting capacity only. 955f059b46eSHans de Goede 9568c0984e5SSebastian Reichelendif # POWER_SUPPLY 957