18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_cimenuconfig POWER_SUPPLY
38c2ecf20Sopenharmony_ci	bool "Power supply class support"
48c2ecf20Sopenharmony_ci	help
58c2ecf20Sopenharmony_ci	  Say Y here to enable power supply class support. This allows
68c2ecf20Sopenharmony_ci	  power supply (batteries, AC, USB) monitoring by userspace
78c2ecf20Sopenharmony_ci	  via sysfs and uevent (if available) and/or APM kernel interface
88c2ecf20Sopenharmony_ci	  (if selected below).
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciif POWER_SUPPLY
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciconfig POWER_SUPPLY_DEBUG
138c2ecf20Sopenharmony_ci	bool "Power supply debug"
148c2ecf20Sopenharmony_ci	help
158c2ecf20Sopenharmony_ci	  Say Y here to enable debugging messages for power supply class
168c2ecf20Sopenharmony_ci	  and drivers.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciconfig POWER_SUPPLY_HWMON
198c2ecf20Sopenharmony_ci	bool
208c2ecf20Sopenharmony_ci	prompt "Expose power supply sensors as hwmon device"
218c2ecf20Sopenharmony_ci	depends on HWMON=y || HWMON=POWER_SUPPLY
228c2ecf20Sopenharmony_ci	default y
238c2ecf20Sopenharmony_ci	help
248c2ecf20Sopenharmony_ci	  This options enables API that allows sensors found on a
258c2ecf20Sopenharmony_ci	  power supply device (current, voltage, temperature) to be
268c2ecf20Sopenharmony_ci	  exposed as a hwmon device.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci	  Say 'Y' here if you want power supplies to
298c2ecf20Sopenharmony_ci	  have hwmon sysfs interface too.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciconfig PDA_POWER
338c2ecf20Sopenharmony_ci	tristate "Generic PDA/phone power driver"
348c2ecf20Sopenharmony_ci	depends on !S390
358c2ecf20Sopenharmony_ci	help
368c2ecf20Sopenharmony_ci	  Say Y here to enable generic power driver for PDAs and phones with
378c2ecf20Sopenharmony_ci	  one or two external power supplies (AC/USB) connected to main and
388c2ecf20Sopenharmony_ci	  backup batteries, and optional builtin charger.
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ciconfig APM_POWER
418c2ecf20Sopenharmony_ci	tristate "APM emulation for class batteries"
428c2ecf20Sopenharmony_ci	depends on APM_EMULATION
438c2ecf20Sopenharmony_ci	help
448c2ecf20Sopenharmony_ci	  Say Y here to enable support APM status emulation using
458c2ecf20Sopenharmony_ci	  battery class devices.
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ciconfig GENERIC_ADC_BATTERY
488c2ecf20Sopenharmony_ci	tristate "Generic battery support using IIO"
498c2ecf20Sopenharmony_ci	depends on IIO
508c2ecf20Sopenharmony_ci	help
518c2ecf20Sopenharmony_ci	  Say Y here to enable support for the generic battery driver
528c2ecf20Sopenharmony_ci	  which uses IIO framework to read adc.
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ciconfig MAX8925_POWER
558c2ecf20Sopenharmony_ci	tristate "MAX8925 battery charger support"
568c2ecf20Sopenharmony_ci	depends on MFD_MAX8925
578c2ecf20Sopenharmony_ci	help
588c2ecf20Sopenharmony_ci	  Say Y here to enable support for the battery charger in the Maxim
598c2ecf20Sopenharmony_ci	  MAX8925 PMIC.
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ciconfig WM831X_BACKUP
628c2ecf20Sopenharmony_ci	tristate "WM831X backup battery charger support"
638c2ecf20Sopenharmony_ci	depends on MFD_WM831X
648c2ecf20Sopenharmony_ci	help
658c2ecf20Sopenharmony_ci	  Say Y here to enable support for the backup battery charger
668c2ecf20Sopenharmony_ci	  in the Wolfson Microelectronics WM831x PMICs.
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ciconfig WM831X_POWER
698c2ecf20Sopenharmony_ci	tristate "WM831X PMU support"
708c2ecf20Sopenharmony_ci	depends on MFD_WM831X
718c2ecf20Sopenharmony_ci	help
728c2ecf20Sopenharmony_ci	  Say Y here to enable support for the power management unit
738c2ecf20Sopenharmony_ci	  provided by Wolfson Microelectronics WM831x PMICs.
748c2ecf20Sopenharmony_ci
758c2ecf20Sopenharmony_ciconfig WM8350_POWER
768c2ecf20Sopenharmony_ci	tristate "WM8350 PMU support"
778c2ecf20Sopenharmony_ci	depends on MFD_WM8350
788c2ecf20Sopenharmony_ci	help
798c2ecf20Sopenharmony_ci	  Say Y here to enable support for the power management unit
808c2ecf20Sopenharmony_ci	  provided by the Wolfson Microelectronics WM8350 PMIC.
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ciconfig TEST_POWER
838c2ecf20Sopenharmony_ci	tristate "Test power driver"
848c2ecf20Sopenharmony_ci	help
858c2ecf20Sopenharmony_ci	  This driver is used for testing. It's safe to say M here.
868c2ecf20Sopenharmony_ci
878c2ecf20Sopenharmony_ciconfig BATTERY_88PM860X
888c2ecf20Sopenharmony_ci	tristate "Marvell 88PM860x battery driver"
898c2ecf20Sopenharmony_ci	depends on MFD_88PM860X
908c2ecf20Sopenharmony_ci	help
918c2ecf20Sopenharmony_ci	  Say Y here to enable battery monitor for Marvell 88PM860x chip.
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ciconfig CHARGER_ADP5061
948c2ecf20Sopenharmony_ci	tristate "ADP5061 battery charger driver"
958c2ecf20Sopenharmony_ci	depends on I2C
968c2ecf20Sopenharmony_ci	select REGMAP_I2C
978c2ecf20Sopenharmony_ci	help
988c2ecf20Sopenharmony_ci	  Say Y here to enable support for the ADP5061 standalone battery
998c2ecf20Sopenharmony_ci	  charger.
1008c2ecf20Sopenharmony_ci
1018c2ecf20Sopenharmony_ci	  This driver can be built as a module. If so, the module will be
1028c2ecf20Sopenharmony_ci	  called adp5061.
1038c2ecf20Sopenharmony_ci
1048c2ecf20Sopenharmony_ciconfig BATTERY_ACT8945A
1058c2ecf20Sopenharmony_ci	tristate "Active-semi ACT8945A charger driver"
1068c2ecf20Sopenharmony_ci	depends on MFD_ACT8945A || COMPILE_TEST
1078c2ecf20Sopenharmony_ci	help
1088c2ecf20Sopenharmony_ci	  Say Y here to enable support for power supply provided by
1098c2ecf20Sopenharmony_ci	  Active-semi ActivePath ACT8945A charger.
1108c2ecf20Sopenharmony_ci
1118c2ecf20Sopenharmony_ciconfig BATTERY_CPCAP
1128c2ecf20Sopenharmony_ci	tristate "Motorola CPCAP PMIC battery driver"
1138c2ecf20Sopenharmony_ci	depends on MFD_CPCAP && IIO
1148c2ecf20Sopenharmony_ci	default MFD_CPCAP
1158c2ecf20Sopenharmony_ci	help
1168c2ecf20Sopenharmony_ci	  Say Y here to enable support for battery on Motorola
1178c2ecf20Sopenharmony_ci	  phones and tablets such as droid 4.
1188c2ecf20Sopenharmony_ci
1198c2ecf20Sopenharmony_ciconfig BATTERY_CW2015
1208c2ecf20Sopenharmony_ci	tristate "CW2015 Battery driver"
1218c2ecf20Sopenharmony_ci	depends on I2C
1228c2ecf20Sopenharmony_ci	select REGMAP_I2C
1238c2ecf20Sopenharmony_ci	help
1248c2ecf20Sopenharmony_ci	  Say Y here to enable support for the cellwise cw2015
1258c2ecf20Sopenharmony_ci	  battery fuel gauge (used in the Pinebook Pro & others)
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
1288c2ecf20Sopenharmony_ci	  called cw2015_battery.
1298c2ecf20Sopenharmony_ci
1308c2ecf20Sopenharmony_ciconfig BATTERY_DS2760
1318c2ecf20Sopenharmony_ci	tristate "DS2760 battery driver (HP iPAQ & others)"
1328c2ecf20Sopenharmony_ci	depends on W1
1338c2ecf20Sopenharmony_ci	help
1348c2ecf20Sopenharmony_ci	  Say Y here to enable support for batteries with ds2760 chip.
1358c2ecf20Sopenharmony_ci
1368c2ecf20Sopenharmony_ciconfig BATTERY_DS2780
1378c2ecf20Sopenharmony_ci	tristate "DS2780 battery driver"
1388c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
1398c2ecf20Sopenharmony_ci	select W1
1408c2ecf20Sopenharmony_ci	select W1_SLAVE_DS2780
1418c2ecf20Sopenharmony_ci	help
1428c2ecf20Sopenharmony_ci	  Say Y here to enable support for batteries with ds2780 chip.
1438c2ecf20Sopenharmony_ci
1448c2ecf20Sopenharmony_ciconfig BATTERY_DS2781
1458c2ecf20Sopenharmony_ci	tristate "DS2781 battery driver"
1468c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
1478c2ecf20Sopenharmony_ci	select W1
1488c2ecf20Sopenharmony_ci	select W1_SLAVE_DS2781
1498c2ecf20Sopenharmony_ci	help
1508c2ecf20Sopenharmony_ci	  If you enable this you will have the DS2781 battery driver support.
1518c2ecf20Sopenharmony_ci
1528c2ecf20Sopenharmony_ci	  The battery monitor chip is used in many batteries/devices
1538c2ecf20Sopenharmony_ci	  as the one who is responsible for charging/discharging/monitoring
1548c2ecf20Sopenharmony_ci	  Li+ batteries.
1558c2ecf20Sopenharmony_ci
1568c2ecf20Sopenharmony_ci	  If you are unsure, say N.
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ciconfig BATTERY_DS2782
1598c2ecf20Sopenharmony_ci	tristate "DS2782/DS2786 standalone gas-gauge"
1608c2ecf20Sopenharmony_ci	depends on I2C
1618c2ecf20Sopenharmony_ci	help
1628c2ecf20Sopenharmony_ci	  Say Y here to enable support for the DS2782/DS2786 standalone battery
1638c2ecf20Sopenharmony_ci	  gas-gauge.
1648c2ecf20Sopenharmony_ci
1658c2ecf20Sopenharmony_ciconfig BATTERY_LEGO_EV3
1668c2ecf20Sopenharmony_ci	tristate "LEGO MINDSTORMS EV3 battery"
1678c2ecf20Sopenharmony_ci	depends on OF && IIO && GPIOLIB && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
1688c2ecf20Sopenharmony_ci	help
1698c2ecf20Sopenharmony_ci	  Say Y here to enable support for the LEGO MINDSTORMS EV3 battery.
1708c2ecf20Sopenharmony_ci
1718c2ecf20Sopenharmony_ciconfig BATTERY_PMU
1728c2ecf20Sopenharmony_ci	tristate "Apple PMU battery"
1738c2ecf20Sopenharmony_ci	depends on PPC32 && ADB_PMU
1748c2ecf20Sopenharmony_ci	help
1758c2ecf20Sopenharmony_ci	  Say Y here to expose battery information on Apple machines
1768c2ecf20Sopenharmony_ci	  through the generic battery class.
1778c2ecf20Sopenharmony_ci
1788c2ecf20Sopenharmony_ciconfig BATTERY_OLPC
1798c2ecf20Sopenharmony_ci	tristate "One Laptop Per Child battery"
1808c2ecf20Sopenharmony_ci	depends on OLPC_EC
1818c2ecf20Sopenharmony_ci	help
1828c2ecf20Sopenharmony_ci	  Say Y to enable support for the battery on the OLPC laptop.
1838c2ecf20Sopenharmony_ci
1848c2ecf20Sopenharmony_ciconfig BATTERY_TOSA
1858c2ecf20Sopenharmony_ci	tristate "Sharp SL-6000 (tosa) battery"
1868c2ecf20Sopenharmony_ci	depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
1878c2ecf20Sopenharmony_ci	help
1888c2ecf20Sopenharmony_ci	  Say Y to enable support for the battery on the Sharp Zaurus
1898c2ecf20Sopenharmony_ci	  SL-6000 (tosa) models.
1908c2ecf20Sopenharmony_ci
1918c2ecf20Sopenharmony_ciconfig BATTERY_COLLIE
1928c2ecf20Sopenharmony_ci	tristate "Sharp SL-5500 (collie) battery"
1938c2ecf20Sopenharmony_ci	depends on SA1100_COLLIE && MCP_UCB1200
1948c2ecf20Sopenharmony_ci	help
1958c2ecf20Sopenharmony_ci	  Say Y to enable support for the battery on the Sharp Zaurus
1968c2ecf20Sopenharmony_ci	  SL-5500 (collie) models.
1978c2ecf20Sopenharmony_ci
1988c2ecf20Sopenharmony_ciconfig BATTERY_INGENIC
1998c2ecf20Sopenharmony_ci	tristate "Ingenic JZ47xx SoCs battery driver"
2008c2ecf20Sopenharmony_ci	depends on MIPS || COMPILE_TEST
2018c2ecf20Sopenharmony_ci	depends on INGENIC_ADC
2028c2ecf20Sopenharmony_ci	help
2038c2ecf20Sopenharmony_ci	  Choose this option if you want to monitor battery status on
2048c2ecf20Sopenharmony_ci	  Ingenic JZ47xx SoC based devices.
2058c2ecf20Sopenharmony_ci
2068c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
2078c2ecf20Sopenharmony_ci	  called ingenic-battery.
2088c2ecf20Sopenharmony_ci
2098c2ecf20Sopenharmony_ciconfig BATTERY_IPAQ_MICRO
2108c2ecf20Sopenharmony_ci	tristate "iPAQ Atmel Micro ASIC battery driver"
2118c2ecf20Sopenharmony_ci	depends on MFD_IPAQ_MICRO
2128c2ecf20Sopenharmony_ci	help
2138c2ecf20Sopenharmony_ci	  Choose this option if you want to monitor battery status on
2148c2ecf20Sopenharmony_ci	  Compaq/HP iPAQ h3100 and h3600.
2158c2ecf20Sopenharmony_ci
2168c2ecf20Sopenharmony_ciconfig BATTERY_WM97XX
2178c2ecf20Sopenharmony_ci	bool "WM97xx generic battery driver"
2188c2ecf20Sopenharmony_ci	depends on TOUCHSCREEN_WM97XX=y
2198c2ecf20Sopenharmony_ci	help
2208c2ecf20Sopenharmony_ci	  Say Y to enable support for battery measured by WM97xx aux port.
2218c2ecf20Sopenharmony_ci
2228c2ecf20Sopenharmony_ciconfig BATTERY_SBS
2238c2ecf20Sopenharmony_ci	tristate "SBS Compliant gas gauge"
2248c2ecf20Sopenharmony_ci	depends on I2C
2258c2ecf20Sopenharmony_ci	help
2268c2ecf20Sopenharmony_ci	  Say Y to include support for SBS battery driver for SBS-compliant
2278c2ecf20Sopenharmony_ci	  gas gauges.
2288c2ecf20Sopenharmony_ci
2298c2ecf20Sopenharmony_ciconfig CHARGER_SBS
2308c2ecf20Sopenharmony_ci	tristate "SBS Compliant charger"
2318c2ecf20Sopenharmony_ci	depends on I2C
2328c2ecf20Sopenharmony_ci	select REGMAP_I2C
2338c2ecf20Sopenharmony_ci	help
2348c2ecf20Sopenharmony_ci	  Say Y to include support for SBS compliant battery chargers.
2358c2ecf20Sopenharmony_ci
2368c2ecf20Sopenharmony_ciconfig MANAGER_SBS
2378c2ecf20Sopenharmony_ci	tristate "Smart Battery System Manager"
2388c2ecf20Sopenharmony_ci	depends on I2C && I2C_MUX && GPIOLIB
2398c2ecf20Sopenharmony_ci	select I2C_SMBUS
2408c2ecf20Sopenharmony_ci	help
2418c2ecf20Sopenharmony_ci	  Say Y here to include support for Smart Battery System Manager
2428c2ecf20Sopenharmony_ci	  ICs. The driver reports online and charging status via sysfs.
2438c2ecf20Sopenharmony_ci	  It presents itself also as I2C mux which allows to bind
2448c2ecf20Sopenharmony_ci	  smart battery driver to its ports.
2458c2ecf20Sopenharmony_ci	  Supported is for example LTC1760.
2468c2ecf20Sopenharmony_ci
2478c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
2488c2ecf20Sopenharmony_ci	  called sbs-manager.
2498c2ecf20Sopenharmony_ci
2508c2ecf20Sopenharmony_ciconfig BATTERY_BQ27XXX
2518c2ecf20Sopenharmony_ci	tristate "BQ27xxx battery driver"
2528c2ecf20Sopenharmony_ci	help
2538c2ecf20Sopenharmony_ci	  Say Y here to enable support for batteries with BQ27xxx chips.
2548c2ecf20Sopenharmony_ci
2558c2ecf20Sopenharmony_ciconfig BATTERY_BQ27XXX_I2C
2568c2ecf20Sopenharmony_ci	tristate "BQ27xxx I2C support"
2578c2ecf20Sopenharmony_ci	depends on BATTERY_BQ27XXX
2588c2ecf20Sopenharmony_ci	depends on I2C
2598c2ecf20Sopenharmony_ci	default y
2608c2ecf20Sopenharmony_ci	help
2618c2ecf20Sopenharmony_ci	  Say Y here to enable support for batteries with BQ27xxx chips
2628c2ecf20Sopenharmony_ci	  connected over an I2C bus.
2638c2ecf20Sopenharmony_ci
2648c2ecf20Sopenharmony_ciconfig BATTERY_BQ27XXX_HDQ
2658c2ecf20Sopenharmony_ci	tristate "BQ27xxx HDQ support"
2668c2ecf20Sopenharmony_ci	depends on BATTERY_BQ27XXX
2678c2ecf20Sopenharmony_ci	depends on W1
2688c2ecf20Sopenharmony_ci	default y
2698c2ecf20Sopenharmony_ci	help
2708c2ecf20Sopenharmony_ci	  Say Y here to enable support for batteries with BQ27xxx chips
2718c2ecf20Sopenharmony_ci	  connected over an HDQ bus.
2728c2ecf20Sopenharmony_ci
2738c2ecf20Sopenharmony_ciconfig BATTERY_BQ27XXX_DT_UPDATES_NVM
2748c2ecf20Sopenharmony_ci	bool "BQ27xxx support for update of NVM/flash data memory"
2758c2ecf20Sopenharmony_ci	depends on BATTERY_BQ27XXX_I2C
2768c2ecf20Sopenharmony_ci	help
2778c2ecf20Sopenharmony_ci	  Say Y here to enable devicetree monitored-battery config to update
2788c2ecf20Sopenharmony_ci	  NVM/flash data memory. Only enable this option for devices with a
2798c2ecf20Sopenharmony_ci	  fuel gauge mounted on the circuit board, and a battery that cannot
2808c2ecf20Sopenharmony_ci	  easily be replaced with one of a different type. Not for
2818c2ecf20Sopenharmony_ci	  general-purpose kernels, as this can cause misconfiguration of a
2828c2ecf20Sopenharmony_ci	  smart battery with embedded NVM/flash.
2838c2ecf20Sopenharmony_ci
2848c2ecf20Sopenharmony_ciconfig BATTERY_DA9030
2858c2ecf20Sopenharmony_ci	tristate "DA9030 battery driver"
2868c2ecf20Sopenharmony_ci	depends on PMIC_DA903X
2878c2ecf20Sopenharmony_ci	help
2888c2ecf20Sopenharmony_ci	  Say Y here to enable support for batteries charger integrated into
2898c2ecf20Sopenharmony_ci	  DA9030 PMIC.
2908c2ecf20Sopenharmony_ci
2918c2ecf20Sopenharmony_ciconfig BATTERY_DA9052
2928c2ecf20Sopenharmony_ci	tristate "Dialog DA9052 Battery"
2938c2ecf20Sopenharmony_ci	depends on PMIC_DA9052
2948c2ecf20Sopenharmony_ci	help
2958c2ecf20Sopenharmony_ci	  Say Y here to enable support for batteries charger integrated into
2968c2ecf20Sopenharmony_ci	  DA9052 PMIC.
2978c2ecf20Sopenharmony_ci
2988c2ecf20Sopenharmony_ciconfig CHARGER_DA9150
2998c2ecf20Sopenharmony_ci	tristate "Dialog Semiconductor DA9150 Charger support"
3008c2ecf20Sopenharmony_ci	depends on MFD_DA9150
3018c2ecf20Sopenharmony_ci	depends on DA9150_GPADC
3028c2ecf20Sopenharmony_ci	depends on IIO
3038c2ecf20Sopenharmony_ci	help
3048c2ecf20Sopenharmony_ci	  Say Y here to enable support for charger unit of the DA9150
3058c2ecf20Sopenharmony_ci	  Integrated Charger & Fuel-Gauge IC.
3068c2ecf20Sopenharmony_ci
3078c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
3088c2ecf20Sopenharmony_ci	  called da9150-charger.
3098c2ecf20Sopenharmony_ci
3108c2ecf20Sopenharmony_ciconfig BATTERY_DA9150
3118c2ecf20Sopenharmony_ci	tristate "Dialog Semiconductor DA9150 Fuel Gauge support"
3128c2ecf20Sopenharmony_ci	depends on MFD_DA9150
3138c2ecf20Sopenharmony_ci	help
3148c2ecf20Sopenharmony_ci	  Say Y here to enable support for the Fuel-Gauge unit of the DA9150
3158c2ecf20Sopenharmony_ci	  Integrated Charger & Fuel-Gauge IC
3168c2ecf20Sopenharmony_ci
3178c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
3188c2ecf20Sopenharmony_ci	  called da9150-fg.
3198c2ecf20Sopenharmony_ci
3208c2ecf20Sopenharmony_ciconfig CHARGER_AXP20X
3218c2ecf20Sopenharmony_ci	tristate "X-Powers AXP20X and AXP22X AC power supply driver"
3228c2ecf20Sopenharmony_ci	depends on MFD_AXP20X
3238c2ecf20Sopenharmony_ci	depends on AXP20X_ADC
3248c2ecf20Sopenharmony_ci	depends on IIO
3258c2ecf20Sopenharmony_ci	help
3268c2ecf20Sopenharmony_ci	  Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC
3278c2ecf20Sopenharmony_ci	  power supply.
3288c2ecf20Sopenharmony_ci
3298c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
3308c2ecf20Sopenharmony_ci	  called axp20x_ac_power.
3318c2ecf20Sopenharmony_ci
3328c2ecf20Sopenharmony_ciconfig BATTERY_AXP20X
3338c2ecf20Sopenharmony_ci	tristate "X-Powers AXP20X battery driver"
3348c2ecf20Sopenharmony_ci	depends on MFD_AXP20X
3358c2ecf20Sopenharmony_ci	depends on AXP20X_ADC
3368c2ecf20Sopenharmony_ci	depends on IIO
3378c2ecf20Sopenharmony_ci	help
3388c2ecf20Sopenharmony_ci	  Say Y here to enable support for X-Powers AXP20X PMICs' battery power
3398c2ecf20Sopenharmony_ci	  supply.
3408c2ecf20Sopenharmony_ci
3418c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
3428c2ecf20Sopenharmony_ci	  called axp20x_battery.
3438c2ecf20Sopenharmony_ci
3448c2ecf20Sopenharmony_ciconfig AXP20X_POWER
3458c2ecf20Sopenharmony_ci	tristate "AXP20x power supply driver"
3468c2ecf20Sopenharmony_ci	depends on MFD_AXP20X
3478c2ecf20Sopenharmony_ci	depends on IIO
3488c2ecf20Sopenharmony_ci	help
3498c2ecf20Sopenharmony_ci	  This driver provides support for the power supply features of
3508c2ecf20Sopenharmony_ci	  AXP20x PMIC.
3518c2ecf20Sopenharmony_ci
3528c2ecf20Sopenharmony_ciconfig AXP288_CHARGER
3538c2ecf20Sopenharmony_ci	tristate "X-Powers AXP288 Charger"
3548c2ecf20Sopenharmony_ci	depends on MFD_AXP20X && EXTCON_AXP288
3558c2ecf20Sopenharmony_ci	help
3568c2ecf20Sopenharmony_ci	  Say yes here to have support X-Power AXP288 power management IC (PMIC)
3578c2ecf20Sopenharmony_ci	  integrated charger.
3588c2ecf20Sopenharmony_ci
3598c2ecf20Sopenharmony_ciconfig AXP288_FUEL_GAUGE
3608c2ecf20Sopenharmony_ci	tristate "X-Powers AXP288 Fuel Gauge"
3618c2ecf20Sopenharmony_ci	depends on MFD_AXP20X && IIO
3628c2ecf20Sopenharmony_ci	help
3638c2ecf20Sopenharmony_ci	  Say yes here to have support for X-Power power management IC (PMIC)
3648c2ecf20Sopenharmony_ci	  Fuel Gauge. The device provides battery statistics and status
3658c2ecf20Sopenharmony_ci	  monitoring as well as alerts for battery over/under voltage and
3668c2ecf20Sopenharmony_ci	  over/under temperature.
3678c2ecf20Sopenharmony_ci
3688c2ecf20Sopenharmony_ciconfig BATTERY_MAX17040
3698c2ecf20Sopenharmony_ci	tristate "Maxim MAX17040 Fuel Gauge"
3708c2ecf20Sopenharmony_ci	depends on I2C
3718c2ecf20Sopenharmony_ci	select REGMAP_I2C
3728c2ecf20Sopenharmony_ci	help
3738c2ecf20Sopenharmony_ci	  Maxim models with ModelGauge are fuel-gauge systems for lithium-ion
3748c2ecf20Sopenharmony_ci	  (Li+) batteries in handheld and portable equipment, including
3758c2ecf20Sopenharmony_ci	  max17040, max17041, max17043, max17044, max17048, max17049, max17058,
3768c2ecf20Sopenharmony_ci	  max17059. It is also included in some batteries like max77836.
3778c2ecf20Sopenharmony_ci
3788c2ecf20Sopenharmony_ci	  Driver supports reporting SOC (State of Charge, i.e capacity),
3798c2ecf20Sopenharmony_ci	  voltage and configurable low-SOC wakeup interrupt.
3808c2ecf20Sopenharmony_ci
3818c2ecf20Sopenharmony_ciconfig BATTERY_MAX17042
3828c2ecf20Sopenharmony_ci	tristate "Maxim MAX17042/17047/17050/8997/8966 Fuel Gauge"
3838c2ecf20Sopenharmony_ci	depends on I2C
3848c2ecf20Sopenharmony_ci	select REGMAP_I2C
3858c2ecf20Sopenharmony_ci	help
3868c2ecf20Sopenharmony_ci	  MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
3878c2ecf20Sopenharmony_ci	  in handheld and portable equipment. The MAX17042 is configured
3888c2ecf20Sopenharmony_ci	  to operate with a single lithium cell. MAX8997 and MAX8966 are
3898c2ecf20Sopenharmony_ci	  multi-function devices that include fuel gauages that are compatible
3908c2ecf20Sopenharmony_ci	  with MAX17042. This driver also supports max17047/50 chips which are
3918c2ecf20Sopenharmony_ci	  improved version of max17042.
3928c2ecf20Sopenharmony_ci
3938c2ecf20Sopenharmony_ciconfig BATTERY_MAX1721X
3948c2ecf20Sopenharmony_ci	tristate "MAX17211/MAX17215 standalone gas-gauge"
3958c2ecf20Sopenharmony_ci	depends on W1
3968c2ecf20Sopenharmony_ci	select REGMAP_W1
3978c2ecf20Sopenharmony_ci	help
3988c2ecf20Sopenharmony_ci	  MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries
3998c2ecf20Sopenharmony_ci	  in handheld and portable equipment. MAX17211 used with single cell
4008c2ecf20Sopenharmony_ci	  battery. MAX17215 designed for muticell battery. Both them have
4018c2ecf20Sopenharmony_ci	  OneWire (W1) host interface.
4028c2ecf20Sopenharmony_ci
4038c2ecf20Sopenharmony_ci	  Say Y here to enable support for the MAX17211/MAX17215 standalone
4048c2ecf20Sopenharmony_ci	  battery gas-gauge.
4058c2ecf20Sopenharmony_ci
4068c2ecf20Sopenharmony_ciconfig BATTERY_Z2
4078c2ecf20Sopenharmony_ci	tristate "Z2 battery driver"
4088c2ecf20Sopenharmony_ci	depends on I2C && MACH_ZIPIT2
4098c2ecf20Sopenharmony_ci	help
4108c2ecf20Sopenharmony_ci	  Say Y to include support for the battery on the Zipit Z2.
4118c2ecf20Sopenharmony_ci
4128c2ecf20Sopenharmony_ciconfig BATTERY_S3C_ADC
4138c2ecf20Sopenharmony_ci	tristate "Battery driver for Samsung ADC based monitoring"
4148c2ecf20Sopenharmony_ci	depends on S3C_ADC
4158c2ecf20Sopenharmony_ci	help
4168c2ecf20Sopenharmony_ci	  Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery
4178c2ecf20Sopenharmony_ci
4188c2ecf20Sopenharmony_ciconfig BATTERY_TWL4030_MADC
4198c2ecf20Sopenharmony_ci	tristate "TWL4030 MADC battery driver"
4208c2ecf20Sopenharmony_ci	depends on TWL4030_MADC
4218c2ecf20Sopenharmony_ci	help
4228c2ecf20Sopenharmony_ci	  Say Y here to enable this dumb driver for batteries managed
4238c2ecf20Sopenharmony_ci	  through the TWL4030 MADC.
4248c2ecf20Sopenharmony_ci
4258c2ecf20Sopenharmony_ciconfig CHARGER_88PM860X
4268c2ecf20Sopenharmony_ci	tristate "Marvell 88PM860x Charger driver"
4278c2ecf20Sopenharmony_ci	depends on MFD_88PM860X && BATTERY_88PM860X
4288c2ecf20Sopenharmony_ci	help
4298c2ecf20Sopenharmony_ci	  Say Y here to enable charger for Marvell 88PM860x chip.
4308c2ecf20Sopenharmony_ci
4318c2ecf20Sopenharmony_ciconfig CHARGER_PCF50633
4328c2ecf20Sopenharmony_ci	tristate "NXP PCF50633 MBC"
4338c2ecf20Sopenharmony_ci	depends on MFD_PCF50633
4348c2ecf20Sopenharmony_ci	help
4358c2ecf20Sopenharmony_ci	  Say Y to include support for NXP PCF50633 Main Battery Charger.
4368c2ecf20Sopenharmony_ci
4378c2ecf20Sopenharmony_ciconfig BATTERY_RX51
4388c2ecf20Sopenharmony_ci	tristate "Nokia RX-51 (N900) battery driver"
4398c2ecf20Sopenharmony_ci	depends on TWL4030_MADC
4408c2ecf20Sopenharmony_ci	help
4418c2ecf20Sopenharmony_ci	  Say Y here to enable support for battery information on Nokia
4428c2ecf20Sopenharmony_ci	  RX-51, also known as N900 tablet.
4438c2ecf20Sopenharmony_ci
4448c2ecf20Sopenharmony_ciconfig CHARGER_CPCAP
4458c2ecf20Sopenharmony_ci	tristate "CPCAP PMIC Charger Driver"
4468c2ecf20Sopenharmony_ci	depends on MFD_CPCAP && IIO
4478c2ecf20Sopenharmony_ci	depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST)
4488c2ecf20Sopenharmony_ci	default MFD_CPCAP
4498c2ecf20Sopenharmony_ci	help
4508c2ecf20Sopenharmony_ci	  Say Y to enable support for CPCAP PMIC charger driver for Motorola
4518c2ecf20Sopenharmony_ci	  mobile devices such as Droid 4.
4528c2ecf20Sopenharmony_ci
4538c2ecf20Sopenharmony_ciconfig CHARGER_ISP1704
4548c2ecf20Sopenharmony_ci	tristate "ISP1704 USB Charger Detection"
4558c2ecf20Sopenharmony_ci	depends on USB_PHY
4568c2ecf20Sopenharmony_ci	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
4578c2ecf20Sopenharmony_ci	help
4588c2ecf20Sopenharmony_ci	  Say Y to enable support for USB Charger Detection with
4598c2ecf20Sopenharmony_ci	  ISP1707/ISP1704 USB transceivers.
4608c2ecf20Sopenharmony_ci
4618c2ecf20Sopenharmony_ciconfig CHARGER_MAX8903
4628c2ecf20Sopenharmony_ci	tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
4638c2ecf20Sopenharmony_ci	help
4648c2ecf20Sopenharmony_ci	  Say Y to enable support for the MAX8903 DC-DC charger and sysfs.
4658c2ecf20Sopenharmony_ci	  The driver supports controlling charger-enable and current-limit
4668c2ecf20Sopenharmony_ci	  pins based on the status of charger connections with interrupt
4678c2ecf20Sopenharmony_ci	  handlers.
4688c2ecf20Sopenharmony_ci
4698c2ecf20Sopenharmony_ciconfig CHARGER_TWL4030
4708c2ecf20Sopenharmony_ci	tristate "OMAP TWL4030 BCI charger driver"
4718c2ecf20Sopenharmony_ci	depends on IIO && TWL4030_CORE
4728c2ecf20Sopenharmony_ci	help
4738c2ecf20Sopenharmony_ci	  Say Y here to enable support for TWL4030 Battery Charge Interface.
4748c2ecf20Sopenharmony_ci
4758c2ecf20Sopenharmony_ciconfig CHARGER_LP8727
4768c2ecf20Sopenharmony_ci	tristate "TI/National Semiconductor LP8727 charger driver"
4778c2ecf20Sopenharmony_ci	depends on I2C
4788c2ecf20Sopenharmony_ci	help
4798c2ecf20Sopenharmony_ci	  Say Y here to enable support for LP8727 Charger Driver.
4808c2ecf20Sopenharmony_ci
4818c2ecf20Sopenharmony_ciconfig CHARGER_LP8788
4828c2ecf20Sopenharmony_ci	tristate "TI LP8788 charger driver"
4838c2ecf20Sopenharmony_ci	depends on MFD_LP8788
4848c2ecf20Sopenharmony_ci	depends on LP8788_ADC
4858c2ecf20Sopenharmony_ci	depends on IIO
4868c2ecf20Sopenharmony_ci	help
4878c2ecf20Sopenharmony_ci	  Say Y to enable support for the LP8788 linear charger.
4888c2ecf20Sopenharmony_ci
4898c2ecf20Sopenharmony_ciconfig CHARGER_GPIO
4908c2ecf20Sopenharmony_ci	tristate "GPIO charger"
4918c2ecf20Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
4928c2ecf20Sopenharmony_ci	help
4938c2ecf20Sopenharmony_ci	  Say Y to include support for chargers which report their online status
4948c2ecf20Sopenharmony_ci	  through a GPIO pin.
4958c2ecf20Sopenharmony_ci
4968c2ecf20Sopenharmony_ci	  This driver can be build as a module. If so, the module will be
4978c2ecf20Sopenharmony_ci	  called gpio-charger.
4988c2ecf20Sopenharmony_ci
4998c2ecf20Sopenharmony_ciconfig CHARGER_MANAGER
5008c2ecf20Sopenharmony_ci	tristate "Battery charger manager for multiple chargers"
5018c2ecf20Sopenharmony_ci	depends on REGULATOR
5028c2ecf20Sopenharmony_ci	select EXTCON
5038c2ecf20Sopenharmony_ci	help
5048c2ecf20Sopenharmony_ci	  Say Y to enable charger-manager support, which allows multiple
5058c2ecf20Sopenharmony_ci	  chargers attached to a battery and multiple batteries attached to a
5068c2ecf20Sopenharmony_ci	  system. The charger-manager also can monitor charging status in
5078c2ecf20Sopenharmony_ci	  runtime and in suspend-to-RAM by waking up the system periodically
5088c2ecf20Sopenharmony_ci	  with help of suspend_again support.
5098c2ecf20Sopenharmony_ci
5108c2ecf20Sopenharmony_ciconfig CHARGER_LT3651
5118c2ecf20Sopenharmony_ci	tristate "Analog Devices LT3651 charger"
5128c2ecf20Sopenharmony_ci	depends on GPIOLIB
5138c2ecf20Sopenharmony_ci	help
5148c2ecf20Sopenharmony_ci	  Say Y to include support for the Analog Devices (Linear Technology)
5158c2ecf20Sopenharmony_ci	  LT3651 battery charger which reports its status via GPIO lines.
5168c2ecf20Sopenharmony_ci
5178c2ecf20Sopenharmony_ciconfig CHARGER_MAX14577
5188c2ecf20Sopenharmony_ci	tristate "Maxim MAX14577/77836 battery charger driver"
5198c2ecf20Sopenharmony_ci	depends on MFD_MAX14577
5208c2ecf20Sopenharmony_ci	help
5218c2ecf20Sopenharmony_ci	  Say Y to enable support for the battery charger control sysfs and
5228c2ecf20Sopenharmony_ci	  platform data of MAX14577/77836 MUICs.
5238c2ecf20Sopenharmony_ci
5248c2ecf20Sopenharmony_ciconfig CHARGER_DETECTOR_MAX14656
5258c2ecf20Sopenharmony_ci	tristate "Maxim MAX14656 USB charger detector"
5268c2ecf20Sopenharmony_ci	depends on I2C
5278c2ecf20Sopenharmony_ci	depends on OF
5288c2ecf20Sopenharmony_ci	help
5298c2ecf20Sopenharmony_ci	  Say Y to enable support for the Maxim MAX14656 USB charger detector.
5308c2ecf20Sopenharmony_ci	  The device is compliant with the USB Battery Charging Specification
5318c2ecf20Sopenharmony_ci	  Revision 1.2 and can be found e.g. in Kindle 4/5th generation
5328c2ecf20Sopenharmony_ci	  readers and certain LG devices.
5338c2ecf20Sopenharmony_ci
5348c2ecf20Sopenharmony_ciconfig CHARGER_MAX77650
5358c2ecf20Sopenharmony_ci	tristate "Maxim MAX77650 battery charger driver"
5368c2ecf20Sopenharmony_ci	depends on MFD_MAX77650
5378c2ecf20Sopenharmony_ci	help
5388c2ecf20Sopenharmony_ci	  Say Y to enable support for the battery charger control of MAX77650
5398c2ecf20Sopenharmony_ci	  PMICs.
5408c2ecf20Sopenharmony_ci
5418c2ecf20Sopenharmony_ciconfig CHARGER_MAX77693
5428c2ecf20Sopenharmony_ci	tristate "Maxim MAX77693 battery charger driver"
5438c2ecf20Sopenharmony_ci	depends on MFD_MAX77693
5448c2ecf20Sopenharmony_ci	help
5458c2ecf20Sopenharmony_ci	  Say Y to enable support for the Maxim MAX77693 battery charger.
5468c2ecf20Sopenharmony_ci
5478c2ecf20Sopenharmony_ciconfig CHARGER_MAX8997
5488c2ecf20Sopenharmony_ci	tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver"
5498c2ecf20Sopenharmony_ci	depends on MFD_MAX8997 && REGULATOR_MAX8997
5508c2ecf20Sopenharmony_ci	help
5518c2ecf20Sopenharmony_ci	  Say Y to enable support for the battery charger control sysfs and
5528c2ecf20Sopenharmony_ci	  platform data of MAX8997/LP3974 PMICs.
5538c2ecf20Sopenharmony_ci
5548c2ecf20Sopenharmony_ciconfig CHARGER_MAX8998
5558c2ecf20Sopenharmony_ci	tristate "Maxim MAX8998/LP3974 PMIC battery charger driver"
5568c2ecf20Sopenharmony_ci	depends on MFD_MAX8998 && REGULATOR_MAX8998
5578c2ecf20Sopenharmony_ci	help
5588c2ecf20Sopenharmony_ci	  Say Y to enable support for the battery charger control sysfs and
5598c2ecf20Sopenharmony_ci	  platform data of MAX8998/LP3974 PMICs.
5608c2ecf20Sopenharmony_ci
5618c2ecf20Sopenharmony_ciconfig CHARGER_MP2629
5628c2ecf20Sopenharmony_ci	tristate "Monolithic power system MP2629 Battery charger"
5638c2ecf20Sopenharmony_ci	depends on MFD_MP2629
5648c2ecf20Sopenharmony_ci	depends on MP2629_ADC
5658c2ecf20Sopenharmony_ci	depends on IIO
5668c2ecf20Sopenharmony_ci	help
5678c2ecf20Sopenharmony_ci	  Select this option to enable support for Monolithic power system
5688c2ecf20Sopenharmony_ci	  Battery charger. This driver provides Battery charger power management
5698c2ecf20Sopenharmony_ci	  functions on the systems.
5708c2ecf20Sopenharmony_ci
5718c2ecf20Sopenharmony_ciconfig CHARGER_QCOM_SMBB
5728c2ecf20Sopenharmony_ci	tristate "Qualcomm Switch-Mode Battery Charger and Boost"
5738c2ecf20Sopenharmony_ci	depends on MFD_SPMI_PMIC || COMPILE_TEST
5748c2ecf20Sopenharmony_ci	depends on OF
5758c2ecf20Sopenharmony_ci	depends on EXTCON
5768c2ecf20Sopenharmony_ci	depends on REGULATOR
5778c2ecf20Sopenharmony_ci	help
5788c2ecf20Sopenharmony_ci	  Say Y to include support for the Switch-Mode Battery Charger and
5798c2ecf20Sopenharmony_ci	  Boost (SMBB) hardware found in Qualcomm PM8941 PMICs.  The charger
5808c2ecf20Sopenharmony_ci	  is an integrated, single-cell lithium-ion battery charger.  DT
5818c2ecf20Sopenharmony_ci	  configuration is required for loading, see the devicetree
5828c2ecf20Sopenharmony_ci	  documentation for more detail.  The base name for this driver is
5838c2ecf20Sopenharmony_ci	  'pm8941_charger'.
5848c2ecf20Sopenharmony_ci
5858c2ecf20Sopenharmony_ciconfig CHARGER_BQ2415X
5868c2ecf20Sopenharmony_ci	tristate "TI BQ2415x battery charger driver"
5878c2ecf20Sopenharmony_ci	depends on I2C
5888c2ecf20Sopenharmony_ci	help
5898c2ecf20Sopenharmony_ci	  Say Y to enable support for the TI BQ2415x battery charger
5908c2ecf20Sopenharmony_ci	  PMICs.
5918c2ecf20Sopenharmony_ci
5928c2ecf20Sopenharmony_ci	  You'll need this driver to charge batteries on e.g. Nokia
5938c2ecf20Sopenharmony_ci	  RX-51/N900.
5948c2ecf20Sopenharmony_ci
5958c2ecf20Sopenharmony_ciconfig CHARGER_BQ24190
5968c2ecf20Sopenharmony_ci	tristate "TI BQ24190 battery charger driver"
5978c2ecf20Sopenharmony_ci	depends on I2C
5988c2ecf20Sopenharmony_ci	depends on EXTCON
5998c2ecf20Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
6008c2ecf20Sopenharmony_ci	help
6018c2ecf20Sopenharmony_ci	  Say Y to enable support for the TI BQ24190 battery charger.
6028c2ecf20Sopenharmony_ci
6038c2ecf20Sopenharmony_ciconfig CHARGER_BQ24257
6048c2ecf20Sopenharmony_ci	tristate "TI BQ24250/24251/24257 battery charger driver"
6058c2ecf20Sopenharmony_ci	depends on I2C
6068c2ecf20Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
6078c2ecf20Sopenharmony_ci	select REGMAP_I2C
6088c2ecf20Sopenharmony_ci	help
6098c2ecf20Sopenharmony_ci	  Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery
6108c2ecf20Sopenharmony_ci	  chargers.
6118c2ecf20Sopenharmony_ci
6128c2ecf20Sopenharmony_ciconfig CHARGER_BQ24735
6138c2ecf20Sopenharmony_ci	tristate "TI BQ24735 battery charger support"
6148c2ecf20Sopenharmony_ci	depends on I2C
6158c2ecf20Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
6168c2ecf20Sopenharmony_ci	help
6178c2ecf20Sopenharmony_ci	  Say Y to enable support for the TI BQ24735 battery charger.
6188c2ecf20Sopenharmony_ci
6198c2ecf20Sopenharmony_ciconfig CHARGER_BQ2515X
6208c2ecf20Sopenharmony_ci	tristate "TI BQ2515X battery charger family"
6218c2ecf20Sopenharmony_ci	depends on I2C
6228c2ecf20Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
6238c2ecf20Sopenharmony_ci	select REGMAP_I2C
6248c2ecf20Sopenharmony_ci	help
6258c2ecf20Sopenharmony_ci	  Say Y to enable support for the TI BQ2515X family of battery
6268c2ecf20Sopenharmony_ci	  charging integrated circuits. The BQ2515X are highly integrated
6278c2ecf20Sopenharmony_ci	  battery charge management ICs that integrate the most common
6288c2ecf20Sopenharmony_ci	  functions for wearable devices, namely a charger, an output voltage
6298c2ecf20Sopenharmony_ci	  rail, ADC for battery and system monitoring, and push-button
6308c2ecf20Sopenharmony_ci	  controller.
6318c2ecf20Sopenharmony_ci
6328c2ecf20Sopenharmony_ciconfig CHARGER_BQ25890
6338c2ecf20Sopenharmony_ci	tristate "TI BQ25890 battery charger driver"
6348c2ecf20Sopenharmony_ci	depends on I2C
6358c2ecf20Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
6368c2ecf20Sopenharmony_ci	select REGMAP_I2C
6378c2ecf20Sopenharmony_ci	help
6388c2ecf20Sopenharmony_ci	  Say Y to enable support for the TI BQ25890 battery charger.
6398c2ecf20Sopenharmony_ci
6408c2ecf20Sopenharmony_ciconfig CHARGER_BQ25980
6418c2ecf20Sopenharmony_ci	tristate "TI BQ25980 battery charger driver"
6428c2ecf20Sopenharmony_ci	depends on I2C
6438c2ecf20Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
6448c2ecf20Sopenharmony_ci	select REGMAP_I2C
6458c2ecf20Sopenharmony_ci	help
6468c2ecf20Sopenharmony_ci	  Say Y to enable support for the TI BQ25980, BQ25975 and BQ25960
6478c2ecf20Sopenharmony_ci	  series of fast battery chargers.
6488c2ecf20Sopenharmony_ci
6498c2ecf20Sopenharmony_ciconfig CHARGER_SMB347
6508c2ecf20Sopenharmony_ci	tristate "Summit Microelectronics SMB3XX Battery Charger"
6518c2ecf20Sopenharmony_ci	depends on I2C
6528c2ecf20Sopenharmony_ci	select REGMAP_I2C
6538c2ecf20Sopenharmony_ci	help
6548c2ecf20Sopenharmony_ci	  Say Y to include support for Summit Microelectronics SMB345,
6558c2ecf20Sopenharmony_ci	  SMB347 or SMB358 Battery Charger.
6568c2ecf20Sopenharmony_ci
6578c2ecf20Sopenharmony_ciconfig CHARGER_TPS65090
6588c2ecf20Sopenharmony_ci	tristate "TPS65090 battery charger driver"
6598c2ecf20Sopenharmony_ci	depends on MFD_TPS65090
6608c2ecf20Sopenharmony_ci	help
6618c2ecf20Sopenharmony_ci	  Say Y here to enable support for battery charging with TPS65090
6628c2ecf20Sopenharmony_ci	  PMIC chips.
6638c2ecf20Sopenharmony_ci
6648c2ecf20Sopenharmony_ciconfig CHARGER_TPS65217
6658c2ecf20Sopenharmony_ci	tristate "TPS65217 battery charger driver"
6668c2ecf20Sopenharmony_ci	depends on MFD_TPS65217
6678c2ecf20Sopenharmony_ci	help
6688c2ecf20Sopenharmony_ci	  Say Y here to enable support for battery charging with TPS65217
6698c2ecf20Sopenharmony_ci	  PMIC chips.
6708c2ecf20Sopenharmony_ci
6718c2ecf20Sopenharmony_ciconfig BATTERY_GAUGE_LTC2941
6728c2ecf20Sopenharmony_ci	tristate "LTC2941/LTC2943 Battery Gauge Driver"
6738c2ecf20Sopenharmony_ci	depends on I2C
6748c2ecf20Sopenharmony_ci	help
6758c2ecf20Sopenharmony_ci	  Say Y here to include support for LTC2941 and LTC2943 Battery
6768c2ecf20Sopenharmony_ci	  Gauge IC. The driver reports the charge count continuously, and
6778c2ecf20Sopenharmony_ci	  measures the voltage and temperature every 10 seconds.
6788c2ecf20Sopenharmony_ci
6798c2ecf20Sopenharmony_ciconfig AB8500_BM
6808c2ecf20Sopenharmony_ci	bool "AB8500 Battery Management Driver"
6818c2ecf20Sopenharmony_ci	depends on AB8500_CORE && AB8500_GPADC && (IIO = y)
6828c2ecf20Sopenharmony_ci	help
6838c2ecf20Sopenharmony_ci	  Say Y to include support for AB8500 battery management.
6848c2ecf20Sopenharmony_ci
6858c2ecf20Sopenharmony_ciconfig BATTERY_GOLDFISH
6868c2ecf20Sopenharmony_ci	tristate "Goldfish battery driver"
6878c2ecf20Sopenharmony_ci	depends on GOLDFISH || COMPILE_TEST
6888c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
6898c2ecf20Sopenharmony_ci	help
6908c2ecf20Sopenharmony_ci	  Say Y to enable support for the battery and AC power in the
6918c2ecf20Sopenharmony_ci	  Goldfish emulator.
6928c2ecf20Sopenharmony_ci
6938c2ecf20Sopenharmony_ciconfig BATTERY_RT5033
6948c2ecf20Sopenharmony_ci	tristate "RT5033 fuel gauge support"
6958c2ecf20Sopenharmony_ci	depends on I2C
6968c2ecf20Sopenharmony_ci	select REGMAP_I2C
6978c2ecf20Sopenharmony_ci	help
6988c2ecf20Sopenharmony_ci	  This adds support for battery fuel gauge in Richtek RT5033 PMIC.
6998c2ecf20Sopenharmony_ci	  The fuelgauge calculates and determines the battery state of charge
7008c2ecf20Sopenharmony_ci	  according to battery open circuit voltage.
7018c2ecf20Sopenharmony_ci
7028c2ecf20Sopenharmony_ciconfig CHARGER_RT9455
7038c2ecf20Sopenharmony_ci	tristate "Richtek RT9455 battery charger driver"
7048c2ecf20Sopenharmony_ci	depends on I2C
7058c2ecf20Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
7068c2ecf20Sopenharmony_ci	select REGMAP_I2C
7078c2ecf20Sopenharmony_ci	help
7088c2ecf20Sopenharmony_ci	  Say Y to enable support for Richtek RT9455 battery charger.
7098c2ecf20Sopenharmony_ci
7108c2ecf20Sopenharmony_ciconfig CHARGER_CROS_USBPD
7118c2ecf20Sopenharmony_ci	tristate "ChromeOS EC based USBPD charger"
7128c2ecf20Sopenharmony_ci	depends on CROS_USBPD_NOTIFY
7138c2ecf20Sopenharmony_ci	help
7148c2ecf20Sopenharmony_ci	  Say Y here to enable ChromeOS EC based USBPD charger
7158c2ecf20Sopenharmony_ci	  driver. This driver gets various bits of information about
7168c2ecf20Sopenharmony_ci	  what is connected to USB PD ports from the EC and converts
7178c2ecf20Sopenharmony_ci	  that into power_supply properties.
7188c2ecf20Sopenharmony_ci
7198c2ecf20Sopenharmony_ciconfig CHARGER_SC2731
7208c2ecf20Sopenharmony_ci	tristate "Spreadtrum SC2731 charger driver"
7218c2ecf20Sopenharmony_ci	depends on MFD_SC27XX_PMIC || COMPILE_TEST
7228c2ecf20Sopenharmony_ci	help
7238c2ecf20Sopenharmony_ci	  Say Y here to enable support for battery charging with SC2731
7248c2ecf20Sopenharmony_ci	  PMIC chips.
7258c2ecf20Sopenharmony_ci
7268c2ecf20Sopenharmony_ciconfig FUEL_GAUGE_SC27XX
7278c2ecf20Sopenharmony_ci	tristate "Spreadtrum SC27XX fuel gauge driver"
7288c2ecf20Sopenharmony_ci	depends on MFD_SC27XX_PMIC || COMPILE_TEST
7298c2ecf20Sopenharmony_ci	depends on IIO
7308c2ecf20Sopenharmony_ci	help
7318c2ecf20Sopenharmony_ci	  Say Y here to enable support for fuel gauge with SC27XX
7328c2ecf20Sopenharmony_ci	  PMIC chips.
7338c2ecf20Sopenharmony_ci
7348c2ecf20Sopenharmony_ciconfig CHARGER_UCS1002
7358c2ecf20Sopenharmony_ci	tristate "Microchip UCS1002 USB Port Power Controller"
7368c2ecf20Sopenharmony_ci	depends on I2C
7378c2ecf20Sopenharmony_ci	depends on OF
7388c2ecf20Sopenharmony_ci	depends on REGULATOR
7398c2ecf20Sopenharmony_ci	select REGMAP_I2C
7408c2ecf20Sopenharmony_ci	help
7418c2ecf20Sopenharmony_ci	  Say Y to enable support for Microchip UCS1002 Programmable
7428c2ecf20Sopenharmony_ci	  USB Port Power Controller with Charger Emulation.
7438c2ecf20Sopenharmony_ci
7448c2ecf20Sopenharmony_ciconfig CHARGER_BD70528
7458c2ecf20Sopenharmony_ci	tristate "ROHM bd70528 charger driver"
7468c2ecf20Sopenharmony_ci	depends on MFD_ROHM_BD70528
7478c2ecf20Sopenharmony_ci	select LINEAR_RANGES
7488c2ecf20Sopenharmony_ci	help
7498c2ecf20Sopenharmony_ci	  Say Y here to enable support for getting battery status
7508c2ecf20Sopenharmony_ci	  information and altering charger configurations from charger
7518c2ecf20Sopenharmony_ci	  block of the ROHM BD70528 Power Management IC.
7528c2ecf20Sopenharmony_ci
7538c2ecf20Sopenharmony_ciconfig CHARGER_BD99954
7548c2ecf20Sopenharmony_ci	tristate "ROHM bd99954 charger driver"
7558c2ecf20Sopenharmony_ci	depends on I2C
7568c2ecf20Sopenharmony_ci	select LINEAR_RANGES
7578c2ecf20Sopenharmony_ci	help
7588c2ecf20Sopenharmony_ci	  Say Y here to enable support for getting battery and charger
7598c2ecf20Sopenharmony_ci	  information and altering charger configurations from the ROHM
7608c2ecf20Sopenharmony_ci	  BD99954 charger IC.
7618c2ecf20Sopenharmony_ci
7628c2ecf20Sopenharmony_ciconfig CHARGER_WILCO
7638c2ecf20Sopenharmony_ci	tristate "Wilco EC based charger for ChromeOS"
7648c2ecf20Sopenharmony_ci	depends on WILCO_EC
7658c2ecf20Sopenharmony_ci	help
7668c2ecf20Sopenharmony_ci	  Say Y here to enable control of the charging routines performed
7678c2ecf20Sopenharmony_ci	  by the Embedded Controller on the Chromebook named Wilco. Further
7688c2ecf20Sopenharmony_ci	  information can be found in
7698c2ecf20Sopenharmony_ci	  Documentation/ABI/testing/sysfs-class-power-wilco
7708c2ecf20Sopenharmony_ci
7718c2ecf20Sopenharmony_ciconfig RN5T618_POWER
7728c2ecf20Sopenharmony_ci	tristate "RN5T618 charger/fuel gauge support"
7738c2ecf20Sopenharmony_ci	depends on MFD_RN5T618
7748c2ecf20Sopenharmony_ci	help
7758c2ecf20Sopenharmony_ci	  Say Y here to have support for RN5T618 PMIC family fuel gauge and charger.
7768c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
7778c2ecf20Sopenharmony_ci	  called rn5t618_power.
7788c2ecf20Sopenharmony_ci
7798c2ecf20Sopenharmony_ciendif # POWER_SUPPLY
780