Kconfig
2.44 KB
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
menuconfig BATTERY_SAMSUNG
bool "samsung battery driver"
help
Say Y to include support for samsung battery driver
This battery driver integrated all battery-related functions
To see battery-related functions,
refer to sec_charging_common.h
if BATTERY_SAMSUNG
config BATTERY_SAMSUNG_DATA_FILE
depends on BATTERY_SAMSUNG
string "samsung battery data file"
default ""
help
Path to the battery data file.
config BATTERY_SAMSUNG_DATA
bool
default BATTERY_SAMSUNG_DATA_FILE != ""
config CHARGING_VZWCONCEPT
bool "VZW concept about the charging"
depends on BATTERY_SAMSUNG
default n
help
Say Y to include support for the VZW concepts.
config BATTERY_SWELLING
bool "prevent battery swelling"
depends on BATTERY_SAMSUNG
help
Say Y to include support for prevent battery swelling
# Fuel Gauge
config FUELGAUGE_MAX77823
tristate "MAX77823 fuel gauge driver"
default n
depends on BATTERY_SAMSUNG
help
Say Y to include support
for MAXIM MAX77823 or MAX77818 fuel gauge driver.
This fuel-gauge can be used in voltage-tracking mode
or coulomb-counting mode.
config FUELGAUGE_MAX77823_VOLTAGE_TRACKING
bool "use MAX77823 fuel gauge only as voltage tracking"
default n
depends on FUELGAUGE_MAX77823
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_MAX77823_COULOMB_COUNTING
bool "use MAX77823 fuel gauge as coulomb counting (including voltage tracking)"
default n
depends on FUELGAUGE_MAX77823
help
Say Y to use MAX77823 fuel gauge
as coulomb counting (including voltage tracking).
This mode is for target that consumes high current
like tablet.
# Charger
config CHARGER_MAX77823
tristate "MAX77823 battery charger support"
depends on BATTERY_SAMSUNG
help
Say Y here to enable support for the MAX77823 charger
config SAMSUNG_BATTERY_ENG_TEST
bool "enable ENG mode for battery test"
depends on BATTERY_SAMSUNG
default n
help
Say Y to include support for battery test
enable this feature only ENG mode
this featuren must disabled user binary
stability test etc..
config SAMSUNG_BATTERY_FACTORY
bool "enable for factory test"
depends on BATTERY_SAMSUNG
default n
help
Say Y to include support for factory test
enable this feature only factory mode
this featuren must disabled user binary
stability test etc..
config SEC_BOARD_MXC
tristate "enable for imx6"
default y if ARCH_MXC
endif #BATTERY_SAMSUNG