aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/battery/Kconfig
blob: 489bca1453e951cf2e90bb5f6c4bdc5db8981a20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
menuconfig POWER_SUPPLY
	tristate "Power supply class support"
	help
	  Say Y here to enable power supply class support. This allows
	  power supply (batteries, AC, USB) monitoring by userspace
	  via sysfs and uevent (if available) and/or APM kernel interface
	  (if selected below).

if POWER_SUPPLY

config BATTERY_SEC
	tristate "SAMSUNG battery driver"
	depends on ARCH_S5PV310
	help
	  Say Y to enable samsung battery driver for devices with S5PV310 chip.

config MAX8997_CHARGER
	tristate "MAX8997 battery charger support"
	depends on MFD_MAX8997
	help
	  Say Y here to enable support for the battery charger in the Maxim
	  MAX8997 PMIC.

config BATTERY_MAX17043_FUELGAUGE
	tristate "Maxim MAX17043 Fuel Gauge"
	depends on I2C
	help
	  MAX17043 is fuel-gauge systems for lithium-ion (Li+) batteries
	  in handheld and portable equipment. The MAX17043 is configured
	  to operate with a single lithium cell

config BATTERY_MAX17042_FUELGAUGE
	tristate "Maxim MAX17042 Fuel Gauge"
	depends on I2C
	help
	  MAX17042 is fuel-gauge systems for lithium-ion (Li+) batteries
	  in handheld and portable equipment. The MAX17042 is configured
	  to operate with a single lithium cell

config BATTERY_MAX17047_FUELGAUGE
	tristate "Maxim MAX17047 Fuel Gauge"
	depends on I2C
	help
	  MAX17047 is fuel-gauge systems for lithium-ion (Li+) batteries
	  in handheld and portable equipment. The MAX17047 is configured
	  to operate with a single lithium cell

config BATTERY_MAX17047_C_FUELGAUGE
	tristate "Maxim MAX17047 Fuel Gauge - COULOMB_COUNTING"
	depends on I2C
	help
	  MAX17047 is fuel-gauge systems for lithium-ion (Li+) batteries
	  in handheld and portable equipment. The MAX17047 is configured
	  to operate with a single lithium cell


config BATTERY_SMB136_CHARGER
	tristate "SMB136 battery charger support"
	depends on I2C
	help
	  Say Y here to enable support for the SMB136 charger

config BATTERY_MAX77693_CHARGER
	tristate "MAX77693 battery charger support"
	depends on MFD_MAX77693 && I2C
	help
	  Say Y here to enable support for the MAX77693 charger

config BATTERY_WPC_CHARGER
	tristate "wireless charger support"
	depends on BATTERY_MAX77693_CHARGER
	help
	  Say Y here to enable support for the MAX77693 charger

config BATTERY_SAMSUNG_P1X
	tristate "samsung battery driver for P1x"
	help
	 Say Y to include support for samsung battery driver for P1x.


# Fuel Gauge

config FUELGAUGE_DUMMY
	tristate "dummy fuel gauge driver"
	depends on BATTERY_SAMSUNG
	help
	 Say Y to include support for dummy fuel gauge driver.

config FUELGAUGE_MAX17042
	tristate "MAX17042 fuel gauge driver"
	depends on BATTERY_SAMSUNG_P1X
	help
	 Say Y to include support for MAXIM MAX17042 fuel gauge driver.

config FUELGAUGE_MAX17042_VOLTAGE_TRACKING
	tristate "use MAX17042 fuel gauge only as voltage tracking"
	depends on FUELGAUGE_MAX17042
	help
	 Say Y to use MAX17042 fuel gauge only as voltage tracking.

config FUELGAUGE_MAX17042_COULOMB_COUNTING
	tristate "use MAX17042 fuel gauge as coulomb counting (including voltage tracking)"
	depends on FUELGAUGE_MAX17042
	help
	 Say Y to use MAX17042 fuel gauge as coulomb counting (including voltage tracking).


config FUELGAUGE_MAX17048
	tristate "MAX17048 fuel gauge driver"
	depends on BATTERY_SAMSUNG
	help
	 Say Y to include support for MAXIM MAX17048 fuel gauge driver.

config FUELGAUGE_MAX17050
	tristate "MAX17050 fuel gauge driver"
	default n
	depends on BATTERY_SAMSUNG_P1X
	help
	 Say Y to include support
	 for MAXIM MAX17047 or MAX17050 fuel gauge driver.
	 This fuel-gauge can be used in voltage-tracking mode
	 or coulomb-counting mode.

config FUELGAUGE_MAX17050_VOLTAGE_TRACKING
	tristate "use MAX17050 fuel gauge only as voltage tracking"
	default n
	depends on FUELGAUGE_MAX17050
	help
	 Say Y to use MAX17050 fuel gauge
	 only as voltage tracking.
	 This mode is for target that consumes low current
	 like smart-phone.

config FUELGAUGE_MAX17050_COULOMB_COUNTING
	tristate "use MAX17050 fuel gauge as coulomb counting (including voltage tracking)"
	default n
	depends on FUELGAUGE_MAX17050
	help
	 Say Y to use MAX17050 fuel gauge
	 as coulomb counting (including voltage tracking).
	 This mode is for target that consumes high current
	 like tablet.


# Charger

config CHARGER_DUMMY
	tristate "dummy charger driver"
	depends on BATTERY_SAMSUNG
	help
	 Say Y to include support for dummy charger driver.

config CHARGER_MAX8903
	tristate "MAX8903 charger driver"
	depends on BATTERY_SAMSUNG
	help
	 Say Y to include support for MAXIM MAX8903 charger driver.

config CHARGER_SMB328
	tristate "SMB328 charger driver"
	depends on BATTERY_SAMSUNG
	help
	 Say Y to include support for Summit SMB328 charger driver.

config CHARGER_BQ24190
	tristate "BQ24190 charger driver"
	depends on BATTERY_SAMSUNG_P1X
	help
	 Say Y to include support for TI BQ24190 charger driver.

config CHARGER_BQ24191
	tristate "BQ24191 charger driver"
	depends on BATTERY_SAMSUNG_P1X
	help
	 Say Y to include support for TI BQ24191 charger driver.

endif # POWER_SUPPLY