13d0407baSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
23d0407baSopenharmony_cimenuconfig POWER_SUPPLY
33d0407baSopenharmony_ci	bool "Power supply class support"
43d0407baSopenharmony_ci	help
53d0407baSopenharmony_ci	  Say Y here to enable power supply class support. This allows
63d0407baSopenharmony_ci	  power supply (batteries, AC, USB) monitoring by userspace
73d0407baSopenharmony_ci	  via sysfs and uevent (if available) and/or APM kernel interface
83d0407baSopenharmony_ci	  (if selected below).
93d0407baSopenharmony_ci
103d0407baSopenharmony_ciif POWER_SUPPLY
113d0407baSopenharmony_ci
123d0407baSopenharmony_ciconfig POWER_SUPPLY_DEBUG
133d0407baSopenharmony_ci	bool "Power supply debug"
143d0407baSopenharmony_ci	help
153d0407baSopenharmony_ci	  Say Y here to enable debugging messages for power supply class
163d0407baSopenharmony_ci	  and drivers.
173d0407baSopenharmony_ci
183d0407baSopenharmony_ciconfig POWER_SUPPLY_HWMON
193d0407baSopenharmony_ci	bool
203d0407baSopenharmony_ci	prompt "Expose power supply sensors as hwmon device"
213d0407baSopenharmony_ci	depends on HWMON=y || HWMON=POWER_SUPPLY
223d0407baSopenharmony_ci	default y
233d0407baSopenharmony_ci	help
243d0407baSopenharmony_ci	  This options enables API that allows sensors found on a
253d0407baSopenharmony_ci	  power supply device (current, voltage, temperature) to be
263d0407baSopenharmony_ci	  exposed as a hwmon device.
273d0407baSopenharmony_ci
283d0407baSopenharmony_ci	  Say 'Y' here if you want power supplies to
293d0407baSopenharmony_ci	  have hwmon sysfs interface too.
303d0407baSopenharmony_ci
313d0407baSopenharmony_ci
323d0407baSopenharmony_ciconfig PDA_POWER
333d0407baSopenharmony_ci	tristate "Generic PDA/phone power driver"
343d0407baSopenharmony_ci	depends on !S390
353d0407baSopenharmony_ci	help
363d0407baSopenharmony_ci	  Say Y here to enable generic power driver for PDAs and phones with
373d0407baSopenharmony_ci	  one or two external power supplies (AC/USB) connected to main and
383d0407baSopenharmony_ci	  backup batteries, and optional builtin charger.
393d0407baSopenharmony_ci
403d0407baSopenharmony_ciconfig APM_POWER
413d0407baSopenharmony_ci	tristate "APM emulation for class batteries"
423d0407baSopenharmony_ci	depends on APM_EMULATION
433d0407baSopenharmony_ci	help
443d0407baSopenharmony_ci	  Say Y here to enable support APM status emulation using
453d0407baSopenharmony_ci	  battery class devices.
463d0407baSopenharmony_ci
473d0407baSopenharmony_ciconfig GENERIC_ADC_BATTERY
483d0407baSopenharmony_ci	tristate "Generic battery support using IIO"
493d0407baSopenharmony_ci	depends on IIO
503d0407baSopenharmony_ci	help
513d0407baSopenharmony_ci	  Say Y here to enable support for the generic battery driver
523d0407baSopenharmony_ci	  which uses IIO framework to read adc.
533d0407baSopenharmony_ci
543d0407baSopenharmony_ciconfig MAX8925_POWER
553d0407baSopenharmony_ci	tristate "MAX8925 battery charger support"
563d0407baSopenharmony_ci	depends on MFD_MAX8925
573d0407baSopenharmony_ci	help
583d0407baSopenharmony_ci	  Say Y here to enable support for the battery charger in the Maxim
593d0407baSopenharmony_ci	  MAX8925 PMIC.
603d0407baSopenharmony_ci
613d0407baSopenharmony_ciconfig WM831X_BACKUP
623d0407baSopenharmony_ci	tristate "WM831X backup battery charger support"
633d0407baSopenharmony_ci	depends on MFD_WM831X
643d0407baSopenharmony_ci	help
653d0407baSopenharmony_ci	  Say Y here to enable support for the backup battery charger
663d0407baSopenharmony_ci	  in the Wolfson Microelectronics WM831x PMICs.
673d0407baSopenharmony_ci
683d0407baSopenharmony_ciconfig WM831X_POWER
693d0407baSopenharmony_ci	tristate "WM831X PMU support"
703d0407baSopenharmony_ci	depends on MFD_WM831X
713d0407baSopenharmony_ci	help
723d0407baSopenharmony_ci	  Say Y here to enable support for the power management unit
733d0407baSopenharmony_ci	  provided by Wolfson Microelectronics WM831x PMICs.
743d0407baSopenharmony_ci
753d0407baSopenharmony_ciconfig WM8350_POWER
763d0407baSopenharmony_ci	tristate "WM8350 PMU support"
773d0407baSopenharmony_ci	depends on MFD_WM8350
783d0407baSopenharmony_ci	help
793d0407baSopenharmony_ci	  Say Y here to enable support for the power management unit
803d0407baSopenharmony_ci	  provided by the Wolfson Microelectronics WM8350 PMIC.
813d0407baSopenharmony_ci
823d0407baSopenharmony_ciconfig TEST_POWER
833d0407baSopenharmony_ci	tristate "Test power driver"
843d0407baSopenharmony_ci	help
853d0407baSopenharmony_ci	  This driver is used for testing. It's safe to say M here.
863d0407baSopenharmony_ci
873d0407baSopenharmony_ciconfig BATTERY_88PM860X
883d0407baSopenharmony_ci	tristate "Marvell 88PM860x battery driver"
893d0407baSopenharmony_ci	depends on MFD_88PM860X
903d0407baSopenharmony_ci	help
913d0407baSopenharmony_ci	  Say Y here to enable battery monitor for Marvell 88PM860x chip.
923d0407baSopenharmony_ci
933d0407baSopenharmony_ciconfig CHARGER_ADP5061
943d0407baSopenharmony_ci	tristate "ADP5061 battery charger driver"
953d0407baSopenharmony_ci	depends on I2C
963d0407baSopenharmony_ci	select REGMAP_I2C
973d0407baSopenharmony_ci	help
983d0407baSopenharmony_ci	  Say Y here to enable support for the ADP5061 standalone battery
993d0407baSopenharmony_ci	  charger.
1003d0407baSopenharmony_ci
1013d0407baSopenharmony_ci	  This driver can be built as a module. If so, the module will be
1023d0407baSopenharmony_ci	  called adp5061.
1033d0407baSopenharmony_ci
1043d0407baSopenharmony_ciconfig BATTERY_ACT8945A
1053d0407baSopenharmony_ci	tristate "Active-semi ACT8945A charger driver"
1063d0407baSopenharmony_ci	depends on MFD_ACT8945A || COMPILE_TEST
1073d0407baSopenharmony_ci	help
1083d0407baSopenharmony_ci	  Say Y here to enable support for power supply provided by
1093d0407baSopenharmony_ci	  Active-semi ActivePath ACT8945A charger.
1103d0407baSopenharmony_ci
1113d0407baSopenharmony_ciconfig BATTERY_CPCAP
1123d0407baSopenharmony_ci	tristate "Motorola CPCAP PMIC battery driver"
1133d0407baSopenharmony_ci	depends on MFD_CPCAP && IIO
1143d0407baSopenharmony_ci	default MFD_CPCAP
1153d0407baSopenharmony_ci	help
1163d0407baSopenharmony_ci	  Say Y here to enable support for battery on Motorola
1173d0407baSopenharmony_ci	  phones and tablets such as droid 4.
1183d0407baSopenharmony_ci
1193d0407baSopenharmony_ciconfig BATTERY_CW2015
1203d0407baSopenharmony_ci	tristate "CW2015 Battery driver"
1213d0407baSopenharmony_ci	depends on I2C
1223d0407baSopenharmony_ci	select REGMAP_I2C
1233d0407baSopenharmony_ci	help
1243d0407baSopenharmony_ci	  Say Y here to enable support for the cellwise cw2015
1253d0407baSopenharmony_ci	  battery fuel gauge (used in the Pinebook Pro & others)
1263d0407baSopenharmony_ci
1273d0407baSopenharmony_ci	  This driver can also be built as a module. If so, the module will be
1283d0407baSopenharmony_ci	  called cw2015_battery.
1293d0407baSopenharmony_ci
1303d0407baSopenharmony_ciconfig BATTERY_DS2760
1313d0407baSopenharmony_ci	tristate "DS2760 battery driver (HP iPAQ & others)"
1323d0407baSopenharmony_ci	depends on W1
1333d0407baSopenharmony_ci	help
1343d0407baSopenharmony_ci	  Say Y here to enable support for batteries with ds2760 chip.
1353d0407baSopenharmony_ci
1363d0407baSopenharmony_ciconfig BATTERY_DS2780
1373d0407baSopenharmony_ci	tristate "DS2780 battery driver"
1383d0407baSopenharmony_ci	depends on HAS_IOMEM
1393d0407baSopenharmony_ci	select W1
1403d0407baSopenharmony_ci	select W1_SLAVE_DS2780
1413d0407baSopenharmony_ci	help
1423d0407baSopenharmony_ci	  Say Y here to enable support for batteries with ds2780 chip.
1433d0407baSopenharmony_ci
1443d0407baSopenharmony_ciconfig BATTERY_DS2781
1453d0407baSopenharmony_ci	tristate "DS2781 battery driver"
1463d0407baSopenharmony_ci	depends on HAS_IOMEM
1473d0407baSopenharmony_ci	select W1
1483d0407baSopenharmony_ci	select W1_SLAVE_DS2781
1493d0407baSopenharmony_ci	help
1503d0407baSopenharmony_ci	  If you enable this you will have the DS2781 battery driver support.
1513d0407baSopenharmony_ci
1523d0407baSopenharmony_ci	  The battery monitor chip is used in many batteries/devices
1533d0407baSopenharmony_ci	  as the one who is responsible for charging/discharging/monitoring
1543d0407baSopenharmony_ci	  Li+ batteries.
1553d0407baSopenharmony_ci
1563d0407baSopenharmony_ci	  If you are unsure, say N.
1573d0407baSopenharmony_ci
1583d0407baSopenharmony_ciconfig BATTERY_DS2782
1593d0407baSopenharmony_ci	tristate "DS2782/DS2786 standalone gas-gauge"
1603d0407baSopenharmony_ci	depends on I2C
1613d0407baSopenharmony_ci	help
1623d0407baSopenharmony_ci	  Say Y here to enable support for the DS2782/DS2786 standalone battery
1633d0407baSopenharmony_ci	  gas-gauge.
1643d0407baSopenharmony_ci
1653d0407baSopenharmony_ciconfig BATTERY_LEGO_EV3
1663d0407baSopenharmony_ci	tristate "LEGO MINDSTORMS EV3 battery"
1673d0407baSopenharmony_ci	depends on OF && IIO && GPIOLIB && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
1683d0407baSopenharmony_ci	help
1693d0407baSopenharmony_ci	  Say Y here to enable support for the LEGO MINDSTORMS EV3 battery.
1703d0407baSopenharmony_ci
1713d0407baSopenharmony_ciconfig BATTERY_PMU
1723d0407baSopenharmony_ci	tristate "Apple PMU battery"
1733d0407baSopenharmony_ci	depends on PPC32 && ADB_PMU
1743d0407baSopenharmony_ci	help
1753d0407baSopenharmony_ci	  Say Y here to expose battery information on Apple machines
1763d0407baSopenharmony_ci	  through the generic battery class.
1773d0407baSopenharmony_ci
1783d0407baSopenharmony_ciconfig BATTERY_OLPC
1793d0407baSopenharmony_ci	tristate "One Laptop Per Child battery"
1803d0407baSopenharmony_ci	depends on OLPC_EC
1813d0407baSopenharmony_ci	help
1823d0407baSopenharmony_ci	  Say Y to enable support for the battery on the OLPC laptop.
1833d0407baSopenharmony_ci
1843d0407baSopenharmony_ciconfig BATTERY_TOSA
1853d0407baSopenharmony_ci	tristate "Sharp SL-6000 (tosa) battery"
1863d0407baSopenharmony_ci	depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
1873d0407baSopenharmony_ci	help
1883d0407baSopenharmony_ci	  Say Y to enable support for the battery on the Sharp Zaurus
1893d0407baSopenharmony_ci	  SL-6000 (tosa) models.
1903d0407baSopenharmony_ci
1913d0407baSopenharmony_ciconfig BATTERY_COLLIE
1923d0407baSopenharmony_ci	tristate "Sharp SL-5500 (collie) battery"
1933d0407baSopenharmony_ci	depends on SA1100_COLLIE && MCP_UCB1200
1943d0407baSopenharmony_ci	help
1953d0407baSopenharmony_ci	  Say Y to enable support for the battery on the Sharp Zaurus
1963d0407baSopenharmony_ci	  SL-5500 (collie) models.
1973d0407baSopenharmony_ci
1983d0407baSopenharmony_ciconfig BATTERY_INGENIC
1993d0407baSopenharmony_ci	tristate "Ingenic JZ47xx SoCs battery driver"
2003d0407baSopenharmony_ci	depends on MIPS || COMPILE_TEST
2013d0407baSopenharmony_ci	depends on INGENIC_ADC
2023d0407baSopenharmony_ci	help
2033d0407baSopenharmony_ci	  Choose this option if you want to monitor battery status on
2043d0407baSopenharmony_ci	  Ingenic JZ47xx SoC based devices.
2053d0407baSopenharmony_ci
2063d0407baSopenharmony_ci	  This driver can also be built as a module. If so, the module will be
2073d0407baSopenharmony_ci	  called ingenic-battery.
2083d0407baSopenharmony_ci
2093d0407baSopenharmony_ciconfig BATTERY_IPAQ_MICRO
2103d0407baSopenharmony_ci	tristate "iPAQ Atmel Micro ASIC battery driver"
2113d0407baSopenharmony_ci	depends on MFD_IPAQ_MICRO
2123d0407baSopenharmony_ci	help
2133d0407baSopenharmony_ci	  Choose this option if you want to monitor battery status on
2143d0407baSopenharmony_ci	  Compaq/HP iPAQ h3100 and h3600.
2153d0407baSopenharmony_ci
2163d0407baSopenharmony_ciconfig BATTERY_WM97XX
2173d0407baSopenharmony_ci	bool "WM97xx generic battery driver"
2183d0407baSopenharmony_ci	depends on TOUCHSCREEN_WM97XX=y
2193d0407baSopenharmony_ci	help
2203d0407baSopenharmony_ci	  Say Y to enable support for battery measured by WM97xx aux port.
2213d0407baSopenharmony_ci
2223d0407baSopenharmony_ciconfig BATTERY_SBS
2233d0407baSopenharmony_ci	tristate "SBS Compliant gas gauge"
2243d0407baSopenharmony_ci	depends on I2C
2253d0407baSopenharmony_ci	help
2263d0407baSopenharmony_ci	  Say Y to include support for SBS battery driver for SBS-compliant
2273d0407baSopenharmony_ci	  gas gauges.
2283d0407baSopenharmony_ci
2293d0407baSopenharmony_ciconfig CHARGER_SBS
2303d0407baSopenharmony_ci	tristate "SBS Compliant charger"
2313d0407baSopenharmony_ci	depends on I2C
2323d0407baSopenharmony_ci	select REGMAP_I2C
2333d0407baSopenharmony_ci	help
2343d0407baSopenharmony_ci	  Say Y to include support for SBS compliant battery chargers.
2353d0407baSopenharmony_ci
2363d0407baSopenharmony_ciconfig MANAGER_SBS
2373d0407baSopenharmony_ci	tristate "Smart Battery System Manager"
2383d0407baSopenharmony_ci	depends on I2C && I2C_MUX && GPIOLIB
2393d0407baSopenharmony_ci	select I2C_SMBUS
2403d0407baSopenharmony_ci	help
2413d0407baSopenharmony_ci	  Say Y here to include support for Smart Battery System Manager
2423d0407baSopenharmony_ci	  ICs. The driver reports online and charging status via sysfs.
2433d0407baSopenharmony_ci	  It presents itself also as I2C mux which allows to bind
2443d0407baSopenharmony_ci	  smart battery driver to its ports.
2453d0407baSopenharmony_ci	  Supported is for example LTC1760.
2463d0407baSopenharmony_ci
2473d0407baSopenharmony_ci	  This driver can also be built as a module. If so, the module will be
2483d0407baSopenharmony_ci	  called sbs-manager.
2493d0407baSopenharmony_ci
2503d0407baSopenharmony_ciconfig BATTERY_BQ27XXX
2513d0407baSopenharmony_ci	tristate "BQ27xxx battery driver"
2523d0407baSopenharmony_ci	help
2533d0407baSopenharmony_ci	  Say Y here to enable support for batteries with BQ27xxx chips.
2543d0407baSopenharmony_ci
2553d0407baSopenharmony_ciconfig BATTERY_BQ27XXX_I2C
2563d0407baSopenharmony_ci	tristate "BQ27xxx I2C support"
2573d0407baSopenharmony_ci	depends on BATTERY_BQ27XXX
2583d0407baSopenharmony_ci	depends on I2C
2593d0407baSopenharmony_ci	default y
2603d0407baSopenharmony_ci	help
2613d0407baSopenharmony_ci	  Say Y here to enable support for batteries with BQ27xxx chips
2623d0407baSopenharmony_ci	  connected over an I2C bus.
2633d0407baSopenharmony_ci
2643d0407baSopenharmony_ciconfig BATTERY_BQ27XXX_HDQ
2653d0407baSopenharmony_ci	tristate "BQ27xxx HDQ support"
2663d0407baSopenharmony_ci	depends on BATTERY_BQ27XXX
2673d0407baSopenharmony_ci	depends on W1
2683d0407baSopenharmony_ci	default y
2693d0407baSopenharmony_ci	help
2703d0407baSopenharmony_ci	  Say Y here to enable support for batteries with BQ27xxx chips
2713d0407baSopenharmony_ci	  connected over an HDQ bus.
2723d0407baSopenharmony_ci
2733d0407baSopenharmony_ciconfig BATTERY_BQ27XXX_DT_UPDATES_NVM
2743d0407baSopenharmony_ci	bool "BQ27xxx support for update of NVM/flash data memory"
2753d0407baSopenharmony_ci	depends on BATTERY_BQ27XXX_I2C
2763d0407baSopenharmony_ci	help
2773d0407baSopenharmony_ci	  Say Y here to enable devicetree monitored-battery config to update
2783d0407baSopenharmony_ci	  NVM/flash data memory. Only enable this option for devices with a
2793d0407baSopenharmony_ci	  fuel gauge mounted on the circuit board, and a battery that cannot
2803d0407baSopenharmony_ci	  easily be replaced with one of a different type. Not for
2813d0407baSopenharmony_ci	  general-purpose kernels, as this can cause misconfiguration of a
2823d0407baSopenharmony_ci	  smart battery with embedded NVM/flash.
2833d0407baSopenharmony_ci
2843d0407baSopenharmony_ciconfig BATTERY_DA9030
2853d0407baSopenharmony_ci	tristate "DA9030 battery driver"
2863d0407baSopenharmony_ci	depends on PMIC_DA903X
2873d0407baSopenharmony_ci	help
2883d0407baSopenharmony_ci	  Say Y here to enable support for batteries charger integrated into
2893d0407baSopenharmony_ci	  DA9030 PMIC.
2903d0407baSopenharmony_ci
2913d0407baSopenharmony_ciconfig BATTERY_DA9052
2923d0407baSopenharmony_ci	tristate "Dialog DA9052 Battery"
2933d0407baSopenharmony_ci	depends on PMIC_DA9052
2943d0407baSopenharmony_ci	help
2953d0407baSopenharmony_ci	  Say Y here to enable support for batteries charger integrated into
2963d0407baSopenharmony_ci	  DA9052 PMIC.
2973d0407baSopenharmony_ci
2983d0407baSopenharmony_ciconfig CHARGER_DA9150
2993d0407baSopenharmony_ci	tristate "Dialog Semiconductor DA9150 Charger support"
3003d0407baSopenharmony_ci	depends on MFD_DA9150
3013d0407baSopenharmony_ci	depends on DA9150_GPADC
3023d0407baSopenharmony_ci	depends on IIO
3033d0407baSopenharmony_ci	help
3043d0407baSopenharmony_ci	  Say Y here to enable support for charger unit of the DA9150
3053d0407baSopenharmony_ci	  Integrated Charger & Fuel-Gauge IC.
3063d0407baSopenharmony_ci
3073d0407baSopenharmony_ci	  This driver can also be built as a module. If so, the module will be
3083d0407baSopenharmony_ci	  called da9150-charger.
3093d0407baSopenharmony_ci
3103d0407baSopenharmony_ciconfig BATTERY_DA9150
3113d0407baSopenharmony_ci	tristate "Dialog Semiconductor DA9150 Fuel Gauge support"
3123d0407baSopenharmony_ci	depends on MFD_DA9150
3133d0407baSopenharmony_ci	help
3143d0407baSopenharmony_ci	  Say Y here to enable support for the Fuel-Gauge unit of the DA9150
3153d0407baSopenharmony_ci	  Integrated Charger & Fuel-Gauge IC
3163d0407baSopenharmony_ci
3173d0407baSopenharmony_ci	  This driver can also be built as a module. If so, the module will be
3183d0407baSopenharmony_ci	  called da9150-fg.
3193d0407baSopenharmony_ci
3203d0407baSopenharmony_ciconfig CHARGER_AXP20X
3213d0407baSopenharmony_ci	tristate "X-Powers AXP20X and AXP22X AC power supply driver"
3223d0407baSopenharmony_ci	depends on MFD_AXP20X
3233d0407baSopenharmony_ci	depends on AXP20X_ADC
3243d0407baSopenharmony_ci	depends on IIO
3253d0407baSopenharmony_ci	help
3263d0407baSopenharmony_ci	  Say Y here to enable support for X-Powers AXP20X and AXP22X PMICs' AC
3273d0407baSopenharmony_ci	  power supply.
3283d0407baSopenharmony_ci
3293d0407baSopenharmony_ci	  This driver can also be built as a module. If so, the module will be
3303d0407baSopenharmony_ci	  called axp20x_ac_power.
3313d0407baSopenharmony_ci
3323d0407baSopenharmony_ciconfig BATTERY_AXP20X
3333d0407baSopenharmony_ci	tristate "X-Powers AXP20X battery driver"
3343d0407baSopenharmony_ci	depends on MFD_AXP20X
3353d0407baSopenharmony_ci	depends on AXP20X_ADC
3363d0407baSopenharmony_ci	depends on IIO
3373d0407baSopenharmony_ci	help
3383d0407baSopenharmony_ci	  Say Y here to enable support for X-Powers AXP20X PMICs' battery power
3393d0407baSopenharmony_ci	  supply.
3403d0407baSopenharmony_ci
3413d0407baSopenharmony_ci	  This driver can also be built as a module. If so, the module will be
3423d0407baSopenharmony_ci	  called axp20x_battery.
3433d0407baSopenharmony_ci
3443d0407baSopenharmony_ciconfig AXP20X_POWER
3453d0407baSopenharmony_ci	tristate "AXP20x power supply driver"
3463d0407baSopenharmony_ci	depends on MFD_AXP20X
3473d0407baSopenharmony_ci	depends on IIO
3483d0407baSopenharmony_ci	help
3493d0407baSopenharmony_ci	  This driver provides support for the power supply features of
3503d0407baSopenharmony_ci	  AXP20x PMIC.
3513d0407baSopenharmony_ci
3523d0407baSopenharmony_ciconfig AXP288_CHARGER
3533d0407baSopenharmony_ci	tristate "X-Powers AXP288 Charger"
3543d0407baSopenharmony_ci	depends on MFD_AXP20X && EXTCON_AXP288
3553d0407baSopenharmony_ci	help
3563d0407baSopenharmony_ci	  Say yes here to have support X-Power AXP288 power management IC (PMIC)
3573d0407baSopenharmony_ci	  integrated charger.
3583d0407baSopenharmony_ci
3593d0407baSopenharmony_ciconfig AXP288_FUEL_GAUGE
3603d0407baSopenharmony_ci	tristate "X-Powers AXP288 Fuel Gauge"
3613d0407baSopenharmony_ci	depends on MFD_AXP20X && IIO
3623d0407baSopenharmony_ci	help
3633d0407baSopenharmony_ci	  Say yes here to have support for X-Power power management IC (PMIC)
3643d0407baSopenharmony_ci	  Fuel Gauge. The device provides battery statistics and status
3653d0407baSopenharmony_ci	  monitoring as well as alerts for battery over/under voltage and
3663d0407baSopenharmony_ci	  over/under temperature.
3673d0407baSopenharmony_ci
3683d0407baSopenharmony_ciconfig BATTERY_MAX17040
3693d0407baSopenharmony_ci	tristate "Maxim MAX17040 Fuel Gauge"
3703d0407baSopenharmony_ci	depends on I2C
3713d0407baSopenharmony_ci	select REGMAP_I2C
3723d0407baSopenharmony_ci	help
3733d0407baSopenharmony_ci	  Maxim models with ModelGauge are fuel-gauge systems for lithium-ion
3743d0407baSopenharmony_ci	  (Li+) batteries in handheld and portable equipment, including
3753d0407baSopenharmony_ci	  max17040, max17041, max17043, max17044, max17048, max17049, max17058,
3763d0407baSopenharmony_ci	  max17059. It is also included in some batteries like max77836.
3773d0407baSopenharmony_ci
3783d0407baSopenharmony_ci	  Driver supports reporting SOC (State of Charge, i.e capacity),
3793d0407baSopenharmony_ci	  voltage and configurable low-SOC wakeup interrupt.
3803d0407baSopenharmony_ci
3813d0407baSopenharmony_ciconfig BATTERY_MAX17042
3823d0407baSopenharmony_ci	tristate "Maxim MAX17042/17047/17050/8997/8966 Fuel Gauge"
3833d0407baSopenharmony_ci	depends on I2C
3843d0407baSopenharmony_ci	select REGMAP_I2C
3853d0407baSopenharmony_ci	help
3863d0407baSopenharmony_ci	  MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
3873d0407baSopenharmony_ci	  in handheld and portable equipment. The MAX17042 is configured
3883d0407baSopenharmony_ci	  to operate with a single lithium cell. MAX8997 and MAX8966 are
3893d0407baSopenharmony_ci	  multi-function devices that include fuel gauages that are compatible
3903d0407baSopenharmony_ci	  with MAX17042. This driver also supports max17047/50 chips which are
3913d0407baSopenharmony_ci	  improved version of max17042.
3923d0407baSopenharmony_ci
3933d0407baSopenharmony_ciconfig BATTERY_MAX1721X
3943d0407baSopenharmony_ci	tristate "MAX17211/MAX17215 standalone gas-gauge"
3953d0407baSopenharmony_ci	depends on W1
3963d0407baSopenharmony_ci	select REGMAP_W1
3973d0407baSopenharmony_ci	help
3983d0407baSopenharmony_ci	  MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries
3993d0407baSopenharmony_ci	  in handheld and portable equipment. MAX17211 used with single cell
4003d0407baSopenharmony_ci	  battery. MAX17215 designed for muticell battery. Both them have
4013d0407baSopenharmony_ci	  OneWire (W1) host interface.
4023d0407baSopenharmony_ci
4033d0407baSopenharmony_ci	  Say Y here to enable support for the MAX17211/MAX17215 standalone
4043d0407baSopenharmony_ci	  battery gas-gauge.
4053d0407baSopenharmony_ci
4063d0407baSopenharmony_ciconfig BATTERY_Z2
4073d0407baSopenharmony_ci	tristate "Z2 battery driver"
4083d0407baSopenharmony_ci	depends on I2C && MACH_ZIPIT2
4093d0407baSopenharmony_ci	help
4103d0407baSopenharmony_ci	  Say Y to include support for the battery on the Zipit Z2.
4113d0407baSopenharmony_ci
4123d0407baSopenharmony_ciconfig BATTERY_S3C_ADC
4133d0407baSopenharmony_ci	tristate "Battery driver for Samsung ADC based monitoring"
4143d0407baSopenharmony_ci	depends on S3C_ADC
4153d0407baSopenharmony_ci	help
4163d0407baSopenharmony_ci	  Say Y here to enable support for iPAQ h1930/h1940/rx1950 battery
4173d0407baSopenharmony_ci
4183d0407baSopenharmony_ciconfig BATTERY_TWL4030_MADC
4193d0407baSopenharmony_ci	tristate "TWL4030 MADC battery driver"
4203d0407baSopenharmony_ci	depends on TWL4030_MADC
4213d0407baSopenharmony_ci	help
4223d0407baSopenharmony_ci	  Say Y here to enable this dumb driver for batteries managed
4233d0407baSopenharmony_ci	  through the TWL4030 MADC.
4243d0407baSopenharmony_ci
4253d0407baSopenharmony_ciconfig CHARGER_88PM860X
4263d0407baSopenharmony_ci	tristate "Marvell 88PM860x Charger driver"
4273d0407baSopenharmony_ci	depends on MFD_88PM860X && BATTERY_88PM860X
4283d0407baSopenharmony_ci	help
4293d0407baSopenharmony_ci	  Say Y here to enable charger for Marvell 88PM860x chip.
4303d0407baSopenharmony_ci
4313d0407baSopenharmony_ciconfig CHARGER_PCF50633
4323d0407baSopenharmony_ci	tristate "NXP PCF50633 MBC"
4333d0407baSopenharmony_ci	depends on MFD_PCF50633
4343d0407baSopenharmony_ci	help
4353d0407baSopenharmony_ci	  Say Y to include support for NXP PCF50633 Main Battery Charger.
4363d0407baSopenharmony_ci
4373d0407baSopenharmony_ciconfig BATTERY_RX51
4383d0407baSopenharmony_ci	tristate "Nokia RX-51 (N900) battery driver"
4393d0407baSopenharmony_ci	depends on TWL4030_MADC
4403d0407baSopenharmony_ci	help
4413d0407baSopenharmony_ci	  Say Y here to enable support for battery information on Nokia
4423d0407baSopenharmony_ci	  RX-51, also known as N900 tablet.
4433d0407baSopenharmony_ci
4443d0407baSopenharmony_ciconfig CHARGER_CPCAP
4453d0407baSopenharmony_ci	tristate "CPCAP PMIC Charger Driver"
4463d0407baSopenharmony_ci	depends on MFD_CPCAP && IIO
4473d0407baSopenharmony_ci	depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST)
4483d0407baSopenharmony_ci	default MFD_CPCAP
4493d0407baSopenharmony_ci	help
4503d0407baSopenharmony_ci	  Say Y to enable support for CPCAP PMIC charger driver for Motorola
4513d0407baSopenharmony_ci	  mobile devices such as Droid 4.
4523d0407baSopenharmony_ci
4533d0407baSopenharmony_ciconfig CHARGER_ISP1704
4543d0407baSopenharmony_ci	tristate "ISP1704 USB Charger Detection"
4553d0407baSopenharmony_ci	depends on USB_PHY
4563d0407baSopenharmony_ci	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
4573d0407baSopenharmony_ci	help
4583d0407baSopenharmony_ci	  Say Y to enable support for USB Charger Detection with
4593d0407baSopenharmony_ci	  ISP1707/ISP1704 USB transceivers.
4603d0407baSopenharmony_ci
4613d0407baSopenharmony_ciconfig CHARGER_MAX8903
4623d0407baSopenharmony_ci	tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
4633d0407baSopenharmony_ci	help
4643d0407baSopenharmony_ci	  Say Y to enable support for the MAX8903 DC-DC charger and sysfs.
4653d0407baSopenharmony_ci	  The driver supports controlling charger-enable and current-limit
4663d0407baSopenharmony_ci	  pins based on the status of charger connections with interrupt
4673d0407baSopenharmony_ci	  handlers.
4683d0407baSopenharmony_ci
4693d0407baSopenharmony_ciconfig CHARGER_TWL4030
4703d0407baSopenharmony_ci	tristate "OMAP TWL4030 BCI charger driver"
4713d0407baSopenharmony_ci	depends on IIO && TWL4030_CORE
4723d0407baSopenharmony_ci	help
4733d0407baSopenharmony_ci	  Say Y here to enable support for TWL4030 Battery Charge Interface.
4743d0407baSopenharmony_ci
4753d0407baSopenharmony_ciconfig CHARGER_LP8727
4763d0407baSopenharmony_ci	tristate "TI/National Semiconductor LP8727 charger driver"
4773d0407baSopenharmony_ci	depends on I2C
4783d0407baSopenharmony_ci	help
4793d0407baSopenharmony_ci	  Say Y here to enable support for LP8727 Charger Driver.
4803d0407baSopenharmony_ci
4813d0407baSopenharmony_ciconfig CHARGER_LP8788
4823d0407baSopenharmony_ci	tristate "TI LP8788 charger driver"
4833d0407baSopenharmony_ci	depends on MFD_LP8788
4843d0407baSopenharmony_ci	depends on LP8788_ADC
4853d0407baSopenharmony_ci	depends on IIO
4863d0407baSopenharmony_ci	help
4873d0407baSopenharmony_ci	  Say Y to enable support for the LP8788 linear charger.
4883d0407baSopenharmony_ci
4893d0407baSopenharmony_ciconfig CHARGER_GPIO
4903d0407baSopenharmony_ci	tristate "GPIO charger"
4913d0407baSopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
4923d0407baSopenharmony_ci	help
4933d0407baSopenharmony_ci	  Say Y to include support for chargers which report their online status
4943d0407baSopenharmony_ci	  through a GPIO pin.
4953d0407baSopenharmony_ci
4963d0407baSopenharmony_ci	  This driver can be build as a module. If so, the module will be
4973d0407baSopenharmony_ci	  called gpio-charger.
4983d0407baSopenharmony_ci
4993d0407baSopenharmony_ciconfig CHARGER_MANAGER
5003d0407baSopenharmony_ci	tristate "Battery charger manager for multiple chargers"
5013d0407baSopenharmony_ci	depends on REGULATOR
5023d0407baSopenharmony_ci	select EXTCON
5033d0407baSopenharmony_ci	help
5043d0407baSopenharmony_ci	  Say Y to enable charger-manager support, which allows multiple
5053d0407baSopenharmony_ci	  chargers attached to a battery and multiple batteries attached to a
5063d0407baSopenharmony_ci	  system. The charger-manager also can monitor charging status in
5073d0407baSopenharmony_ci	  runtime and in suspend-to-RAM by waking up the system periodically
5083d0407baSopenharmony_ci	  with help of suspend_again support.
5093d0407baSopenharmony_ci
5103d0407baSopenharmony_ciconfig CHARGER_LT3651
5113d0407baSopenharmony_ci	tristate "Analog Devices LT3651 charger"
5123d0407baSopenharmony_ci	depends on GPIOLIB
5133d0407baSopenharmony_ci	help
5143d0407baSopenharmony_ci	  Say Y to include support for the Analog Devices (Linear Technology)
5153d0407baSopenharmony_ci	  LT3651 battery charger which reports its status via GPIO lines.
5163d0407baSopenharmony_ci
5173d0407baSopenharmony_ciconfig CHARGER_MAX14577
5183d0407baSopenharmony_ci	tristate "Maxim MAX14577/77836 battery charger driver"
5193d0407baSopenharmony_ci	depends on MFD_MAX14577
5203d0407baSopenharmony_ci	help
5213d0407baSopenharmony_ci	  Say Y to enable support for the battery charger control sysfs and
5223d0407baSopenharmony_ci	  platform data of MAX14577/77836 MUICs.
5233d0407baSopenharmony_ci
5243d0407baSopenharmony_ciconfig CHARGER_DETECTOR_MAX14656
5253d0407baSopenharmony_ci	tristate "Maxim MAX14656 USB charger detector"
5263d0407baSopenharmony_ci	depends on I2C
5273d0407baSopenharmony_ci	depends on OF
5283d0407baSopenharmony_ci	help
5293d0407baSopenharmony_ci	  Say Y to enable support for the Maxim MAX14656 USB charger detector.
5303d0407baSopenharmony_ci	  The device is compliant with the USB Battery Charging Specification
5313d0407baSopenharmony_ci	  Revision 1.2 and can be found e.g. in Kindle 4/5th generation
5323d0407baSopenharmony_ci	  readers and certain LG devices.
5333d0407baSopenharmony_ci
5343d0407baSopenharmony_ciconfig CHARGER_MAX77650
5353d0407baSopenharmony_ci	tristate "Maxim MAX77650 battery charger driver"
5363d0407baSopenharmony_ci	depends on MFD_MAX77650
5373d0407baSopenharmony_ci	help
5383d0407baSopenharmony_ci	  Say Y to enable support for the battery charger control of MAX77650
5393d0407baSopenharmony_ci	  PMICs.
5403d0407baSopenharmony_ci
5413d0407baSopenharmony_ciconfig CHARGER_MAX77693
5423d0407baSopenharmony_ci	tristate "Maxim MAX77693 battery charger driver"
5433d0407baSopenharmony_ci	depends on MFD_MAX77693
5443d0407baSopenharmony_ci	help
5453d0407baSopenharmony_ci	  Say Y to enable support for the Maxim MAX77693 battery charger.
5463d0407baSopenharmony_ci
5473d0407baSopenharmony_ciconfig CHARGER_MAX8997
5483d0407baSopenharmony_ci	tristate "Maxim MAX8997/MAX8966 PMIC battery charger driver"
5493d0407baSopenharmony_ci	depends on MFD_MAX8997 && REGULATOR_MAX8997
5503d0407baSopenharmony_ci	help
5513d0407baSopenharmony_ci	  Say Y to enable support for the battery charger control sysfs and
5523d0407baSopenharmony_ci	  platform data of MAX8997/LP3974 PMICs.
5533d0407baSopenharmony_ci
5543d0407baSopenharmony_ciconfig CHARGER_MAX8998
5553d0407baSopenharmony_ci	tristate "Maxim MAX8998/LP3974 PMIC battery charger driver"
5563d0407baSopenharmony_ci	depends on MFD_MAX8998 && REGULATOR_MAX8998
5573d0407baSopenharmony_ci	help
5583d0407baSopenharmony_ci	  Say Y to enable support for the battery charger control sysfs and
5593d0407baSopenharmony_ci	  platform data of MAX8998/LP3974 PMICs.
5603d0407baSopenharmony_ci
5613d0407baSopenharmony_ciconfig CHARGER_MP2629
5623d0407baSopenharmony_ci	tristate "Monolithic power system MP2629 Battery charger"
5633d0407baSopenharmony_ci	depends on MFD_MP2629
5643d0407baSopenharmony_ci	depends on MP2629_ADC
5653d0407baSopenharmony_ci	depends on IIO
5663d0407baSopenharmony_ci	help
5673d0407baSopenharmony_ci	  Select this option to enable support for Monolithic power system
5683d0407baSopenharmony_ci	  Battery charger. This driver provides Battery charger power management
5693d0407baSopenharmony_ci	  functions on the systems.
5703d0407baSopenharmony_ci
5713d0407baSopenharmony_ciconfig CHARGER_QCOM_SMBB
5723d0407baSopenharmony_ci	tristate "Qualcomm Switch-Mode Battery Charger and Boost"
5733d0407baSopenharmony_ci	depends on MFD_SPMI_PMIC || COMPILE_TEST
5743d0407baSopenharmony_ci	depends on OF
5753d0407baSopenharmony_ci	depends on EXTCON
5763d0407baSopenharmony_ci	depends on REGULATOR
5773d0407baSopenharmony_ci	help
5783d0407baSopenharmony_ci	  Say Y to include support for the Switch-Mode Battery Charger and
5793d0407baSopenharmony_ci	  Boost (SMBB) hardware found in Qualcomm PM8941 PMICs.  The charger
5803d0407baSopenharmony_ci	  is an integrated, single-cell lithium-ion battery charger.  DT
5813d0407baSopenharmony_ci	  configuration is required for loading, see the devicetree
5823d0407baSopenharmony_ci	  documentation for more detail.  The base name for this driver is
5833d0407baSopenharmony_ci	  'pm8941_charger'.
5843d0407baSopenharmony_ci
5853d0407baSopenharmony_ciconfig CHARGER_BQ2415X
5863d0407baSopenharmony_ci	tristate "TI BQ2415x battery charger driver"
5873d0407baSopenharmony_ci	depends on I2C
5883d0407baSopenharmony_ci	help
5893d0407baSopenharmony_ci	  Say Y to enable support for the TI BQ2415x battery charger
5903d0407baSopenharmony_ci	  PMICs.
5913d0407baSopenharmony_ci
5923d0407baSopenharmony_ci	  You'll need this driver to charge batteries on e.g. Nokia
5933d0407baSopenharmony_ci	  RX-51/N900.
5943d0407baSopenharmony_ci
5953d0407baSopenharmony_ciconfig CHARGER_BQ24190
5963d0407baSopenharmony_ci	tristate "TI BQ24190 battery charger driver"
5973d0407baSopenharmony_ci	depends on I2C
5983d0407baSopenharmony_ci	depends on EXTCON
5993d0407baSopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
6003d0407baSopenharmony_ci	help
6013d0407baSopenharmony_ci	  Say Y to enable support for the TI BQ24190 battery charger.
6023d0407baSopenharmony_ci
6033d0407baSopenharmony_ciconfig CHARGER_BQ24257
6043d0407baSopenharmony_ci	tristate "TI BQ24250/24251/24257 battery charger driver"
6053d0407baSopenharmony_ci	depends on I2C
6063d0407baSopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
6073d0407baSopenharmony_ci	select REGMAP_I2C
6083d0407baSopenharmony_ci	help
6093d0407baSopenharmony_ci	  Say Y to enable support for the TI BQ24250, BQ24251, and BQ24257 battery
6103d0407baSopenharmony_ci	  chargers.
6113d0407baSopenharmony_ci
6123d0407baSopenharmony_ciconfig CHARGER_BQ24735
6133d0407baSopenharmony_ci	tristate "TI BQ24735 battery charger support"
6143d0407baSopenharmony_ci	depends on I2C
6153d0407baSopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
6163d0407baSopenharmony_ci	help
6173d0407baSopenharmony_ci	  Say Y to enable support for the TI BQ24735 battery charger.
6183d0407baSopenharmony_ci
6193d0407baSopenharmony_ciconfig CHARGER_BQ2515X
6203d0407baSopenharmony_ci	tristate "TI BQ2515X battery charger family"
6213d0407baSopenharmony_ci	depends on I2C
6223d0407baSopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
6233d0407baSopenharmony_ci	select REGMAP_I2C
6243d0407baSopenharmony_ci	help
6253d0407baSopenharmony_ci	  Say Y to enable support for the TI BQ2515X family of battery
6263d0407baSopenharmony_ci	  charging integrated circuits. The BQ2515X are highly integrated
6273d0407baSopenharmony_ci	  battery charge management ICs that integrate the most common
6283d0407baSopenharmony_ci	  functions for wearable devices, namely a charger, an output voltage
6293d0407baSopenharmony_ci	  rail, ADC for battery and system monitoring, and push-button
6303d0407baSopenharmony_ci	  controller.
6313d0407baSopenharmony_ci
6323d0407baSopenharmony_ciconfig CHARGER_BQ25700
6333d0407baSopenharmony_ci	tristate "TI BQ25700 battery charger driver"
6343d0407baSopenharmony_ci	depends on REGMAP_I2C
6353d0407baSopenharmony_ci	help
6363d0407baSopenharmony_ci	  Say Y to enable support for the TI BQ25700 battery charger.
6373d0407baSopenharmony_ci
6383d0407baSopenharmony_ciconfig CHARGER_BQ25890
6393d0407baSopenharmony_ci	tristate "TI BQ25890 battery charger driver"
6403d0407baSopenharmony_ci	depends on I2C
6413d0407baSopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
6423d0407baSopenharmony_ci	select REGMAP_I2C
6433d0407baSopenharmony_ci	help
6443d0407baSopenharmony_ci	  Say Y to enable support for the TI BQ25890 battery charger.
6453d0407baSopenharmony_ci
6463d0407baSopenharmony_ciconfig CHARGER_BQ25980
6473d0407baSopenharmony_ci	tristate "TI BQ25980 battery charger driver"
6483d0407baSopenharmony_ci	depends on I2C
6493d0407baSopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
6503d0407baSopenharmony_ci	select REGMAP_I2C
6513d0407baSopenharmony_ci	help
6523d0407baSopenharmony_ci	  Say Y to enable support for the TI BQ25980, BQ25975 and BQ25960
6533d0407baSopenharmony_ci	  series of fast battery chargers.
6543d0407baSopenharmony_ci
6553d0407baSopenharmony_ciconfig CHARGER_SMB347
6563d0407baSopenharmony_ci	tristate "Summit Microelectronics SMB3XX Battery Charger"
6573d0407baSopenharmony_ci	depends on I2C
6583d0407baSopenharmony_ci	select REGMAP_I2C
6593d0407baSopenharmony_ci	help
6603d0407baSopenharmony_ci	  Say Y to include support for Summit Microelectronics SMB345,
6613d0407baSopenharmony_ci	  SMB347 or SMB358 Battery Charger.
6623d0407baSopenharmony_ci
6633d0407baSopenharmony_ciconfig CHARGER_TPS65090
6643d0407baSopenharmony_ci	tristate "TPS65090 battery charger driver"
6653d0407baSopenharmony_ci	depends on MFD_TPS65090
6663d0407baSopenharmony_ci	help
6673d0407baSopenharmony_ci	  Say Y here to enable support for battery charging with TPS65090
6683d0407baSopenharmony_ci	  PMIC chips.
6693d0407baSopenharmony_ci
6703d0407baSopenharmony_ciconfig CHARGER_TPS65217
6713d0407baSopenharmony_ci	tristate "TPS65217 battery charger driver"
6723d0407baSopenharmony_ci	depends on MFD_TPS65217
6733d0407baSopenharmony_ci	help
6743d0407baSopenharmony_ci	  Say Y here to enable support for battery charging with TPS65217
6753d0407baSopenharmony_ci	  PMIC chips.
6763d0407baSopenharmony_ci
6773d0407baSopenharmony_ciconfig BATTERY_GAUGE_LTC2941
6783d0407baSopenharmony_ci	tristate "LTC2941/LTC2943 Battery Gauge Driver"
6793d0407baSopenharmony_ci	depends on I2C
6803d0407baSopenharmony_ci	help
6813d0407baSopenharmony_ci	  Say Y here to include support for LTC2941 and LTC2943 Battery
6823d0407baSopenharmony_ci	  Gauge IC. The driver reports the charge count continuously, and
6833d0407baSopenharmony_ci	  measures the voltage and temperature every 10 seconds.
6843d0407baSopenharmony_ci
6853d0407baSopenharmony_ciconfig AB8500_BM
6863d0407baSopenharmony_ci	bool "AB8500 Battery Management Driver"
6873d0407baSopenharmony_ci	depends on AB8500_CORE && AB8500_GPADC && (IIO = y)
6883d0407baSopenharmony_ci	help
6893d0407baSopenharmony_ci	  Say Y to include support for AB8500 battery management.
6903d0407baSopenharmony_ci
6913d0407baSopenharmony_ciconfig BATTERY_GOLDFISH
6923d0407baSopenharmony_ci	tristate "Goldfish battery driver"
6933d0407baSopenharmony_ci	depends on GOLDFISH || COMPILE_TEST
6943d0407baSopenharmony_ci	depends on HAS_IOMEM
6953d0407baSopenharmony_ci	help
6963d0407baSopenharmony_ci	  Say Y to enable support for the battery and AC power in the
6973d0407baSopenharmony_ci	  Goldfish emulator.
6983d0407baSopenharmony_ci
6993d0407baSopenharmony_ciconfig BATTERY_RT5033
7003d0407baSopenharmony_ci	tristate "RT5033 fuel gauge support"
7013d0407baSopenharmony_ci	depends on MFD_RT5033
7023d0407baSopenharmony_ci	help
7033d0407baSopenharmony_ci	  This adds support for battery fuel gauge in Richtek RT5033 PMIC.
7043d0407baSopenharmony_ci	  The fuelgauge calculates and determines the battery state of charge
7053d0407baSopenharmony_ci	  according to battery open circuit voltage.
7063d0407baSopenharmony_ci
7073d0407baSopenharmony_ciconfig CHARGER_RT9455
7083d0407baSopenharmony_ci	tristate "Richtek RT9455 battery charger driver"
7093d0407baSopenharmony_ci	depends on I2C
7103d0407baSopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
7113d0407baSopenharmony_ci	select REGMAP_I2C
7123d0407baSopenharmony_ci	help
7133d0407baSopenharmony_ci	  Say Y to enable support for Richtek RT9455 battery charger.
7143d0407baSopenharmony_ci
7153d0407baSopenharmony_ciconfig CHARGER_CROS_USBPD
7163d0407baSopenharmony_ci	tristate "ChromeOS EC based USBPD charger"
7173d0407baSopenharmony_ci	depends on CROS_USBPD_NOTIFY
7183d0407baSopenharmony_ci	help
7193d0407baSopenharmony_ci	  Say Y here to enable ChromeOS EC based USBPD charger
7203d0407baSopenharmony_ci	  driver. This driver gets various bits of information about
7213d0407baSopenharmony_ci	  what is connected to USB PD ports from the EC and converts
7223d0407baSopenharmony_ci	  that into power_supply properties.
7233d0407baSopenharmony_ci
7243d0407baSopenharmony_ciconfig CHARGER_SC2731
7253d0407baSopenharmony_ci	tristate "Spreadtrum SC2731 charger driver"
7263d0407baSopenharmony_ci	depends on MFD_SC27XX_PMIC || COMPILE_TEST
7273d0407baSopenharmony_ci	help
7283d0407baSopenharmony_ci	  Say Y here to enable support for battery charging with SC2731
7293d0407baSopenharmony_ci	  PMIC chips.
7303d0407baSopenharmony_ci
7313d0407baSopenharmony_ciconfig FUEL_GAUGE_SC27XX
7323d0407baSopenharmony_ci	tristate "Spreadtrum SC27XX fuel gauge driver"
7333d0407baSopenharmony_ci	depends on MFD_SC27XX_PMIC || COMPILE_TEST
7343d0407baSopenharmony_ci	depends on IIO
7353d0407baSopenharmony_ci	help
7363d0407baSopenharmony_ci	  Say Y here to enable support for fuel gauge with SC27XX
7373d0407baSopenharmony_ci	  PMIC chips.
7383d0407baSopenharmony_ci
7393d0407baSopenharmony_ciconfig CHARGER_UCS1002
7403d0407baSopenharmony_ci	tristate "Microchip UCS1002 USB Port Power Controller"
7413d0407baSopenharmony_ci	depends on I2C
7423d0407baSopenharmony_ci	depends on OF
7433d0407baSopenharmony_ci	depends on REGULATOR
7443d0407baSopenharmony_ci	select REGMAP_I2C
7453d0407baSopenharmony_ci	help
7463d0407baSopenharmony_ci	  Say Y to enable support for Microchip UCS1002 Programmable
7473d0407baSopenharmony_ci	  USB Port Power Controller with Charger Emulation.
7483d0407baSopenharmony_ci
7493d0407baSopenharmony_ciconfig CHARGER_BD70528
7503d0407baSopenharmony_ci	tristate "ROHM bd70528 charger driver"
7513d0407baSopenharmony_ci	depends on MFD_ROHM_BD70528
7523d0407baSopenharmony_ci	select LINEAR_RANGES
7533d0407baSopenharmony_ci	help
7543d0407baSopenharmony_ci	  Say Y here to enable support for getting battery status
7553d0407baSopenharmony_ci	  information and altering charger configurations from charger
7563d0407baSopenharmony_ci	  block of the ROHM BD70528 Power Management IC.
7573d0407baSopenharmony_ci
7583d0407baSopenharmony_ciconfig CHARGER_BD99954
7593d0407baSopenharmony_ci	tristate "ROHM bd99954 charger driver"
7603d0407baSopenharmony_ci	depends on I2C
7613d0407baSopenharmony_ci	select LINEAR_RANGES
7623d0407baSopenharmony_ci	help
7633d0407baSopenharmony_ci	  Say Y here to enable support for getting battery and charger
7643d0407baSopenharmony_ci	  information and altering charger configurations from the ROHM
7653d0407baSopenharmony_ci	  BD99954 charger IC.
7663d0407baSopenharmony_ci
7673d0407baSopenharmony_ciconfig CHARGER_WILCO
7683d0407baSopenharmony_ci	tristate "Wilco EC based charger for ChromeOS"
7693d0407baSopenharmony_ci	depends on WILCO_EC
7703d0407baSopenharmony_ci	help
7713d0407baSopenharmony_ci	  Say Y here to enable control of the charging routines performed
7723d0407baSopenharmony_ci	  by the Embedded Controller on the Chromebook named Wilco. Further
7733d0407baSopenharmony_ci	  information can be found in
7743d0407baSopenharmony_ci	  Documentation/ABI/testing/sysfs-class-power-wilco
7753d0407baSopenharmony_ci
7763d0407baSopenharmony_ciconfig RN5T618_POWER
7773d0407baSopenharmony_ci	tristate "RN5T618 charger/fuel gauge support"
7783d0407baSopenharmony_ci	depends on MFD_RN5T618
7793d0407baSopenharmony_ci	help
7803d0407baSopenharmony_ci	  Say Y here to have support for RN5T618 PMIC family fuel gauge and charger.
7813d0407baSopenharmony_ci	  This driver can also be built as a module. If so, the module will be
7823d0407baSopenharmony_ci	  called rn5t618_power.
7833d0407baSopenharmony_ci
7843d0407baSopenharmony_ciconfig BATTERY_RK816
7853d0407baSopenharmony_ci	tristate "RK816 Battery driver"
7863d0407baSopenharmony_ci	depends on MFD_RK808
7873d0407baSopenharmony_ci	help
7883d0407baSopenharmony_ci	  If you say yes here you will get support for the battery of RK816 PMIC.
7893d0407baSopenharmony_ci	  This driver can give support for Rk816 Battery Charge Interface.
7903d0407baSopenharmony_ci
7913d0407baSopenharmony_ciconfig BATTERY_RK817
7923d0407baSopenharmony_ci	tristate "RK817 Battery driver"
7933d0407baSopenharmony_ci	depends on MFD_RK808
7943d0407baSopenharmony_ci	help
7953d0407baSopenharmony_ci	  If you say yes here you will get support for the battery of RK817 PMIC.
7963d0407baSopenharmony_ci	  This driver can give support for Rk817 Battery Interface.
7973d0407baSopenharmony_ci
7983d0407baSopenharmony_ciconfig CHARGER_RK817
7993d0407baSopenharmony_ci	tristate "RK817 Charger driver"
8003d0407baSopenharmony_ci	depends on MFD_RK808
8013d0407baSopenharmony_ci	help
8023d0407baSopenharmony_ci	  If you say yes here you will get support for the charger of RK817 PMIC.
8033d0407baSopenharmony_ci	  This driver can give support for Rk817 Charger Interface.
8043d0407baSopenharmony_ci
8053d0407baSopenharmony_ciconfig BATTERY_RK818
8063d0407baSopenharmony_ci	tristate "RK818 Battery driver"
8073d0407baSopenharmony_ci	depends on MFD_RK808
8083d0407baSopenharmony_ci	default n
8093d0407baSopenharmony_ci	help
8103d0407baSopenharmony_ci	  If you say yes here you will get support for the battery of RK818 PMIC.
8113d0407baSopenharmony_ci	  This driver can give support for Rk818 Battery Charge Interface.
8123d0407baSopenharmony_ci
8133d0407baSopenharmony_ciconfig CHARGER_RK818
8143d0407baSopenharmony_ci	tristate "RK818 Charger driver"
8153d0407baSopenharmony_ci	depends on MFD_RK808
8163d0407baSopenharmony_ci	default n
8173d0407baSopenharmony_ci	help
8183d0407baSopenharmony_ci	  If you say yes here you will get support for the charger of RK818 PMIC.
8193d0407baSopenharmony_ci	  This driver can give support for Rk818 Charger Interface.
8203d0407baSopenharmony_ci
8213d0407baSopenharmony_ciendif # POWER_SUPPLY
822