• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig POWER_SUPPLY
3	bool "Power supply class support"
4	help
5	  Say Y here to enable power supply class support. This allows
6	  power supply (batteries, AC, USB) monitoring by userspace
7	  via sysfs and uevent (if available) and/or APM kernel interface
8	  (if selected below).
9
10if POWER_SUPPLY
11
12config CHARGER_BQ25700
13	tristate "TI BQ25700 battery charger driver"
14	depends on REGMAP_I2C
15	help
16	  Say Y to enable support for the TI BQ25700 battery charger.
17
18config BATTERY_CW2017
19	tristate "CW2017 Battery driver"
20	depends on I2C
21	select REGMAP_I2C
22	help
23	  Say Y here to enable support for the cellwise cw2017
24	  battery fuel gauge (used in the Pinebook Pro & others)
25
26	  This driver can also be built as a module. If so, the module will be
27	  called cw2017_battery.
28
29config BATTERY_RK817
30	tristate "RK817 Battery driver"
31	depends on MFD_RK808
32	help
33	  If you say yes here you will get support for the battery of RK817 PMIC.
34	  This driver can give support for Rk817 Battery Interface.
35
36config CHARGER_RK817
37	tristate "RK817 Charger driver"
38	depends on MFD_RK808
39	help
40	  If you say yes here you will get support for the charger of RK817 PMIC.
41	  This driver can give support for Rk817 Charger Interface.
42
43endif # POWER_SUPPLY
44