drm/prime: add return check for dma_buf_fd
[profile/mobile/platform/kernel/linux-3.10-sc7730.git] / drivers / battery / Kconfig
1
2 config BATTERY_SAMSUNG
3         tristate "samsung battery driver"
4         help
5          Say Y to include support for samsung battery driver
6          This battery driver integrated all battery-related functions
7          To see battery-related functions,
8          refer to sec_charging_common.h
9
10 config BATTERY_SWELLING
11         bool "prevent battery swelling"
12         help
13          Say Y to include support for prevent battery swelling
14
15 config SAMSUNG_LPM_MODE
16         bool "Off charging mode support in sec battery driver"
17         default n
18         help
19          Say Y to include support for sec off charging support
20          This value defiend at bootloader.
21          Before enable this feature,
22          implement power off charging in the bootloader.
23
24 config SAMSUNG_BATTERY_ENG_TEST
25         bool "enable ENG mode for battery test"
26         default n
27         help
28           Say Y to include support for battery test
29           enable this feature only ENG mode
30           this featuren must disabled user binary
31           stability test etc..
32
33 config STBC_SAMSUNG
34        tristate "sec stbc driver"
35        default n
36        help
37          Say Y to include support
38          for fuelgauge driver with mfd.
39          This driver source code implemented
40          fuelgauge driver with mfd.
41
42 config SEC_BATTERY_PM_NOTIFY
43         tristate "call pm_notifier instead of prepare"
44         default n
45         help
46          Say Y to use pm_notifier to prepare entering suspend state for sec_battery driver
47
48 # Fuel Gauge
49
50 config FUELGAUGE_MFD
51         tristate "use mfd driver for fuelgauge driver"
52         default n
53         depends on BATTERY_SAMSUNG
54         help
55          Say Y to include support
56          for fuelgauge driver with mfd.
57          This driver source code implemented
58          fuelgauge driver with mfd.
59
60 config FUELGAUGE_DUMMY
61         tristate "dummy fuel gauge driver"
62         default n
63         depends on BATTERY_SAMSUNG
64         help
65          Say Y to include support
66          for dummy fuel gauge driver.
67          This driver source code implemented
68          skeleton source code for fuel gauge functions.
69
70 config FUELGAUGE_ADC
71         tristate "ADC fuel gauge driver"
72         default n
73         depends on BATTERY_SAMSUNG
74         help
75          Say Y to include support
76          for ADC gauge driver.
77          This driver source code can be used for
78          fuel-gauge that is made of ADC.
79
80 config FUELGAUGE_MAX17042
81         tristate "MAX17042 fuel gauge driver"
82         default n
83         depends on BATTERY_SAMSUNG
84         help
85          Say Y to include support
86          for MAXIM MAX17042 fuel gauge driver.
87          This fuel-gauge can be used in voltage-tracking mode
88          or coulomb-counting mode.
89
90 config FUELGAUGE_MAX17042_VOLTAGE_TRACKING
91         tristate "use MAX17042 fuel gauge only as voltage tracking"
92         default n
93         depends on FUELGAUGE_MAX17042
94         help
95          Say Y to use MAX17042 fuel gauge
96          only as voltage tracking.
97          This mode is for target that consumes low current
98          like smart-phone.
99
100 config FUELGAUGE_MAX17042_COULOMB_COUNTING
101         tristate "use MAX17042 fuel gauge as coulomb counting (including voltage tracking)"
102         default n
103         depends on FUELGAUGE_MAX17042
104         help
105          Say Y to use MAX17042 fuel gauge
106          as coulomb counting (including voltage tracking).
107          This mode is for target that consumes high current
108          like tablet.
109
110 config FUELGAUGE_MAX17048
111         tristate "MAX17048 fuel gauge driver"
112         default n
113         depends on BATTERY_SAMSUNG
114         help
115          Say Y to include support
116          for MAXIM MAX17048 fuel gauge driver.
117          This fuel-gauge can be used
118          only in voltage-tracking mode.
119
120 config FUELGAUGE_MAX17050
121         tristate "MAX17050 fuel gauge driver"
122         default n
123         depends on BATTERY_SAMSUNG
124         help
125          Say Y to include support
126          for MAXIM MAX17047 or MAX17050 fuel gauge driver.
127          This fuel-gauge can be used in voltage-tracking mode
128          or coulomb-counting mode.
129
130 config FUELGAUGE_MAX17050_VOLTAGE_TRACKING
131         tristate "use MAX17050 fuel gauge only as voltage tracking"
132         default n
133         depends on FUELGAUGE_MAX17050
134         help
135          Say Y to use MAX17050 fuel gauge
136          only as voltage tracking.
137          This mode is for target that consumes low current
138          like smart-phone.
139
140 config FUELGAUGE_MAX17050_COULOMB_COUNTING
141         tristate "use MAX17050 fuel gauge as coulomb counting (including voltage tracking)"
142         default n
143         depends on FUELGAUGE_MAX17050
144         help
145          Say Y to use MAX17050 fuel gauge
146          as coulomb counting (including voltage tracking).
147          This mode is for target that consumes high current
148          like tablet.
149
150 config FUELGAUGE_STC3115
151         tristate "STC3115 fuel gauge driver"
152         default n
153         depends on BATTERY_SAMSUNG
154         help
155          Say Y to include support
156          for STC3115 fuel gauge driver.
157
158 config FUELGAUGE_STC3117
159         tristate "STC3117 fuel gauge driver"
160         default n
161         depends on BATTERY_SAMSUNG
162         help
163          Say Y to include support
164          for STC3117 fuel gauge driver.
165
166 config FUELGAUGE_PM8917
167         tristate "PM8917 fuel gauge driver"
168         default n
169         depends on BATTERY_SAMSUNG
170         help
171          Say Y to include support
172          for PM8917 fuel gauge driver.
173          This driver source code implemented
174          all functions for PM8917 fuel gauge.
175
176 config FUELGAUGE_STC3115
177         tristate "STC3115 fuel gauge driver"
178         default n
179         depends on BATTERY_SAMSUNG
180         help
181          Say Y to include support
182          for STC3115 fuel gauge driver.
183          This driver source code implemented
184          all functions for STC3115 fuel gauge.
185
186 config FUELGAUGE_SPRD2713
187         tristate "SPRD2713 fuel gauge driver"
188         default n
189         depends on BATTERY_SAMSUNG
190         help
191          Say Y to include support
192          for SPRD2713 fuel gauge driver.
193          This driver source code implemented
194          all functions for SPRD2713 fuel gauge.
195
196 # Charger
197
198 config CHARGER_MFD
199         tristate "use mfd driver for charger driver"
200         default n
201         depends on BATTERY_SAMSUNG
202         help
203          Say Y to include support
204          for charger driver with mfd.
205          This driver source code implemented
206          charger driver with mfd.
207
208 config CHARGER_SPRD2713
209         tristate "sprd2713 charger driver"
210         default n
211         depends on BATTERY_SAMSUNG
212         help
213          Say Y to include support
214          for Summit sprd2713 charger driver.
215          This driver source code implemented
216          all functions for sprd2713 charger.
217
218 config CHARGER_DUMMY
219         tristate "dummy charger driver"
220         default n
221         depends on BATTERY_SAMSUNG
222         help
223          Say Y to include support
224          for dummy charger driver.
225          This driver source code implemented
226          skeleton source code for charger functions.
227
228 config CHARGER_MAX8903
229         tristate "MAX8903 charger driver"
230         default n
231         depends on BATTERY_SAMSUNG
232         help
233          Say Y to include support
234          for MAXIM MAX8903 charger driver.
235          This driver source code implemented
236          all functions for MAX8903 charger.
237
238 config CHARGER_SMB328
239         tristate "SMB328 charger driver"
240         default n
241         depends on BATTERY_SAMSUNG
242         help
243          Say Y to include support
244          for Summit SMB328 charger driver.
245          This driver source code implemented
246          all functions for SMB328 charger.
247
248 config CHARGER_SMB347
249         tristate "SMB347 charger driver"
250         default n
251         depends on BATTERY_SAMSUNG
252         help
253          Say Y to include support
254          for Summit SMB347 charger driver.
255          This driver source code implemented
256          all functions for SMB347 charger.
257
258 config CHARGER_SMB358
259         tristate "SMB358 charger driver"
260         default n
261         depends on BATTERY_SAMSUNG
262         help
263          Say Y to include support
264          for SMB358 charger driver.
265          This driver source code implemented
266          all functions for SMB358 charger.
267
268 config CHARGER_BQ24157
269         tristate "BQ24157 charger driver"
270         default n
271         depends on BATTERY_SAMSUNG
272         help
273          Say Y to include support
274          for TI BQ24157 charger driver.
275          This driver source code implemented
276          all functions for BQ24157 charger.
277
278 config CHARGER_BQ24190
279         tristate "BQ24190 charger driver"
280         default n
281         depends on BATTERY_SAMSUNG
282         help
283          Say Y to include support
284          for TI BQ24190 charger driver.
285          This driver source code implemented
286          all functions for BQ24190 charger.
287
288 config CHARGER_BQ24191
289         tristate "BQ24191 charger driver"
290         default n
291         depends on BATTERY_SAMSUNG
292         help
293          Say Y to include support
294          for TI BQ24191 charger driver.
295          This driver source code implemented
296          all functions for BQ24191 charger.
297
298 config CHARGER_BQ24260
299         tristate "BQ24260 charger driver"
300         default n
301         depends on BATTERY_SAMSUNG
302         help
303          Say Y to include support
304          for TI BQ24260 charger driver.
305          This driver source code implemented
306          all functions for BQ24260 charger.
307
308 config CHARGER_NCP1851
309         tristate "NCP1851 charger driver"
310         default n
311         depends on BATTERY_SAMSUNG
312         help
313          Say Y to include support
314          for NCP1851 charger driver.
315          This driver source code implemented
316          all functions for NCP1851 charger.
317
318 config CHARGER_TSU8111
319         tristate "TSU8111 charger driver"
320         default n
321         depends on BATTERY_SAMSUNG
322         help
323          Say Y to include support
324          for TSU8111 charger driver.
325          This driver source code implemented
326          all functions for TSU8111 charger.
327
328 config CHARGER_PM8917
329         tristate "PM8917 charger driver"
330         default n
331         depends on BATTERY_SAMSUNG
332         help
333          Say Y to include support
334          for PM8917 charger driver.
335          This driver source code implemented
336          all functions for PM8917 charger.
337
338 config CHARGER_MAX14577
339         tristate "MAX14577 charger driver"
340         default n
341         depends on BATTERY_SAMSUNG
342         depends on CHARGER_MFD
343         help
344          Say Y to include support
345          for MAX14577 charger driver.
346          This driver source code implemented
347          all functions for MAX14577 charger.
348
349 config CHARGER_SM5701
350         tristate "SM5701 charger driver"
351         depends on MFD_SM5701 && I2C
352         default n
353         help
354          Say Y to include support
355          for SiliconMitus SM5701 charger driver..
356
357 config CHARGER_SM5414
358         tristate "SM5414 charger driver"
359         default n
360         help
361          Say Y to include support
362          for SM5414 charger driver.
363          This driver source code implemented
364          all functions for SMB5414 charger.
365
366 config CHARGER_SM5418
367         tristate "SM5418 charger driver"
368         default n
369         help
370          Say Y to include support
371          for SM5418 charger driver.
372          This driver source code implemented
373          all functions for SMB5418 charger.
374
375 # IF PMIC
376
377 config CHARGER_MAX77693
378         tristate "MAX77693 battery charger support"
379         depends on MFD_MAX77693 && I2C
380         help
381           Say Y here to enable support for the MAX77693 charger
382           MAX77693 incluse muic, pmic, haptic, led,
383           flash driver.
384           You have to define MFD_MAX77693
385
386 config CHARGER_MAX77803
387         tristate "MAX77803 battery charger support"
388         depends on MFD_MAX77693 && I2C
389         help
390           Say Y here to enable support for the MAX77803 charger
391           MAX77803 incluse muic, pmic, haptic, led,
392           flash driver.
393           You have to define MFD_MAX77693
394
395 config CHARGER_MAX77XXX
396         tristate "MAX77693 or MAX77803 battery charger support"
397         depends on MFD_MAX77693 && I2C
398         help
399           Say Y here to enable support for the MAX77803 charger
400           MAX77803 incluse muic, pmic, haptic, led,
401           flash driver.
402           You have to define MFD_MAX77693
403
404 config FUELGAUGE_SPRD4SAMSUNG27X3
405         tristate "SPRD27X3 fuel gauge driver"
406         default n
407         depends on BATTERY_SAMSUNG
408         help
409          Say Y to include support
410          for SPRD27X3 fuel gauge driver.
411          This driver source code implemented
412          all functions for SPRD27X3 fuel gauge.
413
414 config CHARGER_SPRD4SAMSUNG27X3
415         tristate "sprd27X3 charger driver"
416         default n
417         depends on BATTERY_SAMSUNG
418         help
419          Say Y to include support
420          for Summit sprd27X3 charger driver.
421          This driver source code implemented
422          all functions for sprd27X3 charger.
423