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 548c0984e5SSebastian Reichelconfig MAX8925_POWER 558c0984e5SSebastian Reichel tristate "MAX8925 battery charger support" 568c0984e5SSebastian Reichel depends on MFD_MAX8925 578c0984e5SSebastian Reichel help 588c0984e5SSebastian Reichel Say Y here to enable support for the battery charger in the Maxim 598c0984e5SSebastian Reichel MAX8925 PMIC. 608c0984e5SSebastian Reichel 618c0984e5SSebastian Reichelconfig WM831X_BACKUP 628c0984e5SSebastian Reichel tristate "WM831X backup battery charger support" 638c0984e5SSebastian Reichel depends on MFD_WM831X 648c0984e5SSebastian Reichel help 658c0984e5SSebastian Reichel Say Y here to enable support for the backup battery charger 668c0984e5SSebastian Reichel in the Wolfson Microelectronics WM831x PMICs. 678c0984e5SSebastian Reichel 688c0984e5SSebastian Reichelconfig WM831X_POWER 698c0984e5SSebastian Reichel tristate "WM831X PMU support" 708c0984e5SSebastian Reichel depends on MFD_WM831X 718c0984e5SSebastian Reichel help 728c0984e5SSebastian Reichel Say Y here to enable support for the power management unit 738c0984e5SSebastian Reichel provided by Wolfson Microelectronics WM831x PMICs. 748c0984e5SSebastian Reichel 758c0984e5SSebastian Reichelconfig WM8350_POWER 768c0984e5SSebastian Reichel tristate "WM8350 PMU support" 778c0984e5SSebastian Reichel depends on MFD_WM8350 788c0984e5SSebastian Reichel help 798c0984e5SSebastian Reichel Say Y here to enable support for the power management unit 808c0984e5SSebastian Reichel provided by the Wolfson Microelectronics WM8350 PMIC. 818c0984e5SSebastian Reichel 828c0984e5SSebastian Reichelconfig TEST_POWER 838c0984e5SSebastian Reichel tristate "Test power driver" 848c0984e5SSebastian Reichel help 858c0984e5SSebastian Reichel This driver is used for testing. It's safe to say M here. 868c0984e5SSebastian Reichel 878c0984e5SSebastian Reichelconfig BATTERY_88PM860X 888c0984e5SSebastian Reichel tristate "Marvell 88PM860x battery driver" 898c0984e5SSebastian Reichel depends on MFD_88PM860X 908c0984e5SSebastian Reichel help 918c0984e5SSebastian Reichel Say Y here to enable battery monitor for Marvell 88PM860x chip. 928c0984e5SSebastian Reichel 93fe8e81b7SStefan Popaconfig CHARGER_ADP5061 94fe8e81b7SStefan Popa tristate "ADP5061 battery charger driver" 95fe8e81b7SStefan Popa depends on I2C 96fe8e81b7SStefan Popa select REGMAP_I2C 97fe8e81b7SStefan Popa help 98fe8e81b7SStefan Popa Say Y here to enable support for the ADP5061 standalone battery 99fe8e81b7SStefan Popa charger. 100fe8e81b7SStefan Popa 101fe8e81b7SStefan Popa This driver can be built as a module. If so, the module will be 102fe8e81b7SStefan Popa called adp5061. 103fe8e81b7SStefan Popa 1048c0984e5SSebastian Reichelconfig BATTERY_ACT8945A 1058c0984e5SSebastian Reichel tristate "Active-semi ACT8945A charger driver" 1068c0984e5SSebastian Reichel depends on MFD_ACT8945A || COMPILE_TEST 1078c0984e5SSebastian Reichel help 1088c0984e5SSebastian Reichel Say Y here to enable support for power supply provided by 1098c0984e5SSebastian Reichel Active-semi ActivePath ACT8945A charger. 1108c0984e5SSebastian Reichel 111874b2adbSTony Lindgrenconfig BATTERY_CPCAP 112874b2adbSTony Lindgren tristate "Motorola CPCAP PMIC battery driver" 113874b2adbSTony Lindgren depends on MFD_CPCAP && IIO 114874b2adbSTony Lindgren default MFD_CPCAP 115874b2adbSTony Lindgren help 116874b2adbSTony Lindgren Say Y here to enable support for battery on Motorola 117874b2adbSTony Lindgren phones and tablets such as droid 4. 118874b2adbSTony Lindgren 119b4c7715cSTobias Schrammconfig BATTERY_CW2015 120b4c7715cSTobias Schramm tristate "CW2015 Battery driver" 121b4c7715cSTobias Schramm depends on I2C 122b4c7715cSTobias Schramm select REGMAP_I2C 123b4c7715cSTobias Schramm help 124b4c7715cSTobias Schramm Say Y here to enable support for the cellwise cw2015 125b4c7715cSTobias Schramm battery fuel gauge (used in the Pinebook Pro & others) 126b4c7715cSTobias Schramm 127b4c7715cSTobias Schramm This driver can also be built as a module. If so, the module will be 128b4c7715cSTobias Schramm called cw2015_battery. 129b4c7715cSTobias Schramm 1308c0984e5SSebastian Reichelconfig BATTERY_DS2760 1318c0984e5SSebastian Reichel tristate "DS2760 battery driver (HP iPAQ & others)" 132bf497355SDaniel Mack depends on W1 1338c0984e5SSebastian Reichel help 1348c0984e5SSebastian Reichel Say Y here to enable support for batteries with ds2760 chip. 1358c0984e5SSebastian Reichel 1368c0984e5SSebastian Reichelconfig BATTERY_DS2780 1378c0984e5SSebastian Reichel tristate "DS2780 battery driver" 1388c0984e5SSebastian Reichel depends on HAS_IOMEM 1398c0984e5SSebastian Reichel select W1 1408c0984e5SSebastian Reichel select W1_SLAVE_DS2780 1418c0984e5SSebastian Reichel help 1428c0984e5SSebastian Reichel Say Y here to enable support for batteries with ds2780 chip. 1438c0984e5SSebastian Reichel 1448c0984e5SSebastian Reichelconfig BATTERY_DS2781 1458c0984e5SSebastian Reichel tristate "DS2781 battery driver" 1468c0984e5SSebastian Reichel depends on HAS_IOMEM 1478c0984e5SSebastian Reichel select W1 1488c0984e5SSebastian Reichel select W1_SLAVE_DS2781 1498c0984e5SSebastian Reichel help 1508c0984e5SSebastian Reichel If you enable this you will have the DS2781 battery driver support. 1518c0984e5SSebastian Reichel 1528c0984e5SSebastian Reichel The battery monitor chip is used in many batteries/devices 1538c0984e5SSebastian Reichel as the one who is responsible for charging/discharging/monitoring 1548c0984e5SSebastian Reichel Li+ batteries. 1558c0984e5SSebastian Reichel 1568c0984e5SSebastian Reichel If you are unsure, say N. 1578c0984e5SSebastian Reichel 1588c0984e5SSebastian Reichelconfig BATTERY_DS2782 1598c0984e5SSebastian Reichel tristate "DS2782/DS2786 standalone gas-gauge" 1608c0984e5SSebastian Reichel depends on I2C 1618c0984e5SSebastian Reichel help 1628c0984e5SSebastian Reichel Say Y here to enable support for the DS2782/DS2786 standalone battery 1638c0984e5SSebastian Reichel gas-gauge. 1648c0984e5SSebastian Reichel 16553db8858SDavid Lechnerconfig BATTERY_LEGO_EV3 16653db8858SDavid Lechner tristate "LEGO MINDSTORMS EV3 battery" 1678fada2d4SAlex Dewar depends on OF && IIO && GPIOLIB && (ARCH_DAVINCI_DA850 || COMPILE_TEST) 16853db8858SDavid Lechner help 16953db8858SDavid Lechner Say Y here to enable support for the LEGO MINDSTORMS EV3 battery. 17053db8858SDavid Lechner 1718c0984e5SSebastian Reichelconfig BATTERY_PMU 1728c0984e5SSebastian Reichel tristate "Apple PMU battery" 1738c0984e5SSebastian Reichel depends on PPC32 && ADB_PMU 1748c0984e5SSebastian Reichel help 1758c0984e5SSebastian Reichel Say Y here to expose battery information on Apple machines 1768c0984e5SSebastian Reichel through the generic battery class. 1778c0984e5SSebastian Reichel 1788c0984e5SSebastian Reichelconfig BATTERY_OLPC 1798c0984e5SSebastian Reichel tristate "One Laptop Per Child battery" 180ef071babSLubomir Rintel depends on OLPC_EC 1818c0984e5SSebastian Reichel help 1828c0984e5SSebastian Reichel Say Y to enable support for the battery on the OLPC laptop. 1838c0984e5SSebastian Reichel 1848c0984e5SSebastian Reichelconfig BATTERY_TOSA 1858c0984e5SSebastian Reichel tristate "Sharp SL-6000 (tosa) battery" 1868c0984e5SSebastian Reichel depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX 1878c0984e5SSebastian Reichel help 1888c0984e5SSebastian Reichel Say Y to enable support for the battery on the Sharp Zaurus 1898c0984e5SSebastian Reichel SL-6000 (tosa) models. 1908c0984e5SSebastian Reichel 1918c0984e5SSebastian Reichelconfig BATTERY_COLLIE 1928c0984e5SSebastian Reichel tristate "Sharp SL-5500 (collie) battery" 1938c0984e5SSebastian Reichel depends on SA1100_COLLIE && MCP_UCB1200 1948c0984e5SSebastian Reichel help 1958c0984e5SSebastian Reichel Say Y to enable support for the battery on the Sharp Zaurus 1968c0984e5SSebastian Reichel SL-5500 (collie) models. 1978c0984e5SSebastian Reichel 198fb24ccfbSArtur Rojekconfig BATTERY_INGENIC 199fb24ccfbSArtur Rojek tristate "Ingenic JZ47xx SoCs battery driver" 200fb24ccfbSArtur Rojek depends on MIPS || COMPILE_TEST 201fb24ccfbSArtur Rojek depends on INGENIC_ADC 202fb24ccfbSArtur Rojek help 203fb24ccfbSArtur Rojek Choose this option if you want to monitor battery status on 204fb24ccfbSArtur Rojek Ingenic JZ47xx SoC based devices. 205fb24ccfbSArtur Rojek 206fb24ccfbSArtur Rojek This driver can also be built as a module. If so, the module will be 207fb24ccfbSArtur Rojek called ingenic-battery. 208fb24ccfbSArtur Rojek 2098c0984e5SSebastian Reichelconfig BATTERY_IPAQ_MICRO 2108c0984e5SSebastian Reichel tristate "iPAQ Atmel Micro ASIC battery driver" 2118c0984e5SSebastian Reichel depends on MFD_IPAQ_MICRO 2128c0984e5SSebastian Reichel help 2138c0984e5SSebastian Reichel Choose this option if you want to monitor battery status on 2148c0984e5SSebastian Reichel Compaq/HP iPAQ h3100 and h3600. 2158c0984e5SSebastian Reichel 2168c0984e5SSebastian Reichelconfig BATTERY_WM97XX 2178c0984e5SSebastian Reichel bool "WM97xx generic battery driver" 2188c0984e5SSebastian Reichel depends on TOUCHSCREEN_WM97XX=y 2198c0984e5SSebastian Reichel help 2208c0984e5SSebastian Reichel Say Y to enable support for battery measured by WM97xx aux port. 2218c0984e5SSebastian Reichel 2228c0984e5SSebastian Reichelconfig BATTERY_SBS 2238c0984e5SSebastian Reichel tristate "SBS Compliant gas gauge" 2248c0984e5SSebastian Reichel depends on I2C 2258c0984e5SSebastian Reichel help 2268c0984e5SSebastian Reichel Say Y to include support for SBS battery driver for SBS-compliant 2278c0984e5SSebastian Reichel gas gauges. 2288c0984e5SSebastian Reichel 229feb583e3SNicolas Saenz Julienneconfig CHARGER_SBS 230feb583e3SNicolas Saenz Julienne tristate "SBS Compliant charger" 231feb583e3SNicolas Saenz Julienne depends on I2C 232a4bdea20SRandy Dunlap select REGMAP_I2C 233feb583e3SNicolas Saenz Julienne help 23483fc61a5SMasanari Iida Say Y to include support for SBS compliant battery chargers. 235feb583e3SNicolas Saenz Julienne 236dbc4dedaSKarl-Heinz Schneiderconfig MANAGER_SBS 237dbc4dedaSKarl-Heinz Schneider tristate "Smart Battery System Manager" 238a0b8839eSPhil Reid depends on I2C && I2C_MUX && GPIOLIB 239a0b8839eSPhil Reid select I2C_SMBUS 240dbc4dedaSKarl-Heinz Schneider help 241dbc4dedaSKarl-Heinz Schneider Say Y here to include support for Smart Battery System Manager 242dbc4dedaSKarl-Heinz Schneider ICs. The driver reports online and charging status via sysfs. 243dbc4dedaSKarl-Heinz Schneider It presents itself also as I2C mux which allows to bind 244dbc4dedaSKarl-Heinz Schneider smart battery driver to its ports. 245dbc4dedaSKarl-Heinz Schneider Supported is for example LTC1760. 246dbc4dedaSKarl-Heinz Schneider 247dbc4dedaSKarl-Heinz Schneider This driver can also be built as a module. If so, the module will be 248dbc4dedaSKarl-Heinz Schneider called sbs-manager. 249dbc4dedaSKarl-Heinz Schneider 2508c0984e5SSebastian Reichelconfig BATTERY_BQ27XXX 2518c0984e5SSebastian Reichel tristate "BQ27xxx battery driver" 2528c0984e5SSebastian Reichel help 2538c0984e5SSebastian Reichel Say Y here to enable support for batteries with BQ27xxx chips. 2548c0984e5SSebastian Reichel 2558c0984e5SSebastian Reichelconfig BATTERY_BQ27XXX_I2C 2568c0984e5SSebastian Reichel tristate "BQ27xxx I2C support" 2578c0984e5SSebastian Reichel depends on BATTERY_BQ27XXX 2588c0984e5SSebastian Reichel depends on I2C 2598c0984e5SSebastian Reichel default y 2608c0984e5SSebastian Reichel help 2618c0984e5SSebastian Reichel Say Y here to enable support for batteries with BQ27xxx chips 2628c0984e5SSebastian Reichel connected over an I2C bus. 2638c0984e5SSebastian Reichel 26455a9db67SAndrew F. Davisconfig BATTERY_BQ27XXX_HDQ 26555a9db67SAndrew F. Davis tristate "BQ27xxx HDQ support" 26655a9db67SAndrew F. Davis depends on BATTERY_BQ27XXX 26755a9db67SAndrew F. Davis depends on W1 26855a9db67SAndrew F. Davis default y 26955a9db67SAndrew F. Davis help 27055a9db67SAndrew F. Davis Say Y here to enable support for batteries with BQ27xxx chips 27155a9db67SAndrew F. Davis connected over an HDQ bus. 27255a9db67SAndrew F. Davis 273ccce4409SLiam Breckconfig BATTERY_BQ27XXX_DT_UPDATES_NVM 274ccce4409SLiam Breck bool "BQ27xxx support for update of NVM/flash data memory" 275ccce4409SLiam Breck depends on BATTERY_BQ27XXX_I2C 276ccce4409SLiam Breck help 277ccce4409SLiam Breck Say Y here to enable devicetree monitored-battery config to update 278ccce4409SLiam Breck NVM/flash data memory. Only enable this option for devices with a 279ccce4409SLiam Breck fuel gauge mounted on the circuit board, and a battery that cannot 280ccce4409SLiam Breck easily be replaced with one of a different type. Not for 281ccce4409SLiam Breck general-purpose kernels, as this can cause misconfiguration of a 282ccce4409SLiam Breck smart battery with embedded NVM/flash. 283ccce4409SLiam Breck 2848c0984e5SSebastian Reichelconfig BATTERY_DA9030 2858c0984e5SSebastian Reichel tristate "DA9030 battery driver" 2868c0984e5SSebastian Reichel depends on PMIC_DA903X 2878c0984e5SSebastian Reichel help 2888c0984e5SSebastian Reichel Say Y here to enable support for batteries charger integrated into 2898c0984e5SSebastian Reichel DA9030 PMIC. 2908c0984e5SSebastian Reichel 2918c0984e5SSebastian Reichelconfig BATTERY_DA9052 2928c0984e5SSebastian Reichel tristate "Dialog DA9052 Battery" 2938c0984e5SSebastian Reichel depends on PMIC_DA9052 2948c0984e5SSebastian Reichel help 2958c0984e5SSebastian Reichel Say Y here to enable support for batteries charger integrated into 2968c0984e5SSebastian Reichel DA9052 PMIC. 2978c0984e5SSebastian Reichel 2988c0984e5SSebastian Reichelconfig CHARGER_DA9150 2998c0984e5SSebastian Reichel tristate "Dialog Semiconductor DA9150 Charger support" 3008c0984e5SSebastian Reichel depends on MFD_DA9150 3018c0984e5SSebastian Reichel depends on DA9150_GPADC 3028c0984e5SSebastian Reichel depends on IIO 3038c0984e5SSebastian Reichel help 3048c0984e5SSebastian Reichel Say Y here to enable support for charger unit of the DA9150 3058c0984e5SSebastian Reichel Integrated Charger & Fuel-Gauge IC. 3068c0984e5SSebastian Reichel 3078c0984e5SSebastian Reichel This driver can also be built as a module. If so, the module will be 3088c0984e5SSebastian Reichel called da9150-charger. 3098c0984e5SSebastian Reichel 3108c0984e5SSebastian Reichelconfig BATTERY_DA9150 3118c0984e5SSebastian Reichel tristate "Dialog Semiconductor DA9150 Fuel Gauge support" 3128c0984e5SSebastian Reichel depends on MFD_DA9150 3138c0984e5SSebastian Reichel help 3148c0984e5SSebastian Reichel Say Y here to enable support for the Fuel-Gauge unit of the DA9150 3158c0984e5SSebastian Reichel Integrated Charger & Fuel-Gauge IC 3168c0984e5SSebastian Reichel 3178c0984e5SSebastian Reichel This driver can also be built as a module. If so, the module will be 3188c0984e5SSebastian Reichel called da9150-fg. 3198c0984e5SSebastian Reichel 320744cc304SQuentin Schulzconfig CHARGER_AXP20X 321744cc304SQuentin Schulz tristate "X-Powers AXP20X and AXP22X AC power supply driver" 322744cc304SQuentin Schulz depends on MFD_AXP20X 323744cc304SQuentin Schulz depends on AXP20X_ADC 324744cc304SQuentin Schulz depends on IIO 325744cc304SQuentin Schulz help 326744cc304SQuentin Schulz Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC 327744cc304SQuentin Schulz power supply. 328744cc304SQuentin Schulz 329744cc304SQuentin Schulz This driver can also be built as a module. If so, the module will be 330744cc304SQuentin Schulz called axp20x_ac_power. 331744cc304SQuentin Schulz 33246c202b5SQuentin Schulzconfig BATTERY_AXP20X 33346c202b5SQuentin Schulz tristate "X-Powers AXP20X battery driver" 33446c202b5SQuentin Schulz depends on MFD_AXP20X 33546c202b5SQuentin Schulz depends on AXP20X_ADC 33646c202b5SQuentin Schulz depends on IIO 33746c202b5SQuentin Schulz help 33846c202b5SQuentin Schulz Say Y here to enable support for X-Powers AXP20X PMICs' battery power 33946c202b5SQuentin Schulz supply. 34046c202b5SQuentin Schulz 34146c202b5SQuentin Schulz This driver can also be built as a module. If so, the module will be 34246c202b5SQuentin Schulz called axp20x_battery. 34346c202b5SQuentin Schulz 3446254a6a9SArnd Bergmannconfig AXP20X_POWER 3456254a6a9SArnd Bergmann tristate "AXP20x power supply driver" 3466254a6a9SArnd Bergmann depends on MFD_AXP20X 3476254a6a9SArnd Bergmann depends on IIO 3486254a6a9SArnd Bergmann help 3496254a6a9SArnd Bergmann This driver provides support for the power supply features of 3506254a6a9SArnd Bergmann AXP20x PMIC. 3516254a6a9SArnd Bergmann 3528c0984e5SSebastian Reichelconfig AXP288_CHARGER 3538c0984e5SSebastian Reichel tristate "X-Powers AXP288 Charger" 3540b5a9135SHans de Goede depends on MFD_AXP20X && EXTCON_AXP288 && IOSF_MBI 3558c0984e5SSebastian Reichel help 3568c0984e5SSebastian Reichel Say yes here to have support X-Power AXP288 power management IC (PMIC) 3578c0984e5SSebastian Reichel integrated charger. 3588c0984e5SSebastian Reichel 3598c0984e5SSebastian Reichelconfig AXP288_FUEL_GAUGE 3608c0984e5SSebastian Reichel tristate "X-Powers AXP288 Fuel Gauge" 361394088f0SAndrejus Basovas depends on MFD_AXP20X && IIO && IOSF_MBI 3628c0984e5SSebastian Reichel help 3638c0984e5SSebastian Reichel Say yes here to have support for X-Power power management IC (PMIC) 3648c0984e5SSebastian Reichel Fuel Gauge. The device provides battery statistics and status 3658c0984e5SSebastian Reichel monitoring as well as alerts for battery over/under voltage and 3668c0984e5SSebastian Reichel over/under temperature. 3678c0984e5SSebastian Reichel 3688c0984e5SSebastian Reichelconfig BATTERY_MAX17040 36982ab575eSKrzysztof Kozlowski tristate "Maxim MAX17040/17041/17043 family Fuel Gauge" 3708c0984e5SSebastian Reichel depends on I2C 3716455a8a8SIskren Chernev select REGMAP_I2C 3728c0984e5SSebastian Reichel help 37382ab575eSKrzysztof Kozlowski Driver supports Maxim fuel-gauge systems for lithium-ion (Li+) 37482ab575eSKrzysztof Kozlowski batteries used mainly in handheld and portable equipment. 37582ab575eSKrzysztof Kozlowski Supported devices: max17040, max17041, max17043, max17044, max17048, 37682ab575eSKrzysztof Kozlowski max17049, max17058, max17059, max77836. 3774f7f8e87SIskren Chernev 3784f7f8e87SIskren Chernev Driver supports reporting SOC (State of Charge, i.e capacity), 3794f7f8e87SIskren Chernev voltage and configurable low-SOC wakeup interrupt. 3808c0984e5SSebastian Reichel 38182ab575eSKrzysztof Kozlowski Driver can be build as a module (max17040_battery). 38282ab575eSKrzysztof Kozlowski 3838c0984e5SSebastian Reichelconfig BATTERY_MAX17042 38440a2d98cSKrzysztof Kozlowski tristate "Maxim MAX17042/17047/17050/8997/8966 family Fuel Gauge" 3858c0984e5SSebastian Reichel depends on I2C 3868c0984e5SSebastian Reichel select REGMAP_I2C 3878c0984e5SSebastian Reichel help 3888c0984e5SSebastian Reichel MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries 3898c0984e5SSebastian Reichel in handheld and portable equipment. The MAX17042 is configured 3908c0984e5SSebastian Reichel to operate with a single lithium cell. MAX8997 and MAX8966 are 3918c0984e5SSebastian Reichel multi-function devices that include fuel gauages that are compatible 39240a2d98cSKrzysztof Kozlowski with MAX17042. 39340a2d98cSKrzysztof Kozlowski Supported devices: max8966, max8997, max17042, max17047, max17050, 39440a2d98cSKrzysztof Kozlowski max17055, max77693, max77849. 39540a2d98cSKrzysztof Kozlowski 39640a2d98cSKrzysztof Kozlowski Driver can be build as a module (max17042_battery). 3978c0984e5SSebastian Reichel 39810e48b7dSAlex A. Mihaylovconfig BATTERY_MAX1721X 39910e48b7dSAlex A. Mihaylov tristate "MAX17211/MAX17215 standalone gas-gauge" 40010e48b7dSAlex A. Mihaylov depends on W1 40110e48b7dSAlex A. Mihaylov select REGMAP_W1 40210e48b7dSAlex A. Mihaylov help 40310e48b7dSAlex A. Mihaylov MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries 40410e48b7dSAlex A. Mihaylov in handheld and portable equipment. MAX17211 used with single cell 40510e48b7dSAlex A. Mihaylov battery. MAX17215 designed for muticell battery. Both them have 40610e48b7dSAlex A. Mihaylov OneWire (W1) host interface. 40710e48b7dSAlex A. Mihaylov 40810e48b7dSAlex A. Mihaylov Say Y here to enable support for the MAX17211/MAX17215 standalone 40910e48b7dSAlex A. Mihaylov battery gas-gauge. 41010e48b7dSAlex A. Mihaylov 4118c0984e5SSebastian Reichelconfig BATTERY_Z2 4128c0984e5SSebastian Reichel tristate "Z2 battery driver" 4138c0984e5SSebastian Reichel depends on I2C && MACH_ZIPIT2 4148c0984e5SSebastian Reichel help 4158c0984e5SSebastian Reichel Say Y to include support for the battery on the Zipit Z2. 4168c0984e5SSebastian Reichel 4178c0984e5SSebastian Reichelconfig BATTERY_S3C_ADC 4188c0984e5SSebastian Reichel tristate "Battery driver for Samsung ADC based monitoring" 4198c0984e5SSebastian Reichel depends on S3C_ADC 4208c0984e5SSebastian Reichel help 4218c0984e5SSebastian Reichel Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery 4228c0984e5SSebastian Reichel 4238c0984e5SSebastian Reichelconfig BATTERY_TWL4030_MADC 4248c0984e5SSebastian Reichel tristate "TWL4030 MADC battery driver" 4258c0984e5SSebastian Reichel depends on TWL4030_MADC 4268c0984e5SSebastian Reichel help 4278c0984e5SSebastian Reichel Say Y here to enable this dumb driver for batteries managed 4288c0984e5SSebastian Reichel through the TWL4030 MADC. 4298c0984e5SSebastian Reichel 4308c0984e5SSebastian Reichelconfig CHARGER_88PM860X 4318c0984e5SSebastian Reichel tristate "Marvell 88PM860x Charger driver" 4328c0984e5SSebastian Reichel depends on MFD_88PM860X && BATTERY_88PM860X 4338c0984e5SSebastian Reichel help 4348c0984e5SSebastian Reichel Say Y here to enable charger for Marvell 88PM860x chip. 4358c0984e5SSebastian Reichel 4368c0984e5SSebastian Reichelconfig CHARGER_PCF50633 4378c0984e5SSebastian Reichel tristate "NXP PCF50633 MBC" 4388c0984e5SSebastian Reichel depends on MFD_PCF50633 4398c0984e5SSebastian Reichel help 4408c0984e5SSebastian Reichel Say Y to include support for NXP PCF50633 Main Battery Charger. 4418c0984e5SSebastian Reichel 4428c0984e5SSebastian Reichelconfig BATTERY_RX51 4438c0984e5SSebastian Reichel tristate "Nokia RX-51 (N900) battery driver" 4448c0984e5SSebastian Reichel depends on TWL4030_MADC 4458c0984e5SSebastian Reichel help 4468c0984e5SSebastian Reichel Say Y here to enable support for battery information on Nokia 4478c0984e5SSebastian Reichel RX-51, also known as N900 tablet. 4488c0984e5SSebastian Reichel 4490c9888e3STony Lindgrenconfig CHARGER_CPCAP 4500c9888e3STony Lindgren tristate "CPCAP PMIC Charger Driver" 4510c9888e3STony Lindgren depends on MFD_CPCAP && IIO 4528b35bf59SArnd Bergmann depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST) 4530c9888e3STony Lindgren default MFD_CPCAP 4540c9888e3STony Lindgren help 4550c9888e3STony Lindgren Say Y to enable support for CPCAP PMIC charger driver for Motorola 4560c9888e3STony Lindgren mobile devices such as Droid 4. 4570c9888e3STony Lindgren 4588c0984e5SSebastian Reichelconfig CHARGER_ISP1704 4598c0984e5SSebastian Reichel tristate "ISP1704 USB Charger Detection" 4608c0984e5SSebastian Reichel depends on USB_PHY 4618c0984e5SSebastian Reichel depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' 4628c0984e5SSebastian Reichel help 4638c0984e5SSebastian Reichel Say Y to enable support for USB Charger Detection with 4648c0984e5SSebastian Reichel ISP1707/ISP1704 USB transceivers. 4658c0984e5SSebastian Reichel 4668c0984e5SSebastian Reichelconfig CHARGER_MAX8903 4678c0984e5SSebastian Reichel tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power" 4688c0984e5SSebastian Reichel help 4698c0984e5SSebastian Reichel Say Y to enable support for the MAX8903 DC-DC charger and sysfs. 4708c0984e5SSebastian Reichel The driver supports controlling charger-enable and current-limit 4718c0984e5SSebastian Reichel pins based on the status of charger connections with interrupt 4728c0984e5SSebastian Reichel handlers. 4738c0984e5SSebastian Reichel 4748c0984e5SSebastian Reichelconfig CHARGER_TWL4030 4758c0984e5SSebastian Reichel tristate "OMAP TWL4030 BCI charger driver" 4768c0984e5SSebastian Reichel depends on IIO && TWL4030_CORE 4778c0984e5SSebastian Reichel help 4788c0984e5SSebastian Reichel Say Y here to enable support for TWL4030 Battery Charge Interface. 4798c0984e5SSebastian Reichel 4808c0984e5SSebastian Reichelconfig CHARGER_LP8727 4818c0984e5SSebastian Reichel tristate "TI/National Semiconductor LP8727 charger driver" 4828c0984e5SSebastian Reichel depends on I2C 4838c0984e5SSebastian Reichel help 4848c0984e5SSebastian Reichel Say Y here to enable support for LP8727 Charger Driver. 4858c0984e5SSebastian Reichel 4868c0984e5SSebastian Reichelconfig CHARGER_LP8788 4878c0984e5SSebastian Reichel tristate "TI LP8788 charger driver" 4888c0984e5SSebastian Reichel depends on MFD_LP8788 4898c0984e5SSebastian Reichel depends on LP8788_ADC 4908c0984e5SSebastian Reichel depends on IIO 4918c0984e5SSebastian Reichel help 4928c0984e5SSebastian Reichel Say Y to enable support for the LP8788 linear charger. 4938c0984e5SSebastian Reichel 4948c0984e5SSebastian Reichelconfig CHARGER_GPIO 4958c0984e5SSebastian Reichel tristate "GPIO charger" 4968c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 4978c0984e5SSebastian Reichel help 4988c0984e5SSebastian Reichel Say Y to include support for chargers which report their online status 4998c0984e5SSebastian Reichel through a GPIO pin. 5008c0984e5SSebastian Reichel 5018c0984e5SSebastian Reichel This driver can be build as a module. If so, the module will be 5028c0984e5SSebastian Reichel called gpio-charger. 5038c0984e5SSebastian Reichel 5048c0984e5SSebastian Reichelconfig CHARGER_MANAGER 505241eaabcSBaolin Wang tristate "Battery charger manager for multiple chargers" 5068c0984e5SSebastian Reichel depends on REGULATOR 5078c0984e5SSebastian Reichel select EXTCON 5088c0984e5SSebastian Reichel help 5098c0984e5SSebastian Reichel Say Y to enable charger-manager support, which allows multiple 5108c0984e5SSebastian Reichel chargers attached to a battery and multiple batteries attached to a 5118c0984e5SSebastian Reichel system. The charger-manager also can monitor charging status in 5128c0984e5SSebastian Reichel runtime and in suspend-to-RAM by waking up the system periodically 5138c0984e5SSebastian Reichel with help of suspend_again support. 5148c0984e5SSebastian Reichel 5152e220e6eSMichael Hennerichconfig CHARGER_LT3651 5162e220e6eSMichael Hennerich tristate "Analog Devices LT3651 charger" 517c94d4ed0SMike Looijmans depends on GPIOLIB 518c94d4ed0SMike Looijmans help 5192e220e6eSMichael Hennerich Say Y to include support for the Analog Devices (Linear Technology) 5202e220e6eSMichael Hennerich LT3651 battery charger which reports its status via GPIO lines. 521c94d4ed0SMike Looijmans 522cd900f18SMike Looijmansconfig CHARGER_LTC4162L 523cd900f18SMike Looijmans tristate "LTC4162-L charger" 524cd900f18SMike Looijmans depends on I2C 525cd900f18SMike Looijmans select REGMAP_I2C 526cd900f18SMike Looijmans help 527cd900f18SMike Looijmans Say Y to include support for the Analog Devices (Linear Technology) 528cd900f18SMike Looijmans LTC4162-L battery charger connected to I2C. 529cd900f18SMike Looijmans 5308c0984e5SSebastian Reichelconfig CHARGER_MAX14577 5318c0984e5SSebastian Reichel tristate "Maxim MAX14577/77836 battery charger driver" 5328c0984e5SSebastian Reichel depends on MFD_MAX14577 5338c0984e5SSebastian Reichel help 5348c0984e5SSebastian Reichel Say Y to enable support for the battery charger control sysfs and 5358c0984e5SSebastian Reichel platform data of MAX14577/77836 MUICs. 5368c0984e5SSebastian Reichel 5379d60595aSAlexander Kurzconfig CHARGER_DETECTOR_MAX14656 5389d60595aSAlexander Kurz tristate "Maxim MAX14656 USB charger detector" 5399d60595aSAlexander Kurz depends on I2C 5409d60595aSAlexander Kurz depends on OF 5419d60595aSAlexander Kurz help 5429d60595aSAlexander Kurz Say Y to enable support for the Maxim MAX14656 USB charger detector. 5439d60595aSAlexander Kurz The device is compliant with the USB Battery Charging Specification 5449d60595aSAlexander Kurz Revision 1.2 and can be found e.g. in Kindle 4/5th generation 5459d60595aSAlexander Kurz readers and certain LG devices. 5469d60595aSAlexander Kurz 547e85e17daSBartosz Golaszewskiconfig CHARGER_MAX77650 548e85e17daSBartosz Golaszewski tristate "Maxim MAX77650 battery charger driver" 549e85e17daSBartosz Golaszewski depends on MFD_MAX77650 550e85e17daSBartosz Golaszewski help 551e85e17daSBartosz Golaszewski Say Y to enable support for the battery charger control of MAX77650 552e85e17daSBartosz Golaszewski PMICs. 553e85e17daSBartosz Golaszewski 5548c0984e5SSebastian Reichelconfig CHARGER_MAX77693 5558c0984e5SSebastian Reichel tristate "Maxim MAX77693 battery charger driver" 5568c0984e5SSebastian Reichel depends on MFD_MAX77693 5578c0984e5SSebastian Reichel help 5588c0984e5SSebastian Reichel Say Y to enable support for the Maxim MAX77693 battery charger. 5598c0984e5SSebastian Reichel 560715ecbc1SLuca Ceresoliconfig CHARGER_MAX77976 561715ecbc1SLuca Ceresoli tristate "Maxim MAX77976 battery charger driver" 562715ecbc1SLuca Ceresoli depends on I2C 563715ecbc1SLuca Ceresoli select REGMAP_I2C 564715ecbc1SLuca Ceresoli help 565715ecbc1SLuca Ceresoli The Maxim MAX77976 is a 19 Vin, 5.5A 1-Cell Li+ Battery Charger 566715ecbc1SLuca Ceresoli USB OTG support. It has an I2C interface for configuration. 567715ecbc1SLuca Ceresoli 568715ecbc1SLuca Ceresoli Say Y to enable support for the Maxim MAX77976 battery charger. 569715ecbc1SLuca Ceresoli This driver can also be built as a module. If so, the module will be 570715ecbc1SLuca Ceresoli called max77976_charger. 571715ecbc1SLuca Ceresoli 5728c0984e5SSebastian Reichelconfig CHARGER_MAX8997 5738c0984e5SSebastian Reichel tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver" 5748c0984e5SSebastian Reichel depends on MFD_MAX8997 && REGULATOR_MAX8997 575f384989eSTimon Baetz depends on EXTCON || !EXTCON 5768c0984e5SSebastian Reichel help 5778c0984e5SSebastian Reichel Say Y to enable support for the battery charger control sysfs and 5788c0984e5SSebastian Reichel platform data of MAX8997/LP3974 PMICs. 5798c0984e5SSebastian Reichel 5808c0984e5SSebastian Reichelconfig CHARGER_MAX8998 5818c0984e5SSebastian Reichel tristate "Maxim MAX8998/LP3974 PMIC battery charger driver" 5828c0984e5SSebastian Reichel depends on MFD_MAX8998 && REGULATOR_MAX8998 5838c0984e5SSebastian Reichel help 5848c0984e5SSebastian Reichel Say Y to enable support for the battery charger control sysfs and 5858c0984e5SSebastian Reichel platform data of MAX8998/LP3974 PMICs. 5868c0984e5SSebastian Reichel 5873bc6d790SSaravanan Sekarconfig CHARGER_MP2629 5883bc6d790SSaravanan Sekar tristate "Monolithic power system MP2629 Battery charger" 5893bc6d790SSaravanan Sekar depends on MFD_MP2629 5903bc6d790SSaravanan Sekar depends on MP2629_ADC 5913bc6d790SSaravanan Sekar depends on IIO 5923bc6d790SSaravanan Sekar help 5933bc6d790SSaravanan Sekar Select this option to enable support for Monolithic power system 5943bc6d790SSaravanan Sekar Battery charger. This driver provides Battery charger power management 5953bc6d790SSaravanan Sekar functions on the systems. 5963bc6d790SSaravanan Sekar 5970402e8ebSGene Chenconfig CHARGER_MT6360 5980402e8ebSGene Chen tristate "Mediatek MT6360 Charger Driver" 5990402e8ebSGene Chen depends on MFD_MT6360 6000402e8ebSGene Chen depends on REGULATOR 6010402e8ebSGene Chen select LINEAR_RANGES 6020402e8ebSGene Chen help 6030402e8ebSGene Chen Say Y here to enable MT6360 Charger Part. 6040402e8ebSGene Chen The device supports High-Accuracy Voltage/Current Regulation, 6050402e8ebSGene Chen Average Input Current Regulation, Battery Temperature Sensing, 6060402e8ebSGene Chen Over-Temperature Protection, DPDM Detection for BC1.2. 6070402e8ebSGene Chen 6088c0984e5SSebastian Reichelconfig CHARGER_QCOM_SMBB 6098c0984e5SSebastian Reichel tristate "Qualcomm Switch-Mode Battery Charger and Boost" 6108c0984e5SSebastian Reichel depends on MFD_SPMI_PMIC || COMPILE_TEST 6118c0984e5SSebastian Reichel depends on OF 6128c0984e5SSebastian Reichel depends on EXTCON 61351962a35SArnd Bergmann depends on REGULATOR 6148c0984e5SSebastian Reichel help 6158c0984e5SSebastian Reichel Say Y to include support for the Switch-Mode Battery Charger and 6168c0984e5SSebastian Reichel Boost (SMBB) hardware found in Qualcomm PM8941 PMICs. The charger 6178c0984e5SSebastian Reichel is an integrated, single-cell lithium-ion battery charger. DT 6188c0984e5SSebastian Reichel configuration is required for loading, see the devicetree 6198c0984e5SSebastian Reichel documentation for more detail. The base name for this driver is 6208c0984e5SSebastian Reichel 'pm8941_charger'. 6218c0984e5SSebastian Reichel 6228c0984e5SSebastian Reichelconfig CHARGER_BQ2415X 6238c0984e5SSebastian Reichel tristate "TI BQ2415x battery charger driver" 6248c0984e5SSebastian Reichel depends on I2C 6258c0984e5SSebastian Reichel help 6268c0984e5SSebastian Reichel Say Y to enable support for the TI BQ2415x battery charger 6278c0984e5SSebastian Reichel PMICs. 6288c0984e5SSebastian Reichel 6298c0984e5SSebastian Reichel You'll need this driver to charge batteries on e.g. Nokia 6308c0984e5SSebastian Reichel RX-51/N900. 6318c0984e5SSebastian Reichel 6328c0984e5SSebastian Reichelconfig CHARGER_BQ24190 6338c0984e5SSebastian Reichel tristate "TI BQ24190 battery charger driver" 6348c0984e5SSebastian Reichel depends on I2C 635da26580fSHans de Goede depends on EXTCON 6368c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 6378c0984e5SSebastian Reichel help 6388c0984e5SSebastian Reichel Say Y to enable support for the TI BQ24190 battery charger. 6398c0984e5SSebastian Reichel 6408c0984e5SSebastian Reichelconfig CHARGER_BQ24257 6418c0984e5SSebastian Reichel tristate "TI BQ24250/24251/24257 battery charger driver" 6428c0984e5SSebastian Reichel depends on I2C 6438c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 64487c3d579SEnric Balletbo i Serra select REGMAP_I2C 6458c0984e5SSebastian Reichel help 6468c0984e5SSebastian Reichel Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery 6478c0984e5SSebastian Reichel chargers. 6488c0984e5SSebastian Reichel 6498c0984e5SSebastian Reichelconfig CHARGER_BQ24735 6508c0984e5SSebastian Reichel tristate "TI BQ24735 battery charger support" 6518c0984e5SSebastian Reichel depends on I2C 6528c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 6538c0984e5SSebastian Reichel help 6548c0984e5SSebastian Reichel Say Y to enable support for the TI BQ24735 battery charger. 6558c0984e5SSebastian Reichel 65644908459SRicardo Rivera-Matosconfig CHARGER_BQ2515X 65744908459SRicardo Rivera-Matos tristate "TI BQ2515X battery charger family" 65844908459SRicardo Rivera-Matos depends on I2C 65944908459SRicardo Rivera-Matos depends on GPIOLIB || COMPILE_TEST 66044908459SRicardo Rivera-Matos select REGMAP_I2C 66144908459SRicardo Rivera-Matos help 66244908459SRicardo Rivera-Matos Say Y to enable support for the TI BQ2515X family of battery 66344908459SRicardo Rivera-Matos charging integrated circuits. The BQ2515X are highly integrated 66444908459SRicardo Rivera-Matos battery charge management ICs that integrate the most common 66544908459SRicardo Rivera-Matos functions for wearable devices, namely a charger, an output voltage 66644908459SRicardo Rivera-Matos rail, ADC for battery and system monitoring, and push-button 66744908459SRicardo Rivera-Matos controller. 66844908459SRicardo Rivera-Matos 6698c0984e5SSebastian Reichelconfig CHARGER_BQ25890 6708c0984e5SSebastian Reichel tristate "TI BQ25890 battery charger driver" 6718c0984e5SSebastian Reichel depends on I2C 6728c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 6738c0984e5SSebastian Reichel select REGMAP_I2C 6748c0984e5SSebastian Reichel help 6758c0984e5SSebastian Reichel Say Y to enable support for the TI BQ25890 battery charger. 6768c0984e5SSebastian Reichel 6775069185fSDan Murphyconfig CHARGER_BQ25980 6785069185fSDan Murphy tristate "TI BQ25980 battery charger driver" 6795069185fSDan Murphy depends on I2C 6805069185fSDan Murphy depends on GPIOLIB || COMPILE_TEST 6815069185fSDan Murphy select REGMAP_I2C 6825069185fSDan Murphy help 6835069185fSDan Murphy Say Y to enable support for the TI BQ25980, BQ25975 and BQ25960 6845069185fSDan Murphy series of fast battery chargers. 6855069185fSDan Murphy 68632e4978bSRicardo Rivera-Matosconfig CHARGER_BQ256XX 68732e4978bSRicardo Rivera-Matos tristate "TI BQ256XX battery charger driver" 68832e4978bSRicardo Rivera-Matos depends on I2C 68932e4978bSRicardo Rivera-Matos depends on GPIOLIB || COMPILE_TEST 69032e4978bSRicardo Rivera-Matos select REGMAP_I2C 69132e4978bSRicardo Rivera-Matos help 69232e4978bSRicardo Rivera-Matos Say Y to enable support for the TI BQ256XX battery chargers. The 69332e4978bSRicardo Rivera-Matos BQ256XX family of devices are highly-integrated, switch-mode battery 69432e4978bSRicardo Rivera-Matos charge management and system power path management devices for single 69532e4978bSRicardo Rivera-Matos cell Li-ion and Li-polymer batteries. 69632e4978bSRicardo Rivera-Matos 6978c0984e5SSebastian Reichelconfig CHARGER_SMB347 698de76fd29SDavid Heidelberg tristate "Summit Microelectronics SMB3XX Battery Charger" 6998c0984e5SSebastian Reichel depends on I2C 700565efae9SDmitry Osipenko depends on REGULATOR 7018c0984e5SSebastian Reichel select REGMAP_I2C 7028c0984e5SSebastian Reichel help 703de76fd29SDavid Heidelberg Say Y to include support for Summit Microelectronics SMB345, 704de76fd29SDavid Heidelberg SMB347 or SMB358 Battery Charger. 7058c0984e5SSebastian Reichel 7068c0984e5SSebastian Reichelconfig CHARGER_TPS65090 7078c0984e5SSebastian Reichel tristate "TPS65090 battery charger driver" 7088c0984e5SSebastian Reichel depends on MFD_TPS65090 7098c0984e5SSebastian Reichel help 7108c0984e5SSebastian Reichel Say Y here to enable support for battery charging with TPS65090 7118c0984e5SSebastian Reichel PMIC chips. 7128c0984e5SSebastian Reichel 7138c0984e5SSebastian Reichelconfig CHARGER_TPS65217 7148c0984e5SSebastian Reichel tristate "TPS65217 battery charger driver" 7158c0984e5SSebastian Reichel depends on MFD_TPS65217 7168c0984e5SSebastian Reichel help 7178c0984e5SSebastian Reichel Say Y here to enable support for battery charging with TPS65217 7188c0984e5SSebastian Reichel PMIC chips. 7198c0984e5SSebastian Reichel 7208c0984e5SSebastian Reichelconfig BATTERY_GAUGE_LTC2941 7218c0984e5SSebastian Reichel tristate "LTC2941/LTC2943 Battery Gauge Driver" 7228c0984e5SSebastian Reichel depends on I2C 7238c0984e5SSebastian Reichel help 7248c0984e5SSebastian Reichel Say Y here to include support for LTC2941 and LTC2943 Battery 7258c0984e5SSebastian Reichel Gauge IC. The driver reports the charge count continuously, and 7268c0984e5SSebastian Reichel measures the voltage and temperature every 10 seconds. 7278c0984e5SSebastian Reichel 7288c0984e5SSebastian Reichelconfig AB8500_BM 7298c0984e5SSebastian Reichel bool "AB8500 Battery Management Driver" 73053207aa1SLinus Walleij depends on AB8500_CORE && AB8500_GPADC && (IIO = y) && OF 7318c0984e5SSebastian Reichel help 7328c0984e5SSebastian Reichel Say Y to include support for AB8500 battery management. 7338c0984e5SSebastian Reichel 7348c0984e5SSebastian Reichelconfig BATTERY_GOLDFISH 7358c0984e5SSebastian Reichel tristate "Goldfish battery driver" 7368c0984e5SSebastian Reichel depends on HAS_IOMEM 7378c0984e5SSebastian Reichel help 738570b7c0eSRoman Kiryanov Say Y to enable support for the Goldfish battery and AC power 739570b7c0eSRoman Kiryanov driver. Originated in the Android Studio Emulator (goldfish) it is 740570b7c0eSRoman Kiryanov going to be used in other emulators. 7418c0984e5SSebastian Reichel 7428c0984e5SSebastian Reichelconfig BATTERY_RT5033 7438c0984e5SSebastian Reichel tristate "RT5033 fuel gauge support" 744f3076cd8SStephan Gerhold depends on I2C 745f3076cd8SStephan Gerhold select REGMAP_I2C 7468c0984e5SSebastian Reichel help 7478c0984e5SSebastian Reichel This adds support for battery fuel gauge in Richtek RT5033 PMIC. 7488c0984e5SSebastian Reichel The fuelgauge calculates and determines the battery state of charge 7498c0984e5SSebastian Reichel according to battery open circuit voltage. 7508c0984e5SSebastian Reichel 7518c0984e5SSebastian Reichelconfig CHARGER_RT9455 7528c0984e5SSebastian Reichel tristate "Richtek RT9455 battery charger driver" 7538c0984e5SSebastian Reichel depends on I2C 7548c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 7558c0984e5SSebastian Reichel select REGMAP_I2C 7568c0984e5SSebastian Reichel help 7578c0984e5SSebastian Reichel Say Y to enable support for Richtek RT9455 battery charger. 7588c0984e5SSebastian Reichel 759f68b883eSSameer Nandaconfig CHARGER_CROS_USBPD 760f68b883eSSameer Nanda tristate "ChromeOS EC based USBPD charger" 761f2437e48SJon Flatley depends on CROS_USBPD_NOTIFY 762f68b883eSSameer Nanda help 763f68b883eSSameer Nanda Say Y here to enable ChromeOS EC based USBPD charger 764f68b883eSSameer Nanda driver. This driver gets various bits of information about 765f68b883eSSameer Nanda what is connected to USB PD ports from the EC and converts 766f68b883eSSameer Nanda that into power_supply properties. 767f68b883eSSameer Nanda 76856d629afSDaisuke Nojiriconfig CHARGER_CROS_PCHG 76956d629afSDaisuke Nojiri tristate "ChromeOS EC based peripheral charger" 77056d629afSDaisuke Nojiri depends on MFD_CROS_EC_DEV 77156d629afSDaisuke Nojiri default MFD_CROS_EC_DEV 77256d629afSDaisuke Nojiri help 77356d629afSDaisuke Nojiri Say Y here to enable ChromeOS EC based peripheral charge driver. 77456d629afSDaisuke Nojiri This driver gets various information about the devices connected to 77556d629afSDaisuke Nojiri the peripheral charge ports from the EC and converts that into 77656d629afSDaisuke Nojiri power_supply properties. 77756d629afSDaisuke Nojiri 7781c3d7b03SBaolin Wangconfig CHARGER_SC2731 7791c3d7b03SBaolin Wang tristate "Spreadtrum SC2731 charger driver" 7801c3d7b03SBaolin Wang depends on MFD_SC27XX_PMIC || COMPILE_TEST 7811c3d7b03SBaolin Wang help 7821c3d7b03SBaolin Wang Say Y here to enable support for battery charging with SC2731 7831c3d7b03SBaolin Wang PMIC chips. 7841c3d7b03SBaolin Wang 785195ca170SBaolin Wangconfig FUEL_GAUGE_SC27XX 786195ca170SBaolin Wang tristate "Spreadtrum SC27XX fuel gauge driver" 787195ca170SBaolin Wang depends on MFD_SC27XX_PMIC || COMPILE_TEST 788ed60f43dSRandy Dunlap depends on IIO 789195ca170SBaolin Wang help 790195ca170SBaolin Wang Say Y here to enable support for fuel gauge with SC27XX 791195ca170SBaolin Wang PMIC chips. 792195ca170SBaolin Wang 7939a2688e4SAndrey Smirnovconfig CHARGER_UCS1002 7949a2688e4SAndrey Smirnov tristate "Microchip UCS1002 USB Port Power Controller" 7959a2688e4SAndrey Smirnov depends on I2C 7969a2688e4SAndrey Smirnov depends on OF 797c8f3c9feSYueHaibing depends on REGULATOR 7989a2688e4SAndrey Smirnov select REGMAP_I2C 7999a2688e4SAndrey Smirnov help 8009a2688e4SAndrey Smirnov Say Y to enable support for Microchip UCS1002 Programmable 8019a2688e4SAndrey Smirnov USB Port Power Controller with Charger Emulation. 8029a2688e4SAndrey Smirnov 8030902f836SMatti Vaittinenconfig CHARGER_BD99954 8040902f836SMatti Vaittinen tristate "ROHM bd99954 charger driver" 8050902f836SMatti Vaittinen depends on I2C 8060902f836SMatti Vaittinen select LINEAR_RANGES 8070902f836SMatti Vaittinen help 8080902f836SMatti Vaittinen Say Y here to enable support for getting battery and charger 8090902f836SMatti Vaittinen information and altering charger configurations from the ROHM 8100902f836SMatti Vaittinen BD99954 charger IC. 8110902f836SMatti Vaittinen 8123f57fe28SNick Crewsconfig CHARGER_WILCO 8133f57fe28SNick Crews tristate "Wilco EC based charger for ChromeOS" 8143f57fe28SNick Crews depends on WILCO_EC 8153f57fe28SNick Crews help 8163f57fe28SNick Crews Say Y here to enable control of the charging routines performed 8173f57fe28SNick Crews by the Embedded Controller on the Chromebook named Wilco. Further 8183f57fe28SNick Crews information can be found in 8193f57fe28SNick Crews Documentation/ABI/testing/sysfs-class-power-wilco 8203f57fe28SNick Crews 8211426dffaSAndreas Kemnadeconfig RN5T618_POWER 8221426dffaSAndreas Kemnade tristate "RN5T618 charger/fuel gauge support" 8231426dffaSAndreas Kemnade depends on MFD_RN5T618 8242f5caa26SAndreas Kemnade depends on RN5T618_ADC 8252f5caa26SAndreas Kemnade depends on IIO 8261426dffaSAndreas Kemnade help 8271426dffaSAndreas Kemnade Say Y here to have support for RN5T618 PMIC family fuel gauge and charger. 8281426dffaSAndreas Kemnade This driver can also be built as a module. If so, the module will be 8291426dffaSAndreas Kemnade called rn5t618_power. 8301426dffaSAndreas Kemnade 831c82a2fbeSDmitry Osipenkoconfig BATTERY_ACER_A500 832c82a2fbeSDmitry Osipenko tristate "Acer Iconia Tab A500 battery driver" 833c82a2fbeSDmitry Osipenko depends on MFD_ACER_A500_EC 834c82a2fbeSDmitry Osipenko help 835c82a2fbeSDmitry Osipenko Say Y to include support for Acer Iconia Tab A500 battery fuel gauge. 836c82a2fbeSDmitry Osipenko 837167f77f7SMaximilian Luzconfig BATTERY_SURFACE 838167f77f7SMaximilian Luz tristate "Battery driver for 7th-generation Microsoft Surface devices" 839167f77f7SMaximilian Luz depends on SURFACE_AGGREGATOR_REGISTRY 840167f77f7SMaximilian Luz help 841167f77f7SMaximilian Luz Driver for battery devices connected via/managed by the Surface System 842167f77f7SMaximilian Luz Aggregator Module (SSAM). 843167f77f7SMaximilian Luz 844167f77f7SMaximilian Luz This driver provides battery-information and -status support for 845167f77f7SMaximilian Luz Surface devices where said data is not exposed via the standard ACPI 846167f77f7SMaximilian Luz devices. On those models (7th-generation), battery-information is 847167f77f7SMaximilian Luz instead handled directly via SSAM client devices and this driver. 848167f77f7SMaximilian Luz 849167f77f7SMaximilian Luz Say M or Y here to include battery status support for 7th-generation 850167f77f7SMaximilian Luz Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3, 851167f77f7SMaximilian Luz Surface Book 3, and Surface Laptop Go. 852167f77f7SMaximilian Luz 853e61ffb34SMaximilian Luzconfig CHARGER_SURFACE 854e61ffb34SMaximilian Luz tristate "AC driver for 7th-generation Microsoft Surface devices" 855e61ffb34SMaximilian Luz depends on SURFACE_AGGREGATOR_REGISTRY 856e61ffb34SMaximilian Luz help 857e61ffb34SMaximilian Luz Driver for AC devices connected via/managed by the Surface System 858e61ffb34SMaximilian Luz Aggregator Module (SSAM). 859e61ffb34SMaximilian Luz 860e61ffb34SMaximilian Luz This driver provides AC-information and -status support for Surface 861e61ffb34SMaximilian Luz devices where said data is not exposed via the standard ACPI devices. 862e61ffb34SMaximilian Luz On those models (7th-generation), AC-information is instead handled 863e61ffb34SMaximilian Luz directly via a SSAM client device and this driver. 864e61ffb34SMaximilian Luz 865e61ffb34SMaximilian Luz Say M or Y here to include AC status support for 7th-generation 866e61ffb34SMaximilian Luz Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3, 867e61ffb34SMaximilian Luz Surface Book 3, and Surface Laptop Go. 868e61ffb34SMaximilian Luz 869*f059b46eSHans de Goedeconfig BATTERY_UG3105 870*f059b46eSHans de Goede tristate "uPI uG3105 battery monitor driver" 871*f059b46eSHans de Goede depends on I2C 872*f059b46eSHans de Goede help 873*f059b46eSHans de Goede Battery monitor driver for the uPI uG3105 battery monitor. 874*f059b46eSHans de Goede 875*f059b46eSHans de Goede Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead 876*f059b46eSHans de Goede it is expected to be use in combination with some always on 877*f059b46eSHans de Goede microcontroller reading its coulomb-counter before it can wrap 878*f059b46eSHans de Goede (it must be read every 400 seconds!). 879*f059b46eSHans de Goede 880*f059b46eSHans de Goede Since Linux does not monitor coulomb-counter changes while the 881*f059b46eSHans de Goede device is off or suspended, the functionality of this driver is 882*f059b46eSHans de Goede limited to reporting capacity only. 883*f059b46eSHans de Goede 8848c0984e5SSebastian Reichelendif # POWER_SUPPLY 885