1*ec8f24b7SThomas 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 188c0984e5SSebastian Reichelconfig PDA_POWER 198c0984e5SSebastian Reichel tristate "Generic PDA/phone power driver" 208c0984e5SSebastian Reichel depends on !S390 218c0984e5SSebastian Reichel help 228c0984e5SSebastian Reichel Say Y here to enable generic power driver for PDAs and phones with 238c0984e5SSebastian Reichel one or two external power supplies (AC/USB) connected to main and 248c0984e5SSebastian Reichel backup batteries, and optional builtin charger. 258c0984e5SSebastian Reichel 268c0984e5SSebastian Reichelconfig APM_POWER 278c0984e5SSebastian Reichel tristate "APM emulation for class batteries" 288c0984e5SSebastian Reichel depends on APM_EMULATION 298c0984e5SSebastian Reichel help 308c0984e5SSebastian Reichel Say Y here to enable support APM status emulation using 318c0984e5SSebastian Reichel battery class devices. 328c0984e5SSebastian Reichel 338c0984e5SSebastian Reichelconfig GENERIC_ADC_BATTERY 348c0984e5SSebastian Reichel tristate "Generic battery support using IIO" 358c0984e5SSebastian Reichel depends on IIO 368c0984e5SSebastian Reichel help 378c0984e5SSebastian Reichel Say Y here to enable support for the generic battery driver 388c0984e5SSebastian Reichel which uses IIO framework to read adc. 398c0984e5SSebastian Reichel 408c0984e5SSebastian Reichelconfig MAX8925_POWER 418c0984e5SSebastian Reichel tristate "MAX8925 battery charger support" 428c0984e5SSebastian Reichel depends on MFD_MAX8925 438c0984e5SSebastian Reichel help 448c0984e5SSebastian Reichel Say Y here to enable support for the battery charger in the Maxim 458c0984e5SSebastian Reichel MAX8925 PMIC. 468c0984e5SSebastian Reichel 478c0984e5SSebastian Reichelconfig WM831X_BACKUP 488c0984e5SSebastian Reichel tristate "WM831X backup battery charger support" 498c0984e5SSebastian Reichel depends on MFD_WM831X 508c0984e5SSebastian Reichel help 518c0984e5SSebastian Reichel Say Y here to enable support for the backup battery charger 528c0984e5SSebastian Reichel in the Wolfson Microelectronics WM831x PMICs. 538c0984e5SSebastian Reichel 548c0984e5SSebastian Reichelconfig WM831X_POWER 558c0984e5SSebastian Reichel tristate "WM831X PMU support" 568c0984e5SSebastian Reichel depends on MFD_WM831X 578c0984e5SSebastian Reichel help 588c0984e5SSebastian Reichel Say Y here to enable support for the power management unit 598c0984e5SSebastian Reichel provided by Wolfson Microelectronics WM831x PMICs. 608c0984e5SSebastian Reichel 618c0984e5SSebastian Reichelconfig WM8350_POWER 628c0984e5SSebastian Reichel tristate "WM8350 PMU support" 638c0984e5SSebastian Reichel depends on MFD_WM8350 648c0984e5SSebastian Reichel help 658c0984e5SSebastian Reichel Say Y here to enable support for the power management unit 668c0984e5SSebastian Reichel provided by the Wolfson Microelectronics WM8350 PMIC. 678c0984e5SSebastian Reichel 688c0984e5SSebastian Reichelconfig TEST_POWER 698c0984e5SSebastian Reichel tristate "Test power driver" 708c0984e5SSebastian Reichel help 718c0984e5SSebastian Reichel This driver is used for testing. It's safe to say M here. 728c0984e5SSebastian Reichel 738c0984e5SSebastian Reichelconfig BATTERY_88PM860X 748c0984e5SSebastian Reichel tristate "Marvell 88PM860x battery driver" 758c0984e5SSebastian Reichel depends on MFD_88PM860X 768c0984e5SSebastian Reichel help 778c0984e5SSebastian Reichel Say Y here to enable battery monitor for Marvell 88PM860x chip. 788c0984e5SSebastian Reichel 79fe8e81b7SStefan Popaconfig CHARGER_ADP5061 80fe8e81b7SStefan Popa tristate "ADP5061 battery charger driver" 81fe8e81b7SStefan Popa depends on I2C 82fe8e81b7SStefan Popa select REGMAP_I2C 83fe8e81b7SStefan Popa help 84fe8e81b7SStefan Popa Say Y here to enable support for the ADP5061 standalone battery 85fe8e81b7SStefan Popa charger. 86fe8e81b7SStefan Popa 87fe8e81b7SStefan Popa This driver can be built as a module. If so, the module will be 88fe8e81b7SStefan Popa called adp5061. 89fe8e81b7SStefan Popa 908c0984e5SSebastian Reichelconfig BATTERY_ACT8945A 918c0984e5SSebastian Reichel tristate "Active-semi ACT8945A charger driver" 928c0984e5SSebastian Reichel depends on MFD_ACT8945A || COMPILE_TEST 938c0984e5SSebastian Reichel help 948c0984e5SSebastian Reichel Say Y here to enable support for power supply provided by 958c0984e5SSebastian Reichel Active-semi ActivePath ACT8945A charger. 968c0984e5SSebastian Reichel 97874b2adbSTony Lindgrenconfig BATTERY_CPCAP 98874b2adbSTony Lindgren tristate "Motorola CPCAP PMIC battery driver" 99874b2adbSTony Lindgren depends on MFD_CPCAP && IIO 100874b2adbSTony Lindgren default MFD_CPCAP 101874b2adbSTony Lindgren help 102874b2adbSTony Lindgren Say Y here to enable support for battery on Motorola 103874b2adbSTony Lindgren phones and tablets such as droid 4. 104874b2adbSTony Lindgren 1058c0984e5SSebastian Reichelconfig BATTERY_DS2760 1068c0984e5SSebastian Reichel tristate "DS2760 battery driver (HP iPAQ & others)" 107bf497355SDaniel Mack depends on W1 1088c0984e5SSebastian Reichel help 1098c0984e5SSebastian Reichel Say Y here to enable support for batteries with ds2760 chip. 1108c0984e5SSebastian Reichel 1118c0984e5SSebastian Reichelconfig BATTERY_DS2780 1128c0984e5SSebastian Reichel tristate "DS2780 battery driver" 1138c0984e5SSebastian Reichel depends on HAS_IOMEM 1148c0984e5SSebastian Reichel select W1 1158c0984e5SSebastian Reichel select W1_SLAVE_DS2780 1168c0984e5SSebastian Reichel help 1178c0984e5SSebastian Reichel Say Y here to enable support for batteries with ds2780 chip. 1188c0984e5SSebastian Reichel 1198c0984e5SSebastian Reichelconfig BATTERY_DS2781 1208c0984e5SSebastian Reichel tristate "DS2781 battery driver" 1218c0984e5SSebastian Reichel depends on HAS_IOMEM 1228c0984e5SSebastian Reichel select W1 1238c0984e5SSebastian Reichel select W1_SLAVE_DS2781 1248c0984e5SSebastian Reichel help 1258c0984e5SSebastian Reichel If you enable this you will have the DS2781 battery driver support. 1268c0984e5SSebastian Reichel 1278c0984e5SSebastian Reichel The battery monitor chip is used in many batteries/devices 1288c0984e5SSebastian Reichel as the one who is responsible for charging/discharging/monitoring 1298c0984e5SSebastian Reichel Li+ batteries. 1308c0984e5SSebastian Reichel 1318c0984e5SSebastian Reichel If you are unsure, say N. 1328c0984e5SSebastian Reichel 1338c0984e5SSebastian Reichelconfig BATTERY_DS2782 1348c0984e5SSebastian Reichel tristate "DS2782/DS2786 standalone gas-gauge" 1358c0984e5SSebastian Reichel depends on I2C 1368c0984e5SSebastian Reichel help 1378c0984e5SSebastian Reichel Say Y here to enable support for the DS2782/DS2786 standalone battery 1388c0984e5SSebastian Reichel gas-gauge. 1398c0984e5SSebastian Reichel 14053db8858SDavid Lechnerconfig BATTERY_LEGO_EV3 14153db8858SDavid Lechner tristate "LEGO MINDSTORMS EV3 battery" 14253db8858SDavid Lechner depends on OF && IIO && GPIOLIB 14353db8858SDavid Lechner help 14453db8858SDavid Lechner Say Y here to enable support for the LEGO MINDSTORMS EV3 battery. 14553db8858SDavid Lechner 1468c0984e5SSebastian Reichelconfig BATTERY_PMU 1478c0984e5SSebastian Reichel tristate "Apple PMU battery" 1488c0984e5SSebastian Reichel depends on PPC32 && ADB_PMU 1498c0984e5SSebastian Reichel help 1508c0984e5SSebastian Reichel Say Y here to expose battery information on Apple machines 1518c0984e5SSebastian Reichel through the generic battery class. 1528c0984e5SSebastian Reichel 1538c0984e5SSebastian Reichelconfig BATTERY_OLPC 1548c0984e5SSebastian Reichel tristate "One Laptop Per Child battery" 1558c0984e5SSebastian Reichel depends on X86_32 && OLPC 1568c0984e5SSebastian Reichel help 1578c0984e5SSebastian Reichel Say Y to enable support for the battery on the OLPC laptop. 1588c0984e5SSebastian Reichel 1598c0984e5SSebastian Reichelconfig BATTERY_TOSA 1608c0984e5SSebastian Reichel tristate "Sharp SL-6000 (tosa) battery" 1618c0984e5SSebastian Reichel depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX 1628c0984e5SSebastian Reichel help 1638c0984e5SSebastian Reichel Say Y to enable support for the battery on the Sharp Zaurus 1648c0984e5SSebastian Reichel SL-6000 (tosa) models. 1658c0984e5SSebastian Reichel 1668c0984e5SSebastian Reichelconfig BATTERY_COLLIE 1678c0984e5SSebastian Reichel tristate "Sharp SL-5500 (collie) battery" 1688c0984e5SSebastian Reichel depends on SA1100_COLLIE && MCP_UCB1200 1698c0984e5SSebastian Reichel help 1708c0984e5SSebastian Reichel Say Y to enable support for the battery on the Sharp Zaurus 1718c0984e5SSebastian Reichel SL-5500 (collie) models. 1728c0984e5SSebastian Reichel 173fb24ccfbSArtur Rojekconfig BATTERY_INGENIC 174fb24ccfbSArtur Rojek tristate "Ingenic JZ47xx SoCs battery driver" 175fb24ccfbSArtur Rojek depends on MIPS || COMPILE_TEST 176fb24ccfbSArtur Rojek depends on INGENIC_ADC 177fb24ccfbSArtur Rojek help 178fb24ccfbSArtur Rojek Choose this option if you want to monitor battery status on 179fb24ccfbSArtur Rojek Ingenic JZ47xx SoC based devices. 180fb24ccfbSArtur Rojek 181fb24ccfbSArtur Rojek This driver can also be built as a module. If so, the module will be 182fb24ccfbSArtur Rojek called ingenic-battery. 183fb24ccfbSArtur Rojek 1848c0984e5SSebastian Reichelconfig BATTERY_IPAQ_MICRO 1858c0984e5SSebastian Reichel tristate "iPAQ Atmel Micro ASIC battery driver" 1868c0984e5SSebastian Reichel depends on MFD_IPAQ_MICRO 1878c0984e5SSebastian Reichel help 1888c0984e5SSebastian Reichel Choose this option if you want to monitor battery status on 1898c0984e5SSebastian Reichel Compaq/HP iPAQ h3100 and h3600. 1908c0984e5SSebastian Reichel 1918c0984e5SSebastian Reichelconfig BATTERY_WM97XX 1928c0984e5SSebastian Reichel bool "WM97xx generic battery driver" 1938c0984e5SSebastian Reichel depends on TOUCHSCREEN_WM97XX=y 1948c0984e5SSebastian Reichel help 1958c0984e5SSebastian Reichel Say Y to enable support for battery measured by WM97xx aux port. 1968c0984e5SSebastian Reichel 1978c0984e5SSebastian Reichelconfig BATTERY_SBS 1988c0984e5SSebastian Reichel tristate "SBS Compliant gas gauge" 1998c0984e5SSebastian Reichel depends on I2C 2008c0984e5SSebastian Reichel help 2018c0984e5SSebastian Reichel Say Y to include support for SBS battery driver for SBS-compliant 2028c0984e5SSebastian Reichel gas gauges. 2038c0984e5SSebastian Reichel 204feb583e3SNicolas Saenz Julienneconfig CHARGER_SBS 205feb583e3SNicolas Saenz Julienne tristate "SBS Compliant charger" 206feb583e3SNicolas Saenz Julienne depends on I2C 207feb583e3SNicolas Saenz Julienne help 20883fc61a5SMasanari Iida Say Y to include support for SBS compliant battery chargers. 209feb583e3SNicolas Saenz Julienne 210dbc4dedaSKarl-Heinz Schneiderconfig MANAGER_SBS 211dbc4dedaSKarl-Heinz Schneider tristate "Smart Battery System Manager" 212a0b8839eSPhil Reid depends on I2C && I2C_MUX && GPIOLIB 213a0b8839eSPhil Reid select I2C_SMBUS 214dbc4dedaSKarl-Heinz Schneider help 215dbc4dedaSKarl-Heinz Schneider Say Y here to include support for Smart Battery System Manager 216dbc4dedaSKarl-Heinz Schneider ICs. The driver reports online and charging status via sysfs. 217dbc4dedaSKarl-Heinz Schneider It presents itself also as I2C mux which allows to bind 218dbc4dedaSKarl-Heinz Schneider smart battery driver to its ports. 219dbc4dedaSKarl-Heinz Schneider Supported is for example LTC1760. 220dbc4dedaSKarl-Heinz Schneider 221dbc4dedaSKarl-Heinz Schneider This driver can also be built as a module. If so, the module will be 222dbc4dedaSKarl-Heinz Schneider called sbs-manager. 223dbc4dedaSKarl-Heinz Schneider 2248c0984e5SSebastian Reichelconfig BATTERY_BQ27XXX 2258c0984e5SSebastian Reichel tristate "BQ27xxx battery driver" 2268c0984e5SSebastian Reichel help 2278c0984e5SSebastian Reichel Say Y here to enable support for batteries with BQ27xxx chips. 2288c0984e5SSebastian Reichel 2298c0984e5SSebastian Reichelconfig BATTERY_BQ27XXX_I2C 2308c0984e5SSebastian Reichel tristate "BQ27xxx I2C support" 2318c0984e5SSebastian Reichel depends on BATTERY_BQ27XXX 2328c0984e5SSebastian Reichel depends on I2C 2338c0984e5SSebastian Reichel default y 2348c0984e5SSebastian Reichel help 2358c0984e5SSebastian Reichel Say Y here to enable support for batteries with BQ27xxx chips 2368c0984e5SSebastian Reichel connected over an I2C bus. 2378c0984e5SSebastian Reichel 23855a9db67SAndrew F. Davisconfig BATTERY_BQ27XXX_HDQ 23955a9db67SAndrew F. Davis tristate "BQ27xxx HDQ support" 24055a9db67SAndrew F. Davis depends on BATTERY_BQ27XXX 24155a9db67SAndrew F. Davis depends on W1 24255a9db67SAndrew F. Davis default y 24355a9db67SAndrew F. Davis help 24455a9db67SAndrew F. Davis Say Y here to enable support for batteries with BQ27xxx chips 24555a9db67SAndrew F. Davis connected over an HDQ bus. 24655a9db67SAndrew F. Davis 247ccce4409SLiam Breckconfig BATTERY_BQ27XXX_DT_UPDATES_NVM 248ccce4409SLiam Breck bool "BQ27xxx support for update of NVM/flash data memory" 249ccce4409SLiam Breck depends on BATTERY_BQ27XXX_I2C 250ccce4409SLiam Breck help 251ccce4409SLiam Breck Say Y here to enable devicetree monitored-battery config to update 252ccce4409SLiam Breck NVM/flash data memory. Only enable this option for devices with a 253ccce4409SLiam Breck fuel gauge mounted on the circuit board, and a battery that cannot 254ccce4409SLiam Breck easily be replaced with one of a different type. Not for 255ccce4409SLiam Breck general-purpose kernels, as this can cause misconfiguration of a 256ccce4409SLiam Breck smart battery with embedded NVM/flash. 257ccce4409SLiam Breck 2588c0984e5SSebastian Reichelconfig BATTERY_DA9030 2598c0984e5SSebastian Reichel tristate "DA9030 battery driver" 2608c0984e5SSebastian Reichel depends on PMIC_DA903X 2618c0984e5SSebastian Reichel help 2628c0984e5SSebastian Reichel Say Y here to enable support for batteries charger integrated into 2638c0984e5SSebastian Reichel DA9030 PMIC. 2648c0984e5SSebastian Reichel 2658c0984e5SSebastian Reichelconfig BATTERY_DA9052 2668c0984e5SSebastian Reichel tristate "Dialog DA9052 Battery" 2678c0984e5SSebastian Reichel depends on PMIC_DA9052 2688c0984e5SSebastian Reichel help 2698c0984e5SSebastian Reichel Say Y here to enable support for batteries charger integrated into 2708c0984e5SSebastian Reichel DA9052 PMIC. 2718c0984e5SSebastian Reichel 2728c0984e5SSebastian Reichelconfig CHARGER_DA9150 2738c0984e5SSebastian Reichel tristate "Dialog Semiconductor DA9150 Charger support" 2748c0984e5SSebastian Reichel depends on MFD_DA9150 2758c0984e5SSebastian Reichel depends on DA9150_GPADC 2768c0984e5SSebastian Reichel depends on IIO 2778c0984e5SSebastian Reichel help 2788c0984e5SSebastian Reichel Say Y here to enable support for charger unit of the DA9150 2798c0984e5SSebastian Reichel Integrated Charger & Fuel-Gauge IC. 2808c0984e5SSebastian Reichel 2818c0984e5SSebastian Reichel This driver can also be built as a module. If so, the module will be 2828c0984e5SSebastian Reichel called da9150-charger. 2838c0984e5SSebastian Reichel 2848c0984e5SSebastian Reichelconfig BATTERY_DA9150 2858c0984e5SSebastian Reichel tristate "Dialog Semiconductor DA9150 Fuel Gauge support" 2868c0984e5SSebastian Reichel depends on MFD_DA9150 2878c0984e5SSebastian Reichel help 2888c0984e5SSebastian Reichel Say Y here to enable support for the Fuel-Gauge unit of the DA9150 2898c0984e5SSebastian Reichel Integrated Charger & Fuel-Gauge IC 2908c0984e5SSebastian Reichel 2918c0984e5SSebastian Reichel This driver can also be built as a module. If so, the module will be 2928c0984e5SSebastian Reichel called da9150-fg. 2938c0984e5SSebastian Reichel 294744cc304SQuentin Schulzconfig CHARGER_AXP20X 295744cc304SQuentin Schulz tristate "X-Powers AXP20X and AXP22X AC power supply driver" 296744cc304SQuentin Schulz depends on MFD_AXP20X 297744cc304SQuentin Schulz depends on AXP20X_ADC 298744cc304SQuentin Schulz depends on IIO 299744cc304SQuentin Schulz help 300744cc304SQuentin Schulz Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC 301744cc304SQuentin Schulz power supply. 302744cc304SQuentin Schulz 303744cc304SQuentin Schulz This driver can also be built as a module. If so, the module will be 304744cc304SQuentin Schulz called axp20x_ac_power. 305744cc304SQuentin Schulz 30646c202b5SQuentin Schulzconfig BATTERY_AXP20X 30746c202b5SQuentin Schulz tristate "X-Powers AXP20X battery driver" 30846c202b5SQuentin Schulz depends on MFD_AXP20X 30946c202b5SQuentin Schulz depends on AXP20X_ADC 31046c202b5SQuentin Schulz depends on IIO 31146c202b5SQuentin Schulz help 31246c202b5SQuentin Schulz Say Y here to enable support for X-Powers AXP20X PMICs' battery power 31346c202b5SQuentin Schulz supply. 31446c202b5SQuentin Schulz 31546c202b5SQuentin Schulz This driver can also be built as a module. If so, the module will be 31646c202b5SQuentin Schulz called axp20x_battery. 31746c202b5SQuentin Schulz 3186254a6a9SArnd Bergmannconfig AXP20X_POWER 3196254a6a9SArnd Bergmann tristate "AXP20x power supply driver" 3206254a6a9SArnd Bergmann depends on MFD_AXP20X 3216254a6a9SArnd Bergmann depends on IIO 3226254a6a9SArnd Bergmann help 3236254a6a9SArnd Bergmann This driver provides support for the power supply features of 3246254a6a9SArnd Bergmann AXP20x PMIC. 3256254a6a9SArnd Bergmann 3268c0984e5SSebastian Reichelconfig AXP288_CHARGER 3278c0984e5SSebastian Reichel tristate "X-Powers AXP288 Charger" 3288c0984e5SSebastian Reichel depends on MFD_AXP20X && EXTCON_AXP288 3298c0984e5SSebastian Reichel help 3308c0984e5SSebastian Reichel Say yes here to have support X-Power AXP288 power management IC (PMIC) 3318c0984e5SSebastian Reichel integrated charger. 3328c0984e5SSebastian Reichel 3338c0984e5SSebastian Reichelconfig AXP288_FUEL_GAUGE 3348c0984e5SSebastian Reichel tristate "X-Powers AXP288 Fuel Gauge" 3358c0984e5SSebastian Reichel depends on MFD_AXP20X && IIO 3368c0984e5SSebastian Reichel help 3378c0984e5SSebastian Reichel Say yes here to have support for X-Power power management IC (PMIC) 3388c0984e5SSebastian Reichel Fuel Gauge. The device provides battery statistics and status 3398c0984e5SSebastian Reichel monitoring as well as alerts for battery over/under voltage and 3408c0984e5SSebastian Reichel over/under temperature. 3418c0984e5SSebastian Reichel 3428c0984e5SSebastian Reichelconfig BATTERY_MAX17040 3438c0984e5SSebastian Reichel tristate "Maxim MAX17040 Fuel Gauge" 3448c0984e5SSebastian Reichel depends on I2C 3458c0984e5SSebastian Reichel help 3468c0984e5SSebastian Reichel MAX17040 is fuel-gauge systems for lithium-ion (Li+) batteries 3478c0984e5SSebastian Reichel in handheld and portable equipment. The MAX17040 is configured 3488c0984e5SSebastian Reichel to operate with a single lithium cell 3498c0984e5SSebastian Reichel 3508c0984e5SSebastian Reichelconfig BATTERY_MAX17042 3518c0984e5SSebastian Reichel tristate "Maxim MAX17042/17047/17050/8997/8966 Fuel Gauge" 3528c0984e5SSebastian Reichel depends on I2C 3538c0984e5SSebastian Reichel select REGMAP_I2C 3548c0984e5SSebastian Reichel help 3558c0984e5SSebastian Reichel MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries 3568c0984e5SSebastian Reichel in handheld and portable equipment. The MAX17042 is configured 3578c0984e5SSebastian Reichel to operate with a single lithium cell. MAX8997 and MAX8966 are 3588c0984e5SSebastian Reichel multi-function devices that include fuel gauages that are compatible 3598c0984e5SSebastian Reichel with MAX17042. This driver also supports max17047/50 chips which are 3608c0984e5SSebastian Reichel improved version of max17042. 3618c0984e5SSebastian Reichel 36210e48b7dSAlex A. Mihaylovconfig BATTERY_MAX1721X 36310e48b7dSAlex A. Mihaylov tristate "MAX17211/MAX17215 standalone gas-gauge" 36410e48b7dSAlex A. Mihaylov depends on W1 36510e48b7dSAlex A. Mihaylov select REGMAP_W1 36610e48b7dSAlex A. Mihaylov help 36710e48b7dSAlex A. Mihaylov MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries 36810e48b7dSAlex A. Mihaylov in handheld and portable equipment. MAX17211 used with single cell 36910e48b7dSAlex A. Mihaylov battery. MAX17215 designed for muticell battery. Both them have 37010e48b7dSAlex A. Mihaylov OneWire (W1) host interface. 37110e48b7dSAlex A. Mihaylov 37210e48b7dSAlex A. Mihaylov Say Y here to enable support for the MAX17211/MAX17215 standalone 37310e48b7dSAlex A. Mihaylov battery gas-gauge. 37410e48b7dSAlex A. Mihaylov 3758c0984e5SSebastian Reichelconfig BATTERY_Z2 3768c0984e5SSebastian Reichel tristate "Z2 battery driver" 3778c0984e5SSebastian Reichel depends on I2C && MACH_ZIPIT2 3788c0984e5SSebastian Reichel help 3798c0984e5SSebastian Reichel Say Y to include support for the battery on the Zipit Z2. 3808c0984e5SSebastian Reichel 3818c0984e5SSebastian Reichelconfig BATTERY_S3C_ADC 3828c0984e5SSebastian Reichel tristate "Battery driver for Samsung ADC based monitoring" 3838c0984e5SSebastian Reichel depends on S3C_ADC 3848c0984e5SSebastian Reichel help 3858c0984e5SSebastian Reichel Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery 3868c0984e5SSebastian Reichel 3878c0984e5SSebastian Reichelconfig BATTERY_TWL4030_MADC 3888c0984e5SSebastian Reichel tristate "TWL4030 MADC battery driver" 3898c0984e5SSebastian Reichel depends on TWL4030_MADC 3908c0984e5SSebastian Reichel help 3918c0984e5SSebastian Reichel Say Y here to enable this dumb driver for batteries managed 3928c0984e5SSebastian Reichel through the TWL4030 MADC. 3938c0984e5SSebastian Reichel 3948c0984e5SSebastian Reichelconfig CHARGER_88PM860X 3958c0984e5SSebastian Reichel tristate "Marvell 88PM860x Charger driver" 3968c0984e5SSebastian Reichel depends on MFD_88PM860X && BATTERY_88PM860X 3978c0984e5SSebastian Reichel help 3988c0984e5SSebastian Reichel Say Y here to enable charger for Marvell 88PM860x chip. 3998c0984e5SSebastian Reichel 4008c0984e5SSebastian Reichelconfig CHARGER_PCF50633 4018c0984e5SSebastian Reichel tristate "NXP PCF50633 MBC" 4028c0984e5SSebastian Reichel depends on MFD_PCF50633 4038c0984e5SSebastian Reichel help 4048c0984e5SSebastian Reichel Say Y to include support for NXP PCF50633 Main Battery Charger. 4058c0984e5SSebastian Reichel 4068c0984e5SSebastian Reichelconfig BATTERY_JZ4740 4078c0984e5SSebastian Reichel tristate "Ingenic JZ4740 battery" 4088c0984e5SSebastian Reichel depends on MACH_JZ4740 4098c0984e5SSebastian Reichel depends on MFD_JZ4740_ADC 4108c0984e5SSebastian Reichel help 4118c0984e5SSebastian Reichel Say Y to enable support for the battery on Ingenic JZ4740 based 4128c0984e5SSebastian Reichel boards. 4138c0984e5SSebastian Reichel 4148c0984e5SSebastian Reichel This driver can be build as a module. If so, the module will be 4158c0984e5SSebastian Reichel called jz4740-battery. 4168c0984e5SSebastian Reichel 4178c0984e5SSebastian Reichelconfig BATTERY_RX51 4188c0984e5SSebastian Reichel tristate "Nokia RX-51 (N900) battery driver" 4198c0984e5SSebastian Reichel depends on TWL4030_MADC 4208c0984e5SSebastian Reichel help 4218c0984e5SSebastian Reichel Say Y here to enable support for battery information on Nokia 4228c0984e5SSebastian Reichel RX-51, also known as N900 tablet. 4238c0984e5SSebastian Reichel 4240c9888e3STony Lindgrenconfig CHARGER_CPCAP 4250c9888e3STony Lindgren tristate "CPCAP PMIC Charger Driver" 4260c9888e3STony Lindgren depends on MFD_CPCAP && IIO 4278b35bf59SArnd Bergmann depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST) 4280c9888e3STony Lindgren default MFD_CPCAP 4290c9888e3STony Lindgren help 4300c9888e3STony Lindgren Say Y to enable support for CPCAP PMIC charger driver for Motorola 4310c9888e3STony Lindgren mobile devices such as Droid 4. 4320c9888e3STony Lindgren 4338c0984e5SSebastian Reichelconfig CHARGER_ISP1704 4348c0984e5SSebastian Reichel tristate "ISP1704 USB Charger Detection" 4358c0984e5SSebastian Reichel depends on USB_PHY 4368c0984e5SSebastian Reichel depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' 4378c0984e5SSebastian Reichel help 4388c0984e5SSebastian Reichel Say Y to enable support for USB Charger Detection with 4398c0984e5SSebastian Reichel ISP1707/ISP1704 USB transceivers. 4408c0984e5SSebastian Reichel 4418c0984e5SSebastian Reichelconfig CHARGER_MAX8903 4428c0984e5SSebastian Reichel tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power" 4438c0984e5SSebastian Reichel help 4448c0984e5SSebastian Reichel Say Y to enable support for the MAX8903 DC-DC charger and sysfs. 4458c0984e5SSebastian Reichel The driver supports controlling charger-enable and current-limit 4468c0984e5SSebastian Reichel pins based on the status of charger connections with interrupt 4478c0984e5SSebastian Reichel handlers. 4488c0984e5SSebastian Reichel 4498c0984e5SSebastian Reichelconfig CHARGER_TWL4030 4508c0984e5SSebastian Reichel tristate "OMAP TWL4030 BCI charger driver" 4518c0984e5SSebastian Reichel depends on IIO && TWL4030_CORE 4528c0984e5SSebastian Reichel help 4538c0984e5SSebastian Reichel Say Y here to enable support for TWL4030 Battery Charge Interface. 4548c0984e5SSebastian Reichel 4558c0984e5SSebastian Reichelconfig CHARGER_LP8727 4568c0984e5SSebastian Reichel tristate "TI/National Semiconductor LP8727 charger driver" 4578c0984e5SSebastian Reichel depends on I2C 4588c0984e5SSebastian Reichel help 4598c0984e5SSebastian Reichel Say Y here to enable support for LP8727 Charger Driver. 4608c0984e5SSebastian Reichel 4618c0984e5SSebastian Reichelconfig CHARGER_LP8788 4628c0984e5SSebastian Reichel tristate "TI LP8788 charger driver" 4638c0984e5SSebastian Reichel depends on MFD_LP8788 4648c0984e5SSebastian Reichel depends on LP8788_ADC 4658c0984e5SSebastian Reichel depends on IIO 4668c0984e5SSebastian Reichel help 4678c0984e5SSebastian Reichel Say Y to enable support for the LP8788 linear charger. 4688c0984e5SSebastian Reichel 4698c0984e5SSebastian Reichelconfig CHARGER_GPIO 4708c0984e5SSebastian Reichel tristate "GPIO charger" 4718c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 4728c0984e5SSebastian Reichel help 4738c0984e5SSebastian Reichel Say Y to include support for chargers which report their online status 4748c0984e5SSebastian Reichel through a GPIO pin. 4758c0984e5SSebastian Reichel 4768c0984e5SSebastian Reichel This driver can be build as a module. If so, the module will be 4778c0984e5SSebastian Reichel called gpio-charger. 4788c0984e5SSebastian Reichel 4798c0984e5SSebastian Reichelconfig CHARGER_MANAGER 4808c0984e5SSebastian Reichel bool "Battery charger manager for multiple chargers" 4818c0984e5SSebastian Reichel depends on REGULATOR 4828c0984e5SSebastian Reichel select EXTCON 4838c0984e5SSebastian Reichel help 4848c0984e5SSebastian Reichel Say Y to enable charger-manager support, which allows multiple 4858c0984e5SSebastian Reichel chargers attached to a battery and multiple batteries attached to a 4868c0984e5SSebastian Reichel system. The charger-manager also can monitor charging status in 4878c0984e5SSebastian Reichel runtime and in suspend-to-RAM by waking up the system periodically 4888c0984e5SSebastian Reichel with help of suspend_again support. 4898c0984e5SSebastian Reichel 4902e220e6eSMichael Hennerichconfig CHARGER_LT3651 4912e220e6eSMichael Hennerich tristate "Analog Devices LT3651 charger" 492c94d4ed0SMike Looijmans depends on GPIOLIB 493c94d4ed0SMike Looijmans help 4942e220e6eSMichael Hennerich Say Y to include support for the Analog Devices (Linear Technology) 4952e220e6eSMichael Hennerich LT3651 battery charger which reports its status via GPIO lines. 496c94d4ed0SMike Looijmans 4978c0984e5SSebastian Reichelconfig CHARGER_MAX14577 4988c0984e5SSebastian Reichel tristate "Maxim MAX14577/77836 battery charger driver" 4998c0984e5SSebastian Reichel depends on MFD_MAX14577 5008c0984e5SSebastian Reichel help 5018c0984e5SSebastian Reichel Say Y to enable support for the battery charger control sysfs and 5028c0984e5SSebastian Reichel platform data of MAX14577/77836 MUICs. 5038c0984e5SSebastian Reichel 5049d60595aSAlexander Kurzconfig CHARGER_DETECTOR_MAX14656 5059d60595aSAlexander Kurz tristate "Maxim MAX14656 USB charger detector" 5069d60595aSAlexander Kurz depends on I2C 5079d60595aSAlexander Kurz depends on OF 5089d60595aSAlexander Kurz help 5099d60595aSAlexander Kurz Say Y to enable support for the Maxim MAX14656 USB charger detector. 5109d60595aSAlexander Kurz The device is compliant with the USB Battery Charging Specification 5119d60595aSAlexander Kurz Revision 1.2 and can be found e.g. in Kindle 4/5th generation 5129d60595aSAlexander Kurz readers and certain LG devices. 5139d60595aSAlexander Kurz 514e85e17daSBartosz Golaszewskiconfig CHARGER_MAX77650 515e85e17daSBartosz Golaszewski tristate "Maxim MAX77650 battery charger driver" 516e85e17daSBartosz Golaszewski depends on MFD_MAX77650 517e85e17daSBartosz Golaszewski help 518e85e17daSBartosz Golaszewski Say Y to enable support for the battery charger control of MAX77650 519e85e17daSBartosz Golaszewski PMICs. 520e85e17daSBartosz Golaszewski 5218c0984e5SSebastian Reichelconfig CHARGER_MAX77693 5228c0984e5SSebastian Reichel tristate "Maxim MAX77693 battery charger driver" 5238c0984e5SSebastian Reichel depends on MFD_MAX77693 5248c0984e5SSebastian Reichel help 5258c0984e5SSebastian Reichel Say Y to enable support for the Maxim MAX77693 battery charger. 5268c0984e5SSebastian Reichel 5278c0984e5SSebastian Reichelconfig CHARGER_MAX8997 5288c0984e5SSebastian Reichel tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver" 5298c0984e5SSebastian Reichel depends on MFD_MAX8997 && REGULATOR_MAX8997 5308c0984e5SSebastian Reichel help 5318c0984e5SSebastian Reichel Say Y to enable support for the battery charger control sysfs and 5328c0984e5SSebastian Reichel platform data of MAX8997/LP3974 PMICs. 5338c0984e5SSebastian Reichel 5348c0984e5SSebastian Reichelconfig CHARGER_MAX8998 5358c0984e5SSebastian Reichel tristate "Maxim MAX8998/LP3974 PMIC battery charger driver" 5368c0984e5SSebastian Reichel depends on MFD_MAX8998 && REGULATOR_MAX8998 5378c0984e5SSebastian Reichel help 5388c0984e5SSebastian Reichel Say Y to enable support for the battery charger control sysfs and 5398c0984e5SSebastian Reichel platform data of MAX8998/LP3974 PMICs. 5408c0984e5SSebastian Reichel 5418c0984e5SSebastian Reichelconfig CHARGER_QCOM_SMBB 5428c0984e5SSebastian Reichel tristate "Qualcomm Switch-Mode Battery Charger and Boost" 5438c0984e5SSebastian Reichel depends on MFD_SPMI_PMIC || COMPILE_TEST 5448c0984e5SSebastian Reichel depends on OF 5458c0984e5SSebastian Reichel depends on EXTCON 54651962a35SArnd Bergmann depends on REGULATOR 5478c0984e5SSebastian Reichel help 5488c0984e5SSebastian Reichel Say Y to include support for the Switch-Mode Battery Charger and 5498c0984e5SSebastian Reichel Boost (SMBB) hardware found in Qualcomm PM8941 PMICs. The charger 5508c0984e5SSebastian Reichel is an integrated, single-cell lithium-ion battery charger. DT 5518c0984e5SSebastian Reichel configuration is required for loading, see the devicetree 5528c0984e5SSebastian Reichel documentation for more detail. The base name for this driver is 5538c0984e5SSebastian Reichel 'pm8941_charger'. 5548c0984e5SSebastian Reichel 5558c0984e5SSebastian Reichelconfig CHARGER_BQ2415X 5568c0984e5SSebastian Reichel tristate "TI BQ2415x battery charger driver" 5578c0984e5SSebastian Reichel depends on I2C 5588c0984e5SSebastian Reichel help 5598c0984e5SSebastian Reichel Say Y to enable support for the TI BQ2415x battery charger 5608c0984e5SSebastian Reichel PMICs. 5618c0984e5SSebastian Reichel 5628c0984e5SSebastian Reichel You'll need this driver to charge batteries on e.g. Nokia 5638c0984e5SSebastian Reichel RX-51/N900. 5648c0984e5SSebastian Reichel 5658c0984e5SSebastian Reichelconfig CHARGER_BQ24190 5668c0984e5SSebastian Reichel tristate "TI BQ24190 battery charger driver" 5678c0984e5SSebastian Reichel depends on I2C 568da26580fSHans de Goede depends on EXTCON 5698c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 5708c0984e5SSebastian Reichel help 5718c0984e5SSebastian Reichel Say Y to enable support for the TI BQ24190 battery charger. 5728c0984e5SSebastian Reichel 5738c0984e5SSebastian Reichelconfig CHARGER_BQ24257 5748c0984e5SSebastian Reichel tristate "TI BQ24250/24251/24257 battery charger driver" 5758c0984e5SSebastian Reichel depends on I2C 5768c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 5778c0984e5SSebastian Reichel depends on REGMAP_I2C 5788c0984e5SSebastian Reichel help 5798c0984e5SSebastian Reichel Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery 5808c0984e5SSebastian Reichel chargers. 5818c0984e5SSebastian Reichel 5828c0984e5SSebastian Reichelconfig CHARGER_BQ24735 5838c0984e5SSebastian Reichel tristate "TI BQ24735 battery charger support" 5848c0984e5SSebastian Reichel depends on I2C 5858c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 5868c0984e5SSebastian Reichel help 5878c0984e5SSebastian Reichel Say Y to enable support for the TI BQ24735 battery charger. 5888c0984e5SSebastian Reichel 5898c0984e5SSebastian Reichelconfig CHARGER_BQ25890 5908c0984e5SSebastian Reichel tristate "TI BQ25890 battery charger driver" 5918c0984e5SSebastian Reichel depends on I2C 5928c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 5938c0984e5SSebastian Reichel select REGMAP_I2C 5948c0984e5SSebastian Reichel help 5958c0984e5SSebastian Reichel Say Y to enable support for the TI BQ25890 battery charger. 5968c0984e5SSebastian Reichel 5978c0984e5SSebastian Reichelconfig CHARGER_SMB347 5988c0984e5SSebastian Reichel tristate "Summit Microelectronics SMB347 Battery Charger" 5998c0984e5SSebastian Reichel depends on I2C 6008c0984e5SSebastian Reichel select REGMAP_I2C 6018c0984e5SSebastian Reichel help 6028c0984e5SSebastian Reichel Say Y to include support for Summit Microelectronics SMB347 6038c0984e5SSebastian Reichel Battery Charger. 6048c0984e5SSebastian Reichel 6058c0984e5SSebastian Reichelconfig CHARGER_TPS65090 6068c0984e5SSebastian Reichel tristate "TPS65090 battery charger driver" 6078c0984e5SSebastian Reichel depends on MFD_TPS65090 6088c0984e5SSebastian Reichel help 6098c0984e5SSebastian Reichel Say Y here to enable support for battery charging with TPS65090 6108c0984e5SSebastian Reichel PMIC chips. 6118c0984e5SSebastian Reichel 6128c0984e5SSebastian Reichelconfig CHARGER_TPS65217 6138c0984e5SSebastian Reichel tristate "TPS65217 battery charger driver" 6148c0984e5SSebastian Reichel depends on MFD_TPS65217 6158c0984e5SSebastian Reichel help 6168c0984e5SSebastian Reichel Say Y here to enable support for battery charging with TPS65217 6178c0984e5SSebastian Reichel PMIC chips. 6188c0984e5SSebastian Reichel 6198c0984e5SSebastian Reichelconfig BATTERY_GAUGE_LTC2941 6208c0984e5SSebastian Reichel tristate "LTC2941/LTC2943 Battery Gauge Driver" 6218c0984e5SSebastian Reichel depends on I2C 6228c0984e5SSebastian Reichel help 6238c0984e5SSebastian Reichel Say Y here to include support for LTC2941 and LTC2943 Battery 6248c0984e5SSebastian Reichel Gauge IC. The driver reports the charge count continuously, and 6258c0984e5SSebastian Reichel measures the voltage and temperature every 10 seconds. 6268c0984e5SSebastian Reichel 6278c0984e5SSebastian Reichelconfig AB8500_BM 6288c0984e5SSebastian Reichel bool "AB8500 Battery Management Driver" 6298c0984e5SSebastian Reichel depends on AB8500_CORE && AB8500_GPADC 6308c0984e5SSebastian Reichel help 6318c0984e5SSebastian Reichel Say Y to include support for AB8500 battery management. 6328c0984e5SSebastian Reichel 6338c0984e5SSebastian Reichelconfig BATTERY_GOLDFISH 6348c0984e5SSebastian Reichel tristate "Goldfish battery driver" 6358c0984e5SSebastian Reichel depends on GOLDFISH || COMPILE_TEST 6368c0984e5SSebastian Reichel depends on HAS_IOMEM 6378c0984e5SSebastian Reichel help 6388c0984e5SSebastian Reichel Say Y to enable support for the battery and AC power in the 6398c0984e5SSebastian Reichel Goldfish emulator. 6408c0984e5SSebastian Reichel 6418c0984e5SSebastian Reichelconfig BATTERY_RT5033 6428c0984e5SSebastian Reichel tristate "RT5033 fuel gauge support" 6438c0984e5SSebastian Reichel depends on MFD_RT5033 6448c0984e5SSebastian Reichel help 6458c0984e5SSebastian Reichel This adds support for battery fuel gauge in Richtek RT5033 PMIC. 6468c0984e5SSebastian Reichel The fuelgauge calculates and determines the battery state of charge 6478c0984e5SSebastian Reichel according to battery open circuit voltage. 6488c0984e5SSebastian Reichel 6498c0984e5SSebastian Reichelconfig CHARGER_RT9455 6508c0984e5SSebastian Reichel tristate "Richtek RT9455 battery charger driver" 6518c0984e5SSebastian Reichel depends on I2C 6528c0984e5SSebastian Reichel depends on GPIOLIB || COMPILE_TEST 6538c0984e5SSebastian Reichel select REGMAP_I2C 6548c0984e5SSebastian Reichel help 6558c0984e5SSebastian Reichel Say Y to enable support for Richtek RT9455 battery charger. 6568c0984e5SSebastian Reichel 657f68b883eSSameer Nandaconfig CHARGER_CROS_USBPD 658f68b883eSSameer Nanda tristate "ChromeOS EC based USBPD charger" 659f68b883eSSameer Nanda depends on MFD_CROS_EC 660f68b883eSSameer Nanda default n 661f68b883eSSameer Nanda help 662f68b883eSSameer Nanda Say Y here to enable ChromeOS EC based USBPD charger 663f68b883eSSameer Nanda driver. This driver gets various bits of information about 664f68b883eSSameer Nanda what is connected to USB PD ports from the EC and converts 665f68b883eSSameer Nanda that into power_supply properties. 666f68b883eSSameer Nanda 6671c3d7b03SBaolin Wangconfig CHARGER_SC2731 6681c3d7b03SBaolin Wang tristate "Spreadtrum SC2731 charger driver" 6691c3d7b03SBaolin Wang depends on MFD_SC27XX_PMIC || COMPILE_TEST 6701c3d7b03SBaolin Wang help 6711c3d7b03SBaolin Wang Say Y here to enable support for battery charging with SC2731 6721c3d7b03SBaolin Wang PMIC chips. 6731c3d7b03SBaolin Wang 674195ca170SBaolin Wangconfig FUEL_GAUGE_SC27XX 675195ca170SBaolin Wang tristate "Spreadtrum SC27XX fuel gauge driver" 676195ca170SBaolin Wang depends on MFD_SC27XX_PMIC || COMPILE_TEST 677ed60f43dSRandy Dunlap depends on IIO 678195ca170SBaolin Wang help 679195ca170SBaolin Wang Say Y here to enable support for fuel gauge with SC27XX 680195ca170SBaolin Wang PMIC chips. 681195ca170SBaolin Wang 6829a2688e4SAndrey Smirnovconfig CHARGER_UCS1002 6839a2688e4SAndrey Smirnov tristate "Microchip UCS1002 USB Port Power Controller" 6849a2688e4SAndrey Smirnov depends on I2C 6859a2688e4SAndrey Smirnov depends on OF 686c8f3c9feSYueHaibing depends on REGULATOR 6879a2688e4SAndrey Smirnov select REGMAP_I2C 6889a2688e4SAndrey Smirnov help 6899a2688e4SAndrey Smirnov Say Y to enable support for Microchip UCS1002 Programmable 6909a2688e4SAndrey Smirnov USB Port Power Controller with Charger Emulation. 6919a2688e4SAndrey Smirnov 6928c0984e5SSebastian Reichelendif # POWER_SUPPLY 693