162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenuconfig POWER_SUPPLY
362306a36Sopenharmony_ci	bool "Power supply class support"
462306a36Sopenharmony_ci	help
562306a36Sopenharmony_ci	  Say Y here to enable power supply class support. This allows
662306a36Sopenharmony_ci	  power supply (batteries, AC, USB) monitoring by userspace
762306a36Sopenharmony_ci	  via sysfs and uevent (if available) and/or APM kernel interface
862306a36Sopenharmony_ci	  (if selected below).
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciif POWER_SUPPLY
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciconfig POWER_SUPPLY_DEBUG
1362306a36Sopenharmony_ci	bool "Power supply debug"
1462306a36Sopenharmony_ci	help
1562306a36Sopenharmony_ci	  Say Y here to enable debugging messages for power supply class
1662306a36Sopenharmony_ci	  and drivers.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciconfig POWER_SUPPLY_HWMON
1962306a36Sopenharmony_ci	bool
2062306a36Sopenharmony_ci	prompt "Expose power supply sensors as hwmon device"
2162306a36Sopenharmony_ci	depends on HWMON=y || HWMON=POWER_SUPPLY
2262306a36Sopenharmony_ci	default y
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  This options enables API that allows sensors found on a
2562306a36Sopenharmony_ci	  power supply device (current, voltage, temperature) to be
2662306a36Sopenharmony_ci	  exposed as a hwmon device.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci	  Say 'Y' here if you want power supplies to
2962306a36Sopenharmony_ci	  have hwmon sysfs interface too.
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciconfig APM_POWER
3262306a36Sopenharmony_ci	tristate "APM emulation for class batteries"
3362306a36Sopenharmony_ci	depends on APM_EMULATION
3462306a36Sopenharmony_ci	help
3562306a36Sopenharmony_ci	  Say Y here to enable support APM status emulation using
3662306a36Sopenharmony_ci	  battery class devices.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciconfig GENERIC_ADC_BATTERY
3962306a36Sopenharmony_ci	tristate "Generic battery support using IIO"
4062306a36Sopenharmony_ci	depends on IIO
4162306a36Sopenharmony_ci	help
4262306a36Sopenharmony_ci	  Say Y here to enable support for the generic battery driver
4362306a36Sopenharmony_ci	  which uses IIO framework to read adc.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciconfig IP5XXX_POWER
4662306a36Sopenharmony_ci	tristate "Injoinic IP5xxx power bank IC driver"
4762306a36Sopenharmony_ci	depends on I2C
4862306a36Sopenharmony_ci	select REGMAP_I2C
4962306a36Sopenharmony_ci	help
5062306a36Sopenharmony_ci	  Say Y to include support for Injoinic IP5xxx power bank ICs,
5162306a36Sopenharmony_ci	  which include a battery charger and a boost converter.
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ciconfig MAX8925_POWER
5462306a36Sopenharmony_ci	tristate "MAX8925 battery charger support"
5562306a36Sopenharmony_ci	depends on MFD_MAX8925
5662306a36Sopenharmony_ci	help
5762306a36Sopenharmony_ci	  Say Y here to enable support for the battery charger in the Maxim
5862306a36Sopenharmony_ci	  MAX8925 PMIC.
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ciconfig WM831X_BACKUP
6162306a36Sopenharmony_ci	tristate "WM831X backup battery charger support"
6262306a36Sopenharmony_ci	depends on MFD_WM831X
6362306a36Sopenharmony_ci	help
6462306a36Sopenharmony_ci	  Say Y here to enable support for the backup battery charger
6562306a36Sopenharmony_ci	  in the Wolfson Microelectronics WM831x PMICs.
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_ciconfig WM831X_POWER
6862306a36Sopenharmony_ci	tristate "WM831X PMU support"
6962306a36Sopenharmony_ci	depends on MFD_WM831X
7062306a36Sopenharmony_ci	help
7162306a36Sopenharmony_ci	  Say Y here to enable support for the power management unit
7262306a36Sopenharmony_ci	  provided by Wolfson Microelectronics WM831x PMICs.
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ciconfig WM8350_POWER
7562306a36Sopenharmony_ci	tristate "WM8350 PMU support"
7662306a36Sopenharmony_ci	depends on MFD_WM8350
7762306a36Sopenharmony_ci	help
7862306a36Sopenharmony_ci	  Say Y here to enable support for the power management unit
7962306a36Sopenharmony_ci	  provided by the Wolfson Microelectronics WM8350 PMIC.
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ciconfig TEST_POWER
8262306a36Sopenharmony_ci	tristate "Test power driver"
8362306a36Sopenharmony_ci	help
8462306a36Sopenharmony_ci	  This driver is used for testing. It's safe to say M here.
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ciconfig BATTERY_88PM860X
8762306a36Sopenharmony_ci	tristate "Marvell 88PM860x battery driver"
8862306a36Sopenharmony_ci	depends on MFD_88PM860X
8962306a36Sopenharmony_ci	help
9062306a36Sopenharmony_ci	  Say Y here to enable battery monitor for Marvell 88PM860x chip.
9162306a36Sopenharmony_ci
9262306a36Sopenharmony_ciconfig CHARGER_ADP5061
9362306a36Sopenharmony_ci	tristate "ADP5061 battery charger driver"
9462306a36Sopenharmony_ci	depends on I2C
9562306a36Sopenharmony_ci	select REGMAP_I2C
9662306a36Sopenharmony_ci	help
9762306a36Sopenharmony_ci	  Say Y here to enable support for the ADP5061 standalone battery
9862306a36Sopenharmony_ci	  charger.
9962306a36Sopenharmony_ci
10062306a36Sopenharmony_ci	  This driver can be built as a module. If so, the module will be
10162306a36Sopenharmony_ci	  called adp5061.
10262306a36Sopenharmony_ci
10362306a36Sopenharmony_ciconfig BATTERY_ACT8945A
10462306a36Sopenharmony_ci	tristate "Active-semi ACT8945A charger driver"
10562306a36Sopenharmony_ci	depends on MFD_ACT8945A || COMPILE_TEST
10662306a36Sopenharmony_ci	help
10762306a36Sopenharmony_ci	  Say Y here to enable support for power supply provided by
10862306a36Sopenharmony_ci	  Active-semi ActivePath ACT8945A charger.
10962306a36Sopenharmony_ci
11062306a36Sopenharmony_ciconfig BATTERY_CPCAP
11162306a36Sopenharmony_ci	tristate "Motorola CPCAP PMIC battery driver"
11262306a36Sopenharmony_ci	depends on MFD_CPCAP && IIO
11362306a36Sopenharmony_ci	default MFD_CPCAP
11462306a36Sopenharmony_ci	help
11562306a36Sopenharmony_ci	  Say Y here to enable support for battery on Motorola
11662306a36Sopenharmony_ci	  phones and tablets such as droid 4.
11762306a36Sopenharmony_ci
11862306a36Sopenharmony_ciconfig BATTERY_CW2015
11962306a36Sopenharmony_ci	tristate "CW2015 Battery driver"
12062306a36Sopenharmony_ci	depends on I2C
12162306a36Sopenharmony_ci	select REGMAP_I2C
12262306a36Sopenharmony_ci	help
12362306a36Sopenharmony_ci	  Say Y here to enable support for the cellwise cw2015
12462306a36Sopenharmony_ci	  battery fuel gauge (used in the Pinebook Pro & others)
12562306a36Sopenharmony_ci
12662306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
12762306a36Sopenharmony_ci	  called cw2015_battery.
12862306a36Sopenharmony_ci
12962306a36Sopenharmony_ciconfig BATTERY_DS2760
13062306a36Sopenharmony_ci	tristate "DS2760 battery driver (HP iPAQ & others)"
13162306a36Sopenharmony_ci	depends on W1
13262306a36Sopenharmony_ci	help
13362306a36Sopenharmony_ci	  Say Y here to enable support for batteries with ds2760 chip.
13462306a36Sopenharmony_ci
13562306a36Sopenharmony_ciconfig BATTERY_DS2780
13662306a36Sopenharmony_ci	tristate "DS2780 battery driver"
13762306a36Sopenharmony_ci	depends on HAS_IOMEM
13862306a36Sopenharmony_ci	select W1
13962306a36Sopenharmony_ci	select W1_SLAVE_DS2780
14062306a36Sopenharmony_ci	help
14162306a36Sopenharmony_ci	  Say Y here to enable support for batteries with ds2780 chip.
14262306a36Sopenharmony_ci
14362306a36Sopenharmony_ciconfig BATTERY_DS2781
14462306a36Sopenharmony_ci	tristate "DS2781 battery driver"
14562306a36Sopenharmony_ci	depends on HAS_IOMEM
14662306a36Sopenharmony_ci	select W1
14762306a36Sopenharmony_ci	select W1_SLAVE_DS2781
14862306a36Sopenharmony_ci	help
14962306a36Sopenharmony_ci	  If you enable this you will have the DS2781 battery driver support.
15062306a36Sopenharmony_ci
15162306a36Sopenharmony_ci	  The battery monitor chip is used in many batteries/devices
15262306a36Sopenharmony_ci	  as the one who is responsible for charging/discharging/monitoring
15362306a36Sopenharmony_ci	  Li+ batteries.
15462306a36Sopenharmony_ci
15562306a36Sopenharmony_ci	  If you are unsure, say N.
15662306a36Sopenharmony_ci
15762306a36Sopenharmony_ciconfig BATTERY_DS2782
15862306a36Sopenharmony_ci	tristate "DS2782/DS2786 standalone gas-gauge"
15962306a36Sopenharmony_ci	depends on I2C
16062306a36Sopenharmony_ci	help
16162306a36Sopenharmony_ci	  Say Y here to enable support for the DS2782/DS2786 standalone battery
16262306a36Sopenharmony_ci	  gas-gauge.
16362306a36Sopenharmony_ci
16462306a36Sopenharmony_ciconfig BATTERY_LEGO_EV3
16562306a36Sopenharmony_ci	tristate "LEGO MINDSTORMS EV3 battery"
16662306a36Sopenharmony_ci	depends on OF && IIO && GPIOLIB && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
16762306a36Sopenharmony_ci	help
16862306a36Sopenharmony_ci	  Say Y here to enable support for the LEGO MINDSTORMS EV3 battery.
16962306a36Sopenharmony_ci
17062306a36Sopenharmony_ciconfig BATTERY_PMU
17162306a36Sopenharmony_ci	tristate "Apple PMU battery"
17262306a36Sopenharmony_ci	depends on PPC32 && ADB_PMU
17362306a36Sopenharmony_ci	help
17462306a36Sopenharmony_ci	  Say Y here to expose battery information on Apple machines
17562306a36Sopenharmony_ci	  through the generic battery class.
17662306a36Sopenharmony_ci
17762306a36Sopenharmony_ciconfig BATTERY_QCOM_BATTMGR
17862306a36Sopenharmony_ci	tristate "Qualcomm PMIC GLINK battery manager support"
17962306a36Sopenharmony_ci	depends on QCOM_PMIC_GLINK
18062306a36Sopenharmony_ci	select AUXILIARY_BUS
18162306a36Sopenharmony_ci	help
18262306a36Sopenharmony_ci	  Say Y here to enable the Qualcomm PMIC GLINK power supply driver,
18362306a36Sopenharmony_ci	  which is used on modern Qualcomm platforms to provide battery and
18462306a36Sopenharmony_ci	  power supply information.
18562306a36Sopenharmony_ci
18662306a36Sopenharmony_ciconfig BATTERY_OLPC
18762306a36Sopenharmony_ci	tristate "One Laptop Per Child battery"
18862306a36Sopenharmony_ci	depends on OLPC_EC
18962306a36Sopenharmony_ci	help
19062306a36Sopenharmony_ci	  Say Y to enable support for the battery on the OLPC laptop.
19162306a36Sopenharmony_ci
19262306a36Sopenharmony_ciconfig BATTERY_SAMSUNG_SDI
19362306a36Sopenharmony_ci	bool "Samsung SDI batteries"
19462306a36Sopenharmony_ci	help
19562306a36Sopenharmony_ci	  Say Y to enable support for Samsung SDI battery data.
19662306a36Sopenharmony_ci	  These batteries are used in Samsung mobile phones.
19762306a36Sopenharmony_ci
19862306a36Sopenharmony_ciconfig BATTERY_COLLIE
19962306a36Sopenharmony_ci	tristate "Sharp SL-5500 (collie) battery"
20062306a36Sopenharmony_ci	depends on SA1100_COLLIE && MCP_UCB1200
20162306a36Sopenharmony_ci	help
20262306a36Sopenharmony_ci	  Say Y to enable support for the battery on the Sharp Zaurus
20362306a36Sopenharmony_ci	  SL-5500 (collie) models.
20462306a36Sopenharmony_ci
20562306a36Sopenharmony_ciconfig BATTERY_INGENIC
20662306a36Sopenharmony_ci	tristate "Ingenic JZ47xx SoCs battery driver"
20762306a36Sopenharmony_ci	depends on MIPS || COMPILE_TEST
20862306a36Sopenharmony_ci	depends on INGENIC_ADC
20962306a36Sopenharmony_ci	help
21062306a36Sopenharmony_ci	  Choose this option if you want to monitor battery status on
21162306a36Sopenharmony_ci	  Ingenic JZ47xx SoC based devices.
21262306a36Sopenharmony_ci
21362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
21462306a36Sopenharmony_ci	  called ingenic-battery.
21562306a36Sopenharmony_ci
21662306a36Sopenharmony_ciconfig BATTERY_IPAQ_MICRO
21762306a36Sopenharmony_ci	tristate "iPAQ Atmel Micro ASIC battery driver"
21862306a36Sopenharmony_ci	depends on MFD_IPAQ_MICRO
21962306a36Sopenharmony_ci	help
22062306a36Sopenharmony_ci	  Choose this option if you want to monitor battery status on
22162306a36Sopenharmony_ci	  Compaq/HP iPAQ h3100 and h3600.
22262306a36Sopenharmony_ci
22362306a36Sopenharmony_ciconfig BATTERY_WM97XX
22462306a36Sopenharmony_ci	bool "WM97xx generic battery driver"
22562306a36Sopenharmony_ci	depends on TOUCHSCREEN_WM97XX=y
22662306a36Sopenharmony_ci	help
22762306a36Sopenharmony_ci	  Say Y to enable support for battery measured by WM97xx aux port.
22862306a36Sopenharmony_ci
22962306a36Sopenharmony_ciconfig BATTERY_SBS
23062306a36Sopenharmony_ci	tristate "SBS Compliant gas gauge"
23162306a36Sopenharmony_ci	depends on I2C
23262306a36Sopenharmony_ci	help
23362306a36Sopenharmony_ci	  Say Y to include support for SBS battery driver for SBS-compliant
23462306a36Sopenharmony_ci	  gas gauges.
23562306a36Sopenharmony_ci
23662306a36Sopenharmony_ciconfig CHARGER_SBS
23762306a36Sopenharmony_ci	tristate "SBS Compliant charger"
23862306a36Sopenharmony_ci	depends on I2C
23962306a36Sopenharmony_ci	select REGMAP_I2C
24062306a36Sopenharmony_ci	help
24162306a36Sopenharmony_ci	  Say Y to include support for SBS compliant battery chargers.
24262306a36Sopenharmony_ci
24362306a36Sopenharmony_ciconfig MANAGER_SBS
24462306a36Sopenharmony_ci	tristate "Smart Battery System Manager"
24562306a36Sopenharmony_ci	depends on I2C && I2C_MUX && GPIOLIB
24662306a36Sopenharmony_ci	select I2C_SMBUS
24762306a36Sopenharmony_ci	help
24862306a36Sopenharmony_ci	  Say Y here to include support for Smart Battery System Manager
24962306a36Sopenharmony_ci	  ICs. The driver reports online and charging status via sysfs.
25062306a36Sopenharmony_ci	  It presents itself also as I2C mux which allows to bind
25162306a36Sopenharmony_ci	  smart battery driver to its ports.
25262306a36Sopenharmony_ci	  Supported is for example LTC1760.
25362306a36Sopenharmony_ci
25462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
25562306a36Sopenharmony_ci	  called sbs-manager.
25662306a36Sopenharmony_ci
25762306a36Sopenharmony_ciconfig BATTERY_BQ27XXX
25862306a36Sopenharmony_ci	tristate "BQ27xxx battery driver"
25962306a36Sopenharmony_ci	help
26062306a36Sopenharmony_ci	  Say Y here to enable support for batteries with BQ27xxx chips.
26162306a36Sopenharmony_ci
26262306a36Sopenharmony_ciconfig BATTERY_BQ27XXX_I2C
26362306a36Sopenharmony_ci	tristate "BQ27xxx I2C support"
26462306a36Sopenharmony_ci	depends on BATTERY_BQ27XXX
26562306a36Sopenharmony_ci	depends on I2C
26662306a36Sopenharmony_ci	default y
26762306a36Sopenharmony_ci	help
26862306a36Sopenharmony_ci	  Say Y here to enable support for batteries with BQ27xxx chips
26962306a36Sopenharmony_ci	  connected over an I2C bus.
27062306a36Sopenharmony_ci
27162306a36Sopenharmony_ciconfig BATTERY_BQ27XXX_HDQ
27262306a36Sopenharmony_ci	tristate "BQ27xxx HDQ support"
27362306a36Sopenharmony_ci	depends on BATTERY_BQ27XXX
27462306a36Sopenharmony_ci	depends on W1
27562306a36Sopenharmony_ci	default y
27662306a36Sopenharmony_ci	help
27762306a36Sopenharmony_ci	  Say Y here to enable support for batteries with BQ27xxx chips
27862306a36Sopenharmony_ci	  connected over an HDQ bus.
27962306a36Sopenharmony_ci
28062306a36Sopenharmony_ciconfig BATTERY_BQ27XXX_DT_UPDATES_NVM
28162306a36Sopenharmony_ci	bool "BQ27xxx support for update of NVM/flash data memory"
28262306a36Sopenharmony_ci	depends on BATTERY_BQ27XXX_I2C
28362306a36Sopenharmony_ci	help
28462306a36Sopenharmony_ci	  Say Y here to enable devicetree monitored-battery config to update
28562306a36Sopenharmony_ci	  NVM/flash data memory. Only enable this option for devices with a
28662306a36Sopenharmony_ci	  fuel gauge mounted on the circuit board, and a battery that cannot
28762306a36Sopenharmony_ci	  easily be replaced with one of a different type. Not for
28862306a36Sopenharmony_ci	  general-purpose kernels, as this can cause misconfiguration of a
28962306a36Sopenharmony_ci	  smart battery with embedded NVM/flash.
29062306a36Sopenharmony_ci
29162306a36Sopenharmony_ciconfig BATTERY_DA9030
29262306a36Sopenharmony_ci	tristate "DA9030 battery driver"
29362306a36Sopenharmony_ci	depends on PMIC_DA903X
29462306a36Sopenharmony_ci	help
29562306a36Sopenharmony_ci	  Say Y here to enable support for batteries charger integrated into
29662306a36Sopenharmony_ci	  DA9030 PMIC.
29762306a36Sopenharmony_ci
29862306a36Sopenharmony_ciconfig BATTERY_DA9052
29962306a36Sopenharmony_ci	tristate "Dialog DA9052 Battery"
30062306a36Sopenharmony_ci	depends on PMIC_DA9052
30162306a36Sopenharmony_ci	help
30262306a36Sopenharmony_ci	  Say Y here to enable support for batteries charger integrated into
30362306a36Sopenharmony_ci	  DA9052 PMIC.
30462306a36Sopenharmony_ci
30562306a36Sopenharmony_ciconfig CHARGER_DA9150
30662306a36Sopenharmony_ci	tristate "Dialog Semiconductor DA9150 Charger support"
30762306a36Sopenharmony_ci	depends on MFD_DA9150
30862306a36Sopenharmony_ci	depends on DA9150_GPADC
30962306a36Sopenharmony_ci	depends on IIO
31062306a36Sopenharmony_ci	help
31162306a36Sopenharmony_ci	  Say Y here to enable support for charger unit of the DA9150
31262306a36Sopenharmony_ci	  Integrated Charger & Fuel-Gauge IC.
31362306a36Sopenharmony_ci
31462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
31562306a36Sopenharmony_ci	  called da9150-charger.
31662306a36Sopenharmony_ci
31762306a36Sopenharmony_ciconfig BATTERY_DA9150
31862306a36Sopenharmony_ci	tristate "Dialog Semiconductor DA9150 Fuel Gauge support"
31962306a36Sopenharmony_ci	depends on MFD_DA9150
32062306a36Sopenharmony_ci	help
32162306a36Sopenharmony_ci	  Say Y here to enable support for the Fuel-Gauge unit of the DA9150
32262306a36Sopenharmony_ci	  Integrated Charger & Fuel-Gauge IC
32362306a36Sopenharmony_ci
32462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
32562306a36Sopenharmony_ci	  called da9150-fg.
32662306a36Sopenharmony_ci
32762306a36Sopenharmony_ciconfig CHARGER_AXP20X
32862306a36Sopenharmony_ci	tristate "X-Powers AXP20X and AXP22X AC power supply driver"
32962306a36Sopenharmony_ci	depends on MFD_AXP20X
33062306a36Sopenharmony_ci	depends on AXP20X_ADC
33162306a36Sopenharmony_ci	depends on IIO
33262306a36Sopenharmony_ci	help
33362306a36Sopenharmony_ci	  Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC
33462306a36Sopenharmony_ci	  power supply.
33562306a36Sopenharmony_ci
33662306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
33762306a36Sopenharmony_ci	  called axp20x_ac_power.
33862306a36Sopenharmony_ci
33962306a36Sopenharmony_ciconfig BATTERY_AXP20X
34062306a36Sopenharmony_ci	tristate "X-Powers AXP20X battery driver"
34162306a36Sopenharmony_ci	depends on MFD_AXP20X
34262306a36Sopenharmony_ci	depends on AXP20X_ADC
34362306a36Sopenharmony_ci	depends on IIO
34462306a36Sopenharmony_ci	help
34562306a36Sopenharmony_ci	  Say Y here to enable support for X-Powers AXP20X PMICs' battery power
34662306a36Sopenharmony_ci	  supply.
34762306a36Sopenharmony_ci
34862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
34962306a36Sopenharmony_ci	  called axp20x_battery.
35062306a36Sopenharmony_ci
35162306a36Sopenharmony_ciconfig AXP20X_POWER
35262306a36Sopenharmony_ci	tristate "AXP20x power supply driver"
35362306a36Sopenharmony_ci	depends on MFD_AXP20X
35462306a36Sopenharmony_ci	depends on IIO
35562306a36Sopenharmony_ci	help
35662306a36Sopenharmony_ci	  This driver provides support for the power supply features of
35762306a36Sopenharmony_ci	  AXP20x PMIC.
35862306a36Sopenharmony_ci
35962306a36Sopenharmony_ciconfig AXP288_CHARGER
36062306a36Sopenharmony_ci	tristate "X-Powers AXP288 Charger"
36162306a36Sopenharmony_ci	depends on MFD_AXP20X && EXTCON_AXP288 && IOSF_MBI && ACPI
36262306a36Sopenharmony_ci	help
36362306a36Sopenharmony_ci	  Say yes here to have support X-Power AXP288 power management IC (PMIC)
36462306a36Sopenharmony_ci	  integrated charger.
36562306a36Sopenharmony_ci
36662306a36Sopenharmony_ciconfig AXP288_FUEL_GAUGE
36762306a36Sopenharmony_ci	tristate "X-Powers AXP288 Fuel Gauge"
36862306a36Sopenharmony_ci	depends on MFD_AXP20X && IIO && IOSF_MBI && ACPI
36962306a36Sopenharmony_ci	help
37062306a36Sopenharmony_ci	  Say yes here to have support for X-Power power management IC (PMIC)
37162306a36Sopenharmony_ci	  Fuel Gauge. The device provides battery statistics and status
37262306a36Sopenharmony_ci	  monitoring as well as alerts for battery over/under voltage and
37362306a36Sopenharmony_ci	  over/under temperature.
37462306a36Sopenharmony_ci
37562306a36Sopenharmony_ciconfig BATTERY_MAX17040
37662306a36Sopenharmony_ci	tristate "Maxim MAX17040/17041/17043 family Fuel Gauge"
37762306a36Sopenharmony_ci	depends on I2C
37862306a36Sopenharmony_ci	select REGMAP_I2C
37962306a36Sopenharmony_ci	help
38062306a36Sopenharmony_ci	  Driver supports Maxim fuel-gauge systems for lithium-ion (Li+)
38162306a36Sopenharmony_ci	  batteries used mainly in handheld and portable equipment.
38262306a36Sopenharmony_ci	  Supported devices: max17040, max17041, max17043, max17044, max17048,
38362306a36Sopenharmony_ci	  max17049, max17058, max17059, max77836.
38462306a36Sopenharmony_ci
38562306a36Sopenharmony_ci	  Driver supports reporting SOC (State of Charge, i.e capacity),
38662306a36Sopenharmony_ci	  voltage and configurable low-SOC wakeup interrupt.
38762306a36Sopenharmony_ci
38862306a36Sopenharmony_ci	  Driver can be build as a module (max17040_battery).
38962306a36Sopenharmony_ci
39062306a36Sopenharmony_ciconfig BATTERY_MAX17042
39162306a36Sopenharmony_ci	tristate "Maxim MAX17042/17047/17050/8997/8966 family Fuel Gauge"
39262306a36Sopenharmony_ci	depends on I2C
39362306a36Sopenharmony_ci	select REGMAP_I2C
39462306a36Sopenharmony_ci	help
39562306a36Sopenharmony_ci	  MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
39662306a36Sopenharmony_ci	  in handheld and portable equipment. The MAX17042 is configured
39762306a36Sopenharmony_ci	  to operate with a single lithium cell. MAX8997 and MAX8966 are
39862306a36Sopenharmony_ci	  multi-function devices that include fuel gauages that are compatible
39962306a36Sopenharmony_ci	  with MAX17042.
40062306a36Sopenharmony_ci	  Supported devices: max8966, max8997, max17042, max17047, max17050,
40162306a36Sopenharmony_ci	  max17055, max77693, max77849.
40262306a36Sopenharmony_ci
40362306a36Sopenharmony_ci	  Driver can be build as a module (max17042_battery).
40462306a36Sopenharmony_ci
40562306a36Sopenharmony_ciconfig BATTERY_MAX1721X
40662306a36Sopenharmony_ci	tristate "MAX17211/MAX17215 standalone gas-gauge"
40762306a36Sopenharmony_ci	depends on W1
40862306a36Sopenharmony_ci	select REGMAP_W1
40962306a36Sopenharmony_ci	help
41062306a36Sopenharmony_ci	  MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries
41162306a36Sopenharmony_ci	  in handheld and portable equipment. MAX17211 used with single cell
41262306a36Sopenharmony_ci	  battery. MAX17215 designed for muticell battery. Both them have
41362306a36Sopenharmony_ci	  OneWire (W1) host interface.
41462306a36Sopenharmony_ci
41562306a36Sopenharmony_ci	  Say Y here to enable support for the MAX17211/MAX17215 standalone
41662306a36Sopenharmony_ci	  battery gas-gauge.
41762306a36Sopenharmony_ci
41862306a36Sopenharmony_ciconfig BATTERY_TWL4030_MADC
41962306a36Sopenharmony_ci	tristate "TWL4030 MADC battery driver"
42062306a36Sopenharmony_ci	depends on TWL4030_MADC
42162306a36Sopenharmony_ci	help
42262306a36Sopenharmony_ci	  Say Y here to enable this dumb driver for batteries managed
42362306a36Sopenharmony_ci	  through the TWL4030 MADC.
42462306a36Sopenharmony_ci
42562306a36Sopenharmony_ciconfig CHARGER_88PM860X
42662306a36Sopenharmony_ci	tristate "Marvell 88PM860x Charger driver"
42762306a36Sopenharmony_ci	depends on MFD_88PM860X && BATTERY_88PM860X
42862306a36Sopenharmony_ci	help
42962306a36Sopenharmony_ci	  Say Y here to enable charger for Marvell 88PM860x chip.
43062306a36Sopenharmony_ci
43162306a36Sopenharmony_ciconfig CHARGER_PCF50633
43262306a36Sopenharmony_ci	tristate "NXP PCF50633 MBC"
43362306a36Sopenharmony_ci	depends on MFD_PCF50633
43462306a36Sopenharmony_ci	help
43562306a36Sopenharmony_ci	  Say Y to include support for NXP PCF50633 Main Battery Charger.
43662306a36Sopenharmony_ci
43762306a36Sopenharmony_ciconfig BATTERY_RX51
43862306a36Sopenharmony_ci	tristate "Nokia RX-51 (N900) battery driver"
43962306a36Sopenharmony_ci	depends on TWL4030_MADC
44062306a36Sopenharmony_ci	help
44162306a36Sopenharmony_ci	  Say Y here to enable support for battery information on Nokia
44262306a36Sopenharmony_ci	  RX-51, also known as N900 tablet.
44362306a36Sopenharmony_ci
44462306a36Sopenharmony_ciconfig CHARGER_CPCAP
44562306a36Sopenharmony_ci	tristate "CPCAP PMIC Charger Driver"
44662306a36Sopenharmony_ci	depends on MFD_CPCAP && IIO
44762306a36Sopenharmony_ci	depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST)
44862306a36Sopenharmony_ci	default MFD_CPCAP
44962306a36Sopenharmony_ci	help
45062306a36Sopenharmony_ci	  Say Y to enable support for CPCAP PMIC charger driver for Motorola
45162306a36Sopenharmony_ci	  mobile devices such as Droid 4.
45262306a36Sopenharmony_ci
45362306a36Sopenharmony_ciconfig CHARGER_ISP1704
45462306a36Sopenharmony_ci	tristate "ISP1704 USB Charger Detection"
45562306a36Sopenharmony_ci	depends on USB_PHY
45662306a36Sopenharmony_ci	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
45762306a36Sopenharmony_ci	help
45862306a36Sopenharmony_ci	  Say Y to enable support for USB Charger Detection with
45962306a36Sopenharmony_ci	  ISP1707/ISP1704 USB transceivers.
46062306a36Sopenharmony_ci
46162306a36Sopenharmony_ciconfig CHARGER_MAX8903
46262306a36Sopenharmony_ci	tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
46362306a36Sopenharmony_ci	help
46462306a36Sopenharmony_ci	  Say Y to enable support for the MAX8903 DC-DC charger and sysfs.
46562306a36Sopenharmony_ci	  The driver supports controlling charger-enable and current-limit
46662306a36Sopenharmony_ci	  pins based on the status of charger connections with interrupt
46762306a36Sopenharmony_ci	  handlers.
46862306a36Sopenharmony_ci
46962306a36Sopenharmony_ciconfig CHARGER_TWL4030
47062306a36Sopenharmony_ci	tristate "OMAP TWL4030 BCI charger driver"
47162306a36Sopenharmony_ci	depends on IIO && TWL4030_CORE
47262306a36Sopenharmony_ci	help
47362306a36Sopenharmony_ci	  Say Y here to enable support for TWL4030 Battery Charge Interface.
47462306a36Sopenharmony_ci
47562306a36Sopenharmony_ciconfig CHARGER_LP8727
47662306a36Sopenharmony_ci	tristate "TI/National Semiconductor LP8727 charger driver"
47762306a36Sopenharmony_ci	depends on I2C
47862306a36Sopenharmony_ci	help
47962306a36Sopenharmony_ci	  Say Y here to enable support for LP8727 Charger Driver.
48062306a36Sopenharmony_ci
48162306a36Sopenharmony_ciconfig CHARGER_LP8788
48262306a36Sopenharmony_ci	tristate "TI LP8788 charger driver"
48362306a36Sopenharmony_ci	depends on MFD_LP8788
48462306a36Sopenharmony_ci	depends on LP8788_ADC
48562306a36Sopenharmony_ci	depends on IIO
48662306a36Sopenharmony_ci	help
48762306a36Sopenharmony_ci	  Say Y to enable support for the LP8788 linear charger.
48862306a36Sopenharmony_ci
48962306a36Sopenharmony_ciconfig CHARGER_GPIO
49062306a36Sopenharmony_ci	tristate "GPIO charger"
49162306a36Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
49262306a36Sopenharmony_ci	help
49362306a36Sopenharmony_ci	  Say Y to include support for chargers which report their online status
49462306a36Sopenharmony_ci	  through a GPIO pin.
49562306a36Sopenharmony_ci
49662306a36Sopenharmony_ci	  This driver can be build as a module. If so, the module will be
49762306a36Sopenharmony_ci	  called gpio-charger.
49862306a36Sopenharmony_ci
49962306a36Sopenharmony_ciconfig CHARGER_MANAGER
50062306a36Sopenharmony_ci	tristate "Battery charger manager for multiple chargers"
50162306a36Sopenharmony_ci	depends on REGULATOR
50262306a36Sopenharmony_ci	select EXTCON
50362306a36Sopenharmony_ci	help
50462306a36Sopenharmony_ci	  Say Y to enable charger-manager support, which allows multiple
50562306a36Sopenharmony_ci	  chargers attached to a battery and multiple batteries attached to a
50662306a36Sopenharmony_ci	  system. The charger-manager also can monitor charging status in
50762306a36Sopenharmony_ci	  runtime and in suspend-to-RAM by waking up the system periodically
50862306a36Sopenharmony_ci	  with help of suspend_again support.
50962306a36Sopenharmony_ci
51062306a36Sopenharmony_ciconfig CHARGER_LT3651
51162306a36Sopenharmony_ci	tristate "Analog Devices LT3651 charger"
51262306a36Sopenharmony_ci	depends on GPIOLIB
51362306a36Sopenharmony_ci	help
51462306a36Sopenharmony_ci	  Say Y to include support for the Analog Devices (Linear Technology)
51562306a36Sopenharmony_ci	  LT3651 battery charger which reports its status via GPIO lines.
51662306a36Sopenharmony_ci
51762306a36Sopenharmony_ciconfig CHARGER_LTC4162L
51862306a36Sopenharmony_ci	tristate "LTC4162-L charger"
51962306a36Sopenharmony_ci	depends on I2C
52062306a36Sopenharmony_ci	select REGMAP_I2C
52162306a36Sopenharmony_ci	help
52262306a36Sopenharmony_ci	  Say Y to include support for the Analog Devices (Linear Technology)
52362306a36Sopenharmony_ci	  LTC4162-L battery charger connected to I2C.
52462306a36Sopenharmony_ci
52562306a36Sopenharmony_ciconfig CHARGER_MAX14577
52662306a36Sopenharmony_ci	tristate "Maxim MAX14577/77836 battery charger driver"
52762306a36Sopenharmony_ci	depends on MFD_MAX14577
52862306a36Sopenharmony_ci	help
52962306a36Sopenharmony_ci	  Say Y to enable support for the battery charger control sysfs and
53062306a36Sopenharmony_ci	  platform data of MAX14577/77836 MUICs.
53162306a36Sopenharmony_ci
53262306a36Sopenharmony_ciconfig CHARGER_DETECTOR_MAX14656
53362306a36Sopenharmony_ci	tristate "Maxim MAX14656 USB charger detector"
53462306a36Sopenharmony_ci	depends on I2C
53562306a36Sopenharmony_ci	depends on OF
53662306a36Sopenharmony_ci	help
53762306a36Sopenharmony_ci	  Say Y to enable support for the Maxim MAX14656 USB charger detector.
53862306a36Sopenharmony_ci	  The device is compliant with the USB Battery Charging Specification
53962306a36Sopenharmony_ci	  Revision 1.2 and can be found e.g. in Kindle 4/5th generation
54062306a36Sopenharmony_ci	  readers and certain LG devices.
54162306a36Sopenharmony_ci
54262306a36Sopenharmony_ciconfig CHARGER_MAX77650
54362306a36Sopenharmony_ci	tristate "Maxim MAX77650 battery charger driver"
54462306a36Sopenharmony_ci	depends on MFD_MAX77650
54562306a36Sopenharmony_ci	help
54662306a36Sopenharmony_ci	  Say Y to enable support for the battery charger control of MAX77650
54762306a36Sopenharmony_ci	  PMICs.
54862306a36Sopenharmony_ci
54962306a36Sopenharmony_ciconfig CHARGER_MAX77693
55062306a36Sopenharmony_ci	tristate "Maxim MAX77693 battery charger driver"
55162306a36Sopenharmony_ci	depends on MFD_MAX77693
55262306a36Sopenharmony_ci	help
55362306a36Sopenharmony_ci	  Say Y to enable support for the Maxim MAX77693 battery charger.
55462306a36Sopenharmony_ci
55562306a36Sopenharmony_ciconfig CHARGER_MAX77976
55662306a36Sopenharmony_ci	tristate "Maxim MAX77976 battery charger driver"
55762306a36Sopenharmony_ci	depends on I2C
55862306a36Sopenharmony_ci	select REGMAP_I2C
55962306a36Sopenharmony_ci	help
56062306a36Sopenharmony_ci	  The Maxim MAX77976 is a 19 Vin, 5.5A 1-Cell Li+ Battery Charger
56162306a36Sopenharmony_ci	  USB OTG support. It has an I2C interface for configuration.
56262306a36Sopenharmony_ci
56362306a36Sopenharmony_ci	  Say Y to enable support for the Maxim MAX77976 battery charger.
56462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
56562306a36Sopenharmony_ci	  called max77976_charger.
56662306a36Sopenharmony_ci
56762306a36Sopenharmony_ciconfig CHARGER_MAX8997
56862306a36Sopenharmony_ci	tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver"
56962306a36Sopenharmony_ci	depends on MFD_MAX8997 && REGULATOR_MAX8997
57062306a36Sopenharmony_ci	depends on EXTCON || !EXTCON
57162306a36Sopenharmony_ci	help
57262306a36Sopenharmony_ci	  Say Y to enable support for the battery charger control sysfs and
57362306a36Sopenharmony_ci	  platform data of MAX8997/LP3974 PMICs.
57462306a36Sopenharmony_ci
57562306a36Sopenharmony_ciconfig CHARGER_MAX8998
57662306a36Sopenharmony_ci	tristate "Maxim MAX8998/LP3974 PMIC battery charger driver"
57762306a36Sopenharmony_ci	depends on MFD_MAX8998 && REGULATOR_MAX8998
57862306a36Sopenharmony_ci	help
57962306a36Sopenharmony_ci	  Say Y to enable support for the battery charger control sysfs and
58062306a36Sopenharmony_ci	  platform data of MAX8998/LP3974 PMICs.
58162306a36Sopenharmony_ci
58262306a36Sopenharmony_ciconfig CHARGER_MP2629
58362306a36Sopenharmony_ci	tristate "Monolithic power system MP2629 Battery charger"
58462306a36Sopenharmony_ci	depends on MFD_MP2629
58562306a36Sopenharmony_ci	depends on MP2629_ADC
58662306a36Sopenharmony_ci	depends on IIO
58762306a36Sopenharmony_ci	help
58862306a36Sopenharmony_ci	  Select this option to enable support for Monolithic power system
58962306a36Sopenharmony_ci	  Battery charger. This driver provides Battery charger power management
59062306a36Sopenharmony_ci	  functions on the systems.
59162306a36Sopenharmony_ci
59262306a36Sopenharmony_ciconfig CHARGER_MT6360
59362306a36Sopenharmony_ci	tristate "Mediatek MT6360 Charger Driver"
59462306a36Sopenharmony_ci	depends on MFD_MT6360
59562306a36Sopenharmony_ci	depends on REGULATOR
59662306a36Sopenharmony_ci	select LINEAR_RANGES
59762306a36Sopenharmony_ci	help
59862306a36Sopenharmony_ci	  Say Y here to enable MT6360 Charger Part.
59962306a36Sopenharmony_ci	  The device supports High-Accuracy Voltage/Current Regulation,
60062306a36Sopenharmony_ci	  Average Input Current Regulation, Battery Temperature Sensing,
60162306a36Sopenharmony_ci	  Over-Temperature Protection, DPDM Detection for BC1.2.
60262306a36Sopenharmony_ci
60362306a36Sopenharmony_ciconfig CHARGER_MT6370
60462306a36Sopenharmony_ci	tristate "MediaTek MT6370 Charger Driver"
60562306a36Sopenharmony_ci	depends on MFD_MT6370
60662306a36Sopenharmony_ci	depends on REGULATOR
60762306a36Sopenharmony_ci	depends on IIO
60862306a36Sopenharmony_ci	select LINEAR_RANGES
60962306a36Sopenharmony_ci	help
61062306a36Sopenharmony_ci	  Say Y here to enable MT6370 Charger Part.
61162306a36Sopenharmony_ci	  The device supports High-Accuracy Voltage/Current Regulation,
61262306a36Sopenharmony_ci	  Average Input Current Regulation, Battery Temperature Sensing,
61362306a36Sopenharmony_ci	  Over-Temperature Protection, DPDM Detection for BC1.2.
61462306a36Sopenharmony_ci
61562306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
61662306a36Sopenharmony_ci	  will be called "mt6370-charger".
61762306a36Sopenharmony_ci
61862306a36Sopenharmony_ciconfig CHARGER_QCOM_SMBB
61962306a36Sopenharmony_ci	tristate "Qualcomm Switch-Mode Battery Charger and Boost"
62062306a36Sopenharmony_ci	depends on MFD_SPMI_PMIC || COMPILE_TEST
62162306a36Sopenharmony_ci	depends on OF
62262306a36Sopenharmony_ci	depends on EXTCON
62362306a36Sopenharmony_ci	depends on REGULATOR
62462306a36Sopenharmony_ci	help
62562306a36Sopenharmony_ci	  Say Y to include support for the Switch-Mode Battery Charger and
62662306a36Sopenharmony_ci	  Boost (SMBB) hardware found in Qualcomm PM8941 PMICs.  The charger
62762306a36Sopenharmony_ci	  is an integrated, single-cell lithium-ion battery charger.  DT
62862306a36Sopenharmony_ci	  configuration is required for loading, see the devicetree
62962306a36Sopenharmony_ci	  documentation for more detail.  The base name for this driver is
63062306a36Sopenharmony_ci	  'pm8941_charger'.
63162306a36Sopenharmony_ci
63262306a36Sopenharmony_ciconfig CHARGER_BQ2415X
63362306a36Sopenharmony_ci	tristate "TI BQ2415x battery charger driver"
63462306a36Sopenharmony_ci	depends on I2C
63562306a36Sopenharmony_ci	help
63662306a36Sopenharmony_ci	  Say Y to enable support for the TI BQ2415x battery charger
63762306a36Sopenharmony_ci	  PMICs.
63862306a36Sopenharmony_ci
63962306a36Sopenharmony_ci	  You'll need this driver to charge batteries on e.g. Nokia
64062306a36Sopenharmony_ci	  RX-51/N900.
64162306a36Sopenharmony_ci
64262306a36Sopenharmony_ciconfig CHARGER_BQ24190
64362306a36Sopenharmony_ci	tristate "TI BQ24190 battery charger driver"
64462306a36Sopenharmony_ci	depends on I2C
64562306a36Sopenharmony_ci	depends on EXTCON
64662306a36Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
64762306a36Sopenharmony_ci	help
64862306a36Sopenharmony_ci	  Say Y to enable support for the TI BQ24190 battery charger.
64962306a36Sopenharmony_ci
65062306a36Sopenharmony_ciconfig CHARGER_BQ24257
65162306a36Sopenharmony_ci	tristate "TI BQ24250/24251/24257 battery charger driver"
65262306a36Sopenharmony_ci	depends on I2C
65362306a36Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
65462306a36Sopenharmony_ci	select REGMAP_I2C
65562306a36Sopenharmony_ci	help
65662306a36Sopenharmony_ci	  Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery
65762306a36Sopenharmony_ci	  chargers.
65862306a36Sopenharmony_ci
65962306a36Sopenharmony_ciconfig CHARGER_BQ24735
66062306a36Sopenharmony_ci	tristate "TI BQ24735 battery charger support"
66162306a36Sopenharmony_ci	depends on I2C
66262306a36Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
66362306a36Sopenharmony_ci	help
66462306a36Sopenharmony_ci	  Say Y to enable support for the TI BQ24735 battery charger.
66562306a36Sopenharmony_ci
66662306a36Sopenharmony_ciconfig CHARGER_BQ2515X
66762306a36Sopenharmony_ci	tristate "TI BQ2515X battery charger family"
66862306a36Sopenharmony_ci	depends on I2C
66962306a36Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
67062306a36Sopenharmony_ci	select REGMAP_I2C
67162306a36Sopenharmony_ci	help
67262306a36Sopenharmony_ci	  Say Y to enable support for the TI BQ2515X family of battery
67362306a36Sopenharmony_ci	  charging integrated circuits. The BQ2515X are highly integrated
67462306a36Sopenharmony_ci	  battery charge management ICs that integrate the most common
67562306a36Sopenharmony_ci	  functions for wearable devices, namely a charger, an output voltage
67662306a36Sopenharmony_ci	  rail, ADC for battery and system monitoring, and push-button
67762306a36Sopenharmony_ci	  controller.
67862306a36Sopenharmony_ci
67962306a36Sopenharmony_ciconfig CHARGER_BQ25890
68062306a36Sopenharmony_ci	tristate "TI BQ25890 battery charger driver"
68162306a36Sopenharmony_ci	depends on I2C
68262306a36Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
68362306a36Sopenharmony_ci	select REGMAP_I2C
68462306a36Sopenharmony_ci	help
68562306a36Sopenharmony_ci	  Say Y to enable support for the TI BQ25890 battery charger.
68662306a36Sopenharmony_ci
68762306a36Sopenharmony_ciconfig CHARGER_BQ25980
68862306a36Sopenharmony_ci	tristate "TI BQ25980 battery charger driver"
68962306a36Sopenharmony_ci	depends on I2C
69062306a36Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
69162306a36Sopenharmony_ci	select REGMAP_I2C
69262306a36Sopenharmony_ci	help
69362306a36Sopenharmony_ci	  Say Y to enable support for the TI BQ25980, BQ25975 and BQ25960
69462306a36Sopenharmony_ci	  series of fast battery chargers.
69562306a36Sopenharmony_ci
69662306a36Sopenharmony_ciconfig CHARGER_BQ256XX
69762306a36Sopenharmony_ci	tristate "TI BQ256XX battery charger driver"
69862306a36Sopenharmony_ci	depends on I2C
69962306a36Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
70062306a36Sopenharmony_ci	select REGMAP_I2C
70162306a36Sopenharmony_ci	help
70262306a36Sopenharmony_ci	  Say Y to enable support for the TI BQ256XX battery chargers. The
70362306a36Sopenharmony_ci	  BQ256XX family of devices are highly-integrated, switch-mode battery
70462306a36Sopenharmony_ci	  charge management and system power path management devices for single
70562306a36Sopenharmony_ci	  cell Li-ion and Li-polymer batteries.
70662306a36Sopenharmony_ci
70762306a36Sopenharmony_ciconfig CHARGER_RK817
70862306a36Sopenharmony_ci	tristate "Rockchip RK817 PMIC Battery Charger"
70962306a36Sopenharmony_ci	depends on MFD_RK8XX
71062306a36Sopenharmony_ci	help
71162306a36Sopenharmony_ci	  Say Y to include support for Rockchip RK817 Battery Charger.
71262306a36Sopenharmony_ci
71362306a36Sopenharmony_ciconfig CHARGER_SMB347
71462306a36Sopenharmony_ci	tristate "Summit Microelectronics SMB3XX Battery Charger"
71562306a36Sopenharmony_ci	depends on I2C
71662306a36Sopenharmony_ci	depends on REGULATOR
71762306a36Sopenharmony_ci	select REGMAP_I2C
71862306a36Sopenharmony_ci	help
71962306a36Sopenharmony_ci	  Say Y to include support for Summit Microelectronics SMB345,
72062306a36Sopenharmony_ci	  SMB347 or SMB358 Battery Charger.
72162306a36Sopenharmony_ci
72262306a36Sopenharmony_ciconfig CHARGER_TPS65090
72362306a36Sopenharmony_ci	tristate "TPS65090 battery charger driver"
72462306a36Sopenharmony_ci	depends on MFD_TPS65090
72562306a36Sopenharmony_ci	help
72662306a36Sopenharmony_ci	  Say Y here to enable support for battery charging with TPS65090
72762306a36Sopenharmony_ci	  PMIC chips.
72862306a36Sopenharmony_ci
72962306a36Sopenharmony_ciconfig CHARGER_TPS65217
73062306a36Sopenharmony_ci	tristate "TPS65217 battery charger driver"
73162306a36Sopenharmony_ci	depends on MFD_TPS65217
73262306a36Sopenharmony_ci	help
73362306a36Sopenharmony_ci	  Say Y here to enable support for battery charging with TPS65217
73462306a36Sopenharmony_ci	  PMIC chips.
73562306a36Sopenharmony_ci
73662306a36Sopenharmony_ciconfig BATTERY_GAUGE_LTC2941
73762306a36Sopenharmony_ci	tristate "LTC2941/LTC2943 Battery Gauge Driver"
73862306a36Sopenharmony_ci	depends on I2C
73962306a36Sopenharmony_ci	help
74062306a36Sopenharmony_ci	  Say Y here to include support for LTC2941 and LTC2943 Battery
74162306a36Sopenharmony_ci	  Gauge IC. The driver reports the charge count continuously, and
74262306a36Sopenharmony_ci	  measures the voltage and temperature every 10 seconds.
74362306a36Sopenharmony_ci
74462306a36Sopenharmony_ciconfig AB8500_BM
74562306a36Sopenharmony_ci	bool "AB8500 Battery Management Driver"
74662306a36Sopenharmony_ci	depends on AB8500_CORE && AB8500_GPADC && (IIO = y) && OF
74762306a36Sopenharmony_ci	select THERMAL
74862306a36Sopenharmony_ci	select THERMAL_OF
74962306a36Sopenharmony_ci	help
75062306a36Sopenharmony_ci	  Say Y to include support for AB8500 battery management.
75162306a36Sopenharmony_ci
75262306a36Sopenharmony_ciconfig BATTERY_GOLDFISH
75362306a36Sopenharmony_ci	tristate "Goldfish battery driver"
75462306a36Sopenharmony_ci	depends on HAS_IOMEM
75562306a36Sopenharmony_ci	help
75662306a36Sopenharmony_ci	  Say Y to enable support for the Goldfish battery and AC power
75762306a36Sopenharmony_ci	  driver. Originated in the Android Studio Emulator (goldfish) it is
75862306a36Sopenharmony_ci	  going to be used in other emulators.
75962306a36Sopenharmony_ci
76062306a36Sopenharmony_ciconfig BATTERY_RT5033
76162306a36Sopenharmony_ci	tristate "RT5033 fuel gauge support"
76262306a36Sopenharmony_ci	depends on I2C
76362306a36Sopenharmony_ci	select REGMAP_I2C
76462306a36Sopenharmony_ci	help
76562306a36Sopenharmony_ci	  This adds support for battery fuel gauge in Richtek RT5033 PMIC.
76662306a36Sopenharmony_ci	  The fuelgauge calculates and determines the battery state of charge
76762306a36Sopenharmony_ci	  according to battery open circuit voltage.
76862306a36Sopenharmony_ci
76962306a36Sopenharmony_ciconfig CHARGER_RT5033
77062306a36Sopenharmony_ci	tristate "RT5033 battery charger support"
77162306a36Sopenharmony_ci	depends on MFD_RT5033
77262306a36Sopenharmony_ci	depends on EXTCON || !EXTCON
77362306a36Sopenharmony_ci	help
77462306a36Sopenharmony_ci	  This adds support for battery charger in Richtek RT5033 PMIC.
77562306a36Sopenharmony_ci	  The device supports pre-charge mode, fast charge mode and
77662306a36Sopenharmony_ci	  constant voltage mode.
77762306a36Sopenharmony_ci
77862306a36Sopenharmony_ciconfig CHARGER_RT9455
77962306a36Sopenharmony_ci	tristate "Richtek RT9455 battery charger driver"
78062306a36Sopenharmony_ci	depends on I2C
78162306a36Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
78262306a36Sopenharmony_ci	select REGMAP_I2C
78362306a36Sopenharmony_ci	help
78462306a36Sopenharmony_ci	  Say Y to enable support for Richtek RT9455 battery charger.
78562306a36Sopenharmony_ci
78662306a36Sopenharmony_ciconfig CHARGER_RT9467
78762306a36Sopenharmony_ci	tristate "Richtek RT9467 Battery Charger Driver"
78862306a36Sopenharmony_ci	depends on I2C && GPIOLIB && REGULATOR
78962306a36Sopenharmony_ci	select REGMAP_I2C
79062306a36Sopenharmony_ci	select REGMAP_IRQ
79162306a36Sopenharmony_ci	select LINEAR_RANGES
79262306a36Sopenharmony_ci	help
79362306a36Sopenharmony_ci	  Say Y here to enable RT9467 Battery Charger.
79462306a36Sopenharmony_ci	  RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger
79562306a36Sopenharmony_ci	  for portable applications. It integrates a synchronous PWM controller,
79662306a36Sopenharmony_ci	  power MOSFETs, input current sensing and regulation, high-accuracy
79762306a36Sopenharmony_ci	  voltage regulation, and charge termination. The charge current is
79862306a36Sopenharmony_ci	  regulated through integrated sensing resistors. It also features
79962306a36Sopenharmony_ci	  USB On-The-Go (OTG) support and integrates D+/D- pin for USB
80062306a36Sopenharmony_ci	  host/charging port detection.
80162306a36Sopenharmony_ci
80262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
80362306a36Sopenharmony_ci	  will be called "rt9467-charger".
80462306a36Sopenharmony_ci
80562306a36Sopenharmony_ciconfig CHARGER_RT9471
80662306a36Sopenharmony_ci	tristate "Richtek RT9471 battery charger driver"
80762306a36Sopenharmony_ci	depends on I2C && GPIOLIB && REGULATOR
80862306a36Sopenharmony_ci	select REGMAP_I2C
80962306a36Sopenharmony_ci	select REGMAP_IRQ
81062306a36Sopenharmony_ci	select LINEAR_RANGES
81162306a36Sopenharmony_ci	help
81262306a36Sopenharmony_ci	  This adds support for Richtek RT9471 battery charger. RT9471 is
81362306a36Sopenharmony_ci	  highly-integrated switch mode battery charger which is system power
81462306a36Sopenharmony_ci	  patch manageable device for single cell Li-Ion and Li-polymer battery.
81562306a36Sopenharmony_ci	  It can support BC12 detection on DPDM, and current and voltage
81662306a36Sopenharmony_ci	  regulation on both charging and boost mode.
81762306a36Sopenharmony_ci
81862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
81962306a36Sopenharmony_ci	  called rt9471.
82062306a36Sopenharmony_ci
82162306a36Sopenharmony_ciconfig CHARGER_CROS_USBPD
82262306a36Sopenharmony_ci	tristate "ChromeOS EC based USBPD charger"
82362306a36Sopenharmony_ci	depends on CROS_USBPD_NOTIFY
82462306a36Sopenharmony_ci	help
82562306a36Sopenharmony_ci	  Say Y here to enable ChromeOS EC based USBPD charger
82662306a36Sopenharmony_ci	  driver. This driver gets various bits of information about
82762306a36Sopenharmony_ci	  what is connected to USB PD ports from the EC and converts
82862306a36Sopenharmony_ci	  that into power_supply properties.
82962306a36Sopenharmony_ci
83062306a36Sopenharmony_ciconfig CHARGER_CROS_PCHG
83162306a36Sopenharmony_ci	tristate "ChromeOS EC based peripheral charger"
83262306a36Sopenharmony_ci	depends on MFD_CROS_EC_DEV
83362306a36Sopenharmony_ci	default MFD_CROS_EC_DEV
83462306a36Sopenharmony_ci	help
83562306a36Sopenharmony_ci	  Say Y here to enable ChromeOS EC based peripheral charge driver.
83662306a36Sopenharmony_ci	  This driver gets various information about the devices connected to
83762306a36Sopenharmony_ci	  the peripheral charge ports from the EC and converts that into
83862306a36Sopenharmony_ci	  power_supply properties.
83962306a36Sopenharmony_ci
84062306a36Sopenharmony_ciconfig CHARGER_SC2731
84162306a36Sopenharmony_ci	tristate "Spreadtrum SC2731 charger driver"
84262306a36Sopenharmony_ci	depends on MFD_SC27XX_PMIC || COMPILE_TEST
84362306a36Sopenharmony_ci	help
84462306a36Sopenharmony_ci	  Say Y here to enable support for battery charging with SC2731
84562306a36Sopenharmony_ci	  PMIC chips.
84662306a36Sopenharmony_ci
84762306a36Sopenharmony_ciconfig FUEL_GAUGE_SC27XX
84862306a36Sopenharmony_ci	tristate "Spreadtrum SC27XX fuel gauge driver"
84962306a36Sopenharmony_ci	depends on MFD_SC27XX_PMIC || COMPILE_TEST
85062306a36Sopenharmony_ci	depends on IIO
85162306a36Sopenharmony_ci	help
85262306a36Sopenharmony_ci	  Say Y here to enable support for fuel gauge with SC27XX
85362306a36Sopenharmony_ci	  PMIC chips.
85462306a36Sopenharmony_ci
85562306a36Sopenharmony_ciconfig CHARGER_UCS1002
85662306a36Sopenharmony_ci	tristate "Microchip UCS1002 USB Port Power Controller"
85762306a36Sopenharmony_ci	depends on I2C
85862306a36Sopenharmony_ci	depends on OF
85962306a36Sopenharmony_ci	depends on REGULATOR
86062306a36Sopenharmony_ci	select REGMAP_I2C
86162306a36Sopenharmony_ci	help
86262306a36Sopenharmony_ci	  Say Y to enable support for Microchip UCS1002 Programmable
86362306a36Sopenharmony_ci	  USB Port Power Controller with Charger Emulation.
86462306a36Sopenharmony_ci
86562306a36Sopenharmony_ciconfig CHARGER_BD99954
86662306a36Sopenharmony_ci	tristate "ROHM bd99954 charger driver"
86762306a36Sopenharmony_ci	depends on I2C
86862306a36Sopenharmony_ci	select LINEAR_RANGES
86962306a36Sopenharmony_ci	help
87062306a36Sopenharmony_ci	  Say Y here to enable support for getting battery and charger
87162306a36Sopenharmony_ci	  information and altering charger configurations from the ROHM
87262306a36Sopenharmony_ci	  BD99954 charger IC.
87362306a36Sopenharmony_ci
87462306a36Sopenharmony_ciconfig CHARGER_WILCO
87562306a36Sopenharmony_ci	tristate "Wilco EC based charger for ChromeOS"
87662306a36Sopenharmony_ci	depends on WILCO_EC
87762306a36Sopenharmony_ci	help
87862306a36Sopenharmony_ci	  Say Y here to enable control of the charging routines performed
87962306a36Sopenharmony_ci	  by the Embedded Controller on the Chromebook named Wilco. Further
88062306a36Sopenharmony_ci	  information can be found in
88162306a36Sopenharmony_ci	  Documentation/ABI/testing/sysfs-class-power-wilco
88262306a36Sopenharmony_ci
88362306a36Sopenharmony_ciconfig RN5T618_POWER
88462306a36Sopenharmony_ci	tristate "RN5T618 charger/fuel gauge support"
88562306a36Sopenharmony_ci	depends on MFD_RN5T618
88662306a36Sopenharmony_ci	depends on RN5T618_ADC
88762306a36Sopenharmony_ci	depends on IIO
88862306a36Sopenharmony_ci	help
88962306a36Sopenharmony_ci	  Say Y here to have support for RN5T618 PMIC family fuel gauge and charger.
89062306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
89162306a36Sopenharmony_ci	  called rn5t618_power.
89262306a36Sopenharmony_ci
89362306a36Sopenharmony_ciconfig BATTERY_ACER_A500
89462306a36Sopenharmony_ci	tristate "Acer Iconia Tab A500 battery driver"
89562306a36Sopenharmony_ci	depends on MFD_ACER_A500_EC
89662306a36Sopenharmony_ci	help
89762306a36Sopenharmony_ci	  Say Y to include support for Acer Iconia Tab A500 battery fuel gauge.
89862306a36Sopenharmony_ci
89962306a36Sopenharmony_ciconfig BATTERY_SURFACE
90062306a36Sopenharmony_ci	tristate "Battery driver for 7th-generation Microsoft Surface devices"
90162306a36Sopenharmony_ci	depends on SURFACE_AGGREGATOR_REGISTRY
90262306a36Sopenharmony_ci	help
90362306a36Sopenharmony_ci	  Driver for battery devices connected via/managed by the Surface System
90462306a36Sopenharmony_ci	  Aggregator Module (SSAM).
90562306a36Sopenharmony_ci
90662306a36Sopenharmony_ci	  This driver provides battery-information and -status support for
90762306a36Sopenharmony_ci	  Surface devices where said data is not exposed via the standard ACPI
90862306a36Sopenharmony_ci	  devices. On those models (7th-generation), battery-information is
90962306a36Sopenharmony_ci	  instead handled directly via SSAM client devices and this driver.
91062306a36Sopenharmony_ci
91162306a36Sopenharmony_ci	  Say M or Y here to include battery status support for 7th-generation
91262306a36Sopenharmony_ci	  Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3,
91362306a36Sopenharmony_ci	  Surface Book 3, and Surface Laptop Go.
91462306a36Sopenharmony_ci
91562306a36Sopenharmony_ciconfig CHARGER_SURFACE
91662306a36Sopenharmony_ci	tristate "AC driver for 7th-generation Microsoft Surface devices"
91762306a36Sopenharmony_ci	depends on SURFACE_AGGREGATOR_REGISTRY
91862306a36Sopenharmony_ci	help
91962306a36Sopenharmony_ci	  Driver for AC devices connected via/managed by the Surface System
92062306a36Sopenharmony_ci	  Aggregator Module (SSAM).
92162306a36Sopenharmony_ci
92262306a36Sopenharmony_ci	  This driver provides AC-information and -status support for Surface
92362306a36Sopenharmony_ci	  devices where said data is not exposed via the standard ACPI devices.
92462306a36Sopenharmony_ci	  On those models (7th-generation), AC-information is instead handled
92562306a36Sopenharmony_ci	  directly via a SSAM client device and this driver.
92662306a36Sopenharmony_ci
92762306a36Sopenharmony_ci	  Say M or Y here to include AC status support for 7th-generation
92862306a36Sopenharmony_ci	  Microsoft Surface devices, i.e. Surface Pro 7, Surface Laptop 3,
92962306a36Sopenharmony_ci	  Surface Book 3, and Surface Laptop Go.
93062306a36Sopenharmony_ci
93162306a36Sopenharmony_ciconfig BATTERY_UG3105
93262306a36Sopenharmony_ci	tristate "uPI uG3105 battery monitor driver"
93362306a36Sopenharmony_ci	depends on I2C
93462306a36Sopenharmony_ci	help
93562306a36Sopenharmony_ci	  Battery monitor driver for the uPI uG3105 battery monitor.
93662306a36Sopenharmony_ci
93762306a36Sopenharmony_ci	  Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead
93862306a36Sopenharmony_ci	  it is expected to be use in combination with some always on
93962306a36Sopenharmony_ci	  microcontroller reading its coulomb-counter before it can wrap
94062306a36Sopenharmony_ci	  (it must be read every 400 seconds!).
94162306a36Sopenharmony_ci
94262306a36Sopenharmony_ci	  Since Linux does not monitor coulomb-counter changes while the
94362306a36Sopenharmony_ci	  device is off or suspended, the functionality of this driver is
94462306a36Sopenharmony_ci	  limited to reporting capacity only.
94562306a36Sopenharmony_ci
94662306a36Sopenharmony_ciconfig CHARGER_QCOM_SMB2
94762306a36Sopenharmony_ci	tristate "Qualcomm PMI8998 PMIC charger driver"
94862306a36Sopenharmony_ci	depends on MFD_SPMI_PMIC
94962306a36Sopenharmony_ci	depends on IIO
95062306a36Sopenharmony_ci	help
95162306a36Sopenharmony_ci	  Say Y here to enable the Qualcomm PMIC Charger driver. This
95262306a36Sopenharmony_ci	  adds support for the SMB2 switch mode battery charger found
95362306a36Sopenharmony_ci	  in PMI8998 and related PMICs.
95462306a36Sopenharmony_ci
95562306a36Sopenharmony_ciendif # POWER_SUPPLY
956