summaryrefstree
path: root/kernel/drivers/battery/common/Kconfig
blob: 0b2e772c50361907114720a300455a153aeec39b (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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
config DIRECT_CHARGING
	tristate "support for direct charging"
	help
	 Say Y to include support for direct charging
	 support for direct charging models.
	 Direct charging models should enable this charging option.
	 it include some charging scenario for direct charging models.


menu "Samsung Battery Common drivers"

config BATTERY_SAMSUNG
	tristate "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

config CHARGING_VZWCONCEPT
	bool "VZW concept about the charging"
	default n
	depends on BATTERY_SAMSUNG
	help
	  Say Y here to enable
	  support for apply the VZW concepts.
	  VZW models should enable this charging option.
	  it include some charging scenario for VZW models.

config STEP_CHARGING
	bool "support for step charging"
	help
	  Say Y here to enable
	  support for step charging.
	  it could be used with direct charging.
	  it needs step charging tables.

config ENABLE_FULL_BY_SOC
	bool "make full by soc 100%"
	help
	default n
	  Say Y here to enable
	  support to make full charged by soc 100%.
	  If this is N in models,
	  battery common drivers make full by other conditions.

config SEC_PD
	tristate "support for sec pd"
	help
	 Say Y to include support for sec pd control module.
	 This sec_pd driver integrated all pdo related function.
	 To see pdo related functions,
	 refer to sec_pd.h

config UPDATE_BATTERY_DATA
	bool "support for updating battery data"
	default n
	depends on BATTERY_SAMSUNG && OF
	help
	  Say Y here to enable
	  support for update battery data.
	  This integrated load and parsing data functions again.
	  it need to battery data file for update.

config BATTERY_CISD
	bool "support for cisd"
	help
	  Say Y here to enable
	  support for CISD.
	  cisd means cell internal short detection.
	  it include some other detection.

config AFC_CHARGER_MODE
	bool "afc charging support in sec battery driver"
	default n
	help
	  Say Y here to enable
	  support for sec afc charging support
	  it includes some AFC charging options and
	  information about AFC charging.

config SAMSUNG_BATTERY_ENG_TEST
	bool "enable ENG mode for battery test"
	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"
	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 USE_POGO
	bool "enable pogo charging"
	default n
	help
	  Say Y here to enable
	  support POGO properties.
	  some models support POGO,
	  then it make Y.

config STORE_MODE
	bool "enable store mode"
	default n
	help
	  Say Y here to enable
	  support store mode charging concpet.
	  The LDU or RDU enable this STORE_MODE option,
	  it include some charging scenario for store.

config BATTERY_AGE_FORECAST
	bool "battery age forecast"
	default n
	help
	  Say Y here to enable
	  support AGE FORECAST functions.
	  it include some charging scenario for aged batteries.
	  it need age forecast charging tables.

config ENG_BATTERY_CONCEPT
	bool "enable temp block"
	default n
	help
	  Say Y here to enable
	  support CONFIG_ENG_BATTERY_CONCEPT.
	  It is for only in ENG bianry
	  USER binary should disalbe this.

config LIMIT_CHARGING_DURING_CALL
	bool "limit charging during call"
	default n
	help
	  Say Y here to enable
	  support limit charging during call.
	  some models support this for limiting charging current,
	  then it make Y.

config DUAL_BATTERY
    bool "DUAL BATTERY support"
    depends on I2C
    help
	  Say Y here to enable
	  support for dual battery.
	  This integrated all dual-battery related functions.
	  it needs dual battery tables.

config PREVENT_USB_CONN_OVERHEAT
    bool "enable prevent usb conn overheat"
    default n
    help
	  Say Y here to enable
	  support CONFIG_PREVENT_USB_CONN_OVERHEAT.
	  this is for prevent thermal usb conn.
	  it include some charging scenario for thermal usb conn.

config PD_CHARGER_HV_DISABLE
    bool "enable supporing disable high voltage pd charger"
    depends on BATTERY_SAMSUNG && I2C
    help
	  Say Y here to enable
	  supporting disable high voltage pd charger.
	  some models need this for support options that
	  not support high voltage.

config BATTERY_GKI
    bool "temporary support for GKI build"
    help
	  Say Y here to enable
	  support for module build normally.
	  this is temporary added for prevent build break in module build.
	  it will be deleted soon.

config SUPPORT_SHIP_MODE
    bool "support ship mode"
    default n
    help
	  Say Y here to enable
	  support to ship mode.
	  If this is N in models,
	  not support to ship mode.

endmenu

config SEC_BATTERY_VOTE_TEST
    bool "KUnit test for sec_battery_vote_test"
    depends on KUNIT
    help
    	  Say Y here to enable
	  for kunitest
          for sec_battery_vote_test