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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
|
menuconfig MEDIATEK_SOLUTION
bool "MediaTek Properitary Configuration"
help
Check this to enable MediaTek properity configuration.
if MEDIATEK_SOLUTION
config MTK_PLATFORM
string "MTK platform name"
config ARCH_MTK_PROJECT
string "MTK project name"
config MTK_INTERNAL
bool "Enable MTK internal debug feature"
help
Identify if codebase is built with MTK internal debug
(Don't modify this feature option setting.)
source "drivers/misc/mediatek/cirq/Kconfig"
source "drivers/misc/mediatek/systracker/Kconfig"
source "drivers/misc/mediatek/l2c_share/Kconfig"
config HAVE_AEE_FEATURE
bool "HAVE_AEE_FEATURE"
help
AEE (Android Exception Engine) that designed by Mediatek is an
exception catching and debugging information generation mechanism.
It can collect and dump information to filesystem
(/sdcard/mtklog/aee_exp) when fatel occur(E.g. kernel
panic/android system server crash and ..)
config HAVE_XLOG_FEATURE
bool "HAVE_XLOG_FEATURE"
help
It decide whether the system has XLOG mechanism. XLOG is a log
filter mechanism which can filter the logs by tag before they are
written to log buffer
config FPGA_EARLY_PORTING
bool "FPGA_EARLY_PORTING"
help
Used for FPGA early porting to separate code segments between FPGA
platform and non-FPGA platform
config MTK_EMMC_SUPPORT
bool "MTK_EMMC_SUPPORT"
help
eMMC feature enable/disable
config MTK_NEW_COMBO_EMMC_SUPPORT
bool "MTK_NEW_COMBO_EMMC_SUPPORT"
help
Add option for new combo-emmc
config MTK_GPT_SCHEME_SUPPORT
bool "MTK_GPT_SCHEME_SUPPORT"
depends on EFI_PARTITION
help
MTK Support for GUID Partition Table
config MTK_SHARED_SDCARD
bool "MTK_SHARED_SDCARD"
help
sdcard will be a folder of /data
config MTK_MULTI_STORAGE_SUPPORT
bool "MTK_MULTI_STORAGE_SUPPORT"
help
Support more than 1 SD. Some write app can save to one of the
storages. Ex: Camera,recorder,browser,BT,ATV,CMMB. Mount service
can mount multi-storage. And Media scanner will scan all storages.
config MTK_MULTI_PARTITION_MOUNT_ONLY_SUPPORT
bool "MTK_MULTI_PARTITION_MOUNT_ONLY_SUPPORT"
help
Enable/disable USB OTG to mount multi-partition USB disk
config MTK_SECURITY_SW_SUPPORT
bool "Enable MTK SECURITY SW Support"
default n
help
If yes, All security function in preloader/LK/kernel/android will
be built into software images
config MTK_SEC_MODEM_AUTH
bool "Enable MTK SECURITY MODEM AUTH"
default n
help
If yes, All security function in preloader/LK/kernel/android will be built into software images
config HAVE_MTK_IN_HOUSE_TEE_SUPPORT
bool "Enable MTK in-house TEE Solution"
def_bool n
config MTK_IN_HOUSE_TEE_SUPPORT
bool "Enable MTK In House TEE Support"
depends on HAVE_MTK_IN_HOUSE_TEE_SUPPORT
default n
help
This enable MTK TEE support.
config HAVE_TRUSTONIC_TEE_SUPPORT
bool "Enable MTK TRUSTONIC TEE Solution"
default n
#
# TRUSTONIC TEE configuration
#
config TRUSTONIC_TEE_SUPPORT
bool "Enable Trustonic TEE Support"
depends on HAVE_TRUSTONIC_TEE_SUPPORT
default n
---help---
Enable Trustonic TEE Support
config TRUSTONIC_TRUSTED_UI
tristate "<t-base TUI"
depends on MOBICORE_API
default n
---help---
Enable <t-base Trusted User Interface
config TRUSTONIC_TRUSTED_UI_FB_BLANK
bool "<t-base TUI with fb_blank"
depends on TRUSTONIC_TRUSTED_UI
default n
---help---
Blank the framebuffer before starting a TUI session
#
# MobiCore configuration
#
config MOBICORE_DRIVER
tristate "MobiCore Driver"
depends on TRUSTONIC_TEE_SUPPORT
default n
---help---
Enable Linux Kernel MobiCore Support
config MOBICORE_DEBUG
bool "MobiCore Module debug mode"
depends on MOBICORE_DRIVER
default n
---help---
Enable Debug mode in the MobiCore Driver.
It enables printing information about mobicore operations
config MOBICORE_VERBOSE
bool "MobiCore Module verbose debug mode"
depends on MOBICORE_DEBUG
default n
---help---
Enable Verbose Debug mode in the MobiCore Driver.
It enables printing extra information about mobicore operations
Beware: this is only useful for debuging deep in the driver because
it prints too much logs
config MOBICORE_API
tristate "Linux MobiCore API"
depends on MOBICORE_DRIVER
default n
---help---
Enable Linux Kernel MobiCore API
config MTK_SEC_VIDEO_PATH_SUPPORT
bool "Enable MTK Secure Video Path Support"
depends on (MTK_IN_HOUSE_TEE_SUPPORT) || (TRUSTONIC_TEE_SUPPORT)
default n
help
This enable MTK Secure Video Path Support. (depending on MTK In-House TEE Support or Trustonic TEE Support)
config MTK_THERMAL_STATUS_COLLECTION
bool "MTK Thermal Status Information Collection"
default n
config MD32_SUPPORT
bool "Specifiy If Platform Support MD32"
default n
config MTK_MEMCFG
bool "Support enhanced memory configurations"
default n
help
config MTK_DT_SUPPORT
bool "MTK_DT_SUPPORT"
default n
config MTK_C2K_SUPPORT
bool "MTK_C2K_SUPPORT"
depends on !ARCH_MT6735M
default n
help
To support C2K modem
config EVDO_DT_SUPPORT
bool "EVDO_DT_SUPPORT"
depends on MTK_C2K_SUPPORT
default n
help
To support CDMA+GSM dual talk feature
config MTK_SVLTE_SUPPORT
bool "MTK_SVLTE_SUPPORT"
depends on MTK_C2K_SUPPORT
default n
help
To support SVLTE feature
config EVDO_DT_VIA_SUPPORT
bool "EVDO_DT_VIA_SUPPORT"
depends on MTK_C2K_SUPPORT
default n
help
To support VIA CBP modem
config MTK_TELEPHONY_BOOTUP_MODE_SLOT1
int "MTK_TELEPHONY_BOOTUP_MODE_SLOT1"
depends on EVDO_DT_SUPPORT
default 0
help
EVDO devcie telephony slot1 boot up mode
config MTK_TELEPHONY_BOOTUP_MODE_SLOT2
int "MTK_TELEPHONY_BOOTUP_MODE_SLOT2"
depends on EVDO_DT_SUPPORT
default 1
help
EVDO devcie telephony slot2 boot up mode
config MTK_SMARTBOOK_SUPPORT
bool "MTK_SMARTBOOK_SUPPORT"
help
Smartbook feature enables phone to connect with a smartbook
device. A smartbook device is something like a notebook, it has
screen, keyboard, touchpad, speaker, dual usb port, led light, yet
it doesn't have a internal storage, ram or CPU. Once smartbook-
feature-enabled phone is connected to a smartbook, all content on
phone screen is shown on smartbook screen, and user can operate
the phone via smartbook's keyboard, touchpad or plugged usb mouse.
config MTK_SENSOR_SUPPORT
bool "MTK_SENSOR_SUPPORT"
help
sensor config to sensor port sensor feature in project
config MTK_AUTO_DETECT_ACCELEROMETER
bool "MTK_AUTO_DETECT_ACCELEROMETER"
depends on MTK_SENSOR_SUPPORT
help
one load to support different accelerometer sensor
config MTK_AUTO_DETECT_MAGNETOMETER
bool "MTK_AUTO_DETECT_MAGNETOMETER"
help
one load to support different magnetometer sensor
config MTK_AUTO_DETECT_ALSPS
bool "MTK_AUTO_DETECT_ALSPS"
help
This feature Option is used for projects which using more than one
ALSPS sensors, more than one ALSPS drivers can be builded in to
project and be auto detected by setting this option to yes
# Custom
config CUSTOM_KERNEL_ACCELEROMETER
bool "CUSTOM_KERNEL_ACCELEROMETER"
help
accelerometer sensor to detect accelerometer from x y z axis.
config CUSTOM_KERNEL_GYROSCOPE
bool "CUSTOM_KERNEL_GYROSCOPE"
help
gyroscope driver
config CUSTOM_KERNEL_ALSPS
bool "CUSTOM_KERNEL_ALSPS"
help
ALSPS sensor driverto detect ambint light and the object is close
or far awary from device
config CUSTOM_SEC_AUTH_SUPPORT
bool "CUSTOM_SEC_AUTH_SUPPORT"
help
Support customer to implement and apply their own RSA security
functions
config CUSTOM_KERNEL_MAGNETOMETER
bool "CUSTOM_KERNEL_MAGNETOMETER"
help
compass driver to detect compass raw data and report orientatino
data
config CUSTOM_KERNEL_BAROMETER
bool "CUSTOM_KERNEL_BAROMETER"
help
To detect barometer raw data
config MTK_SENSOR_HUB_SUPPORT
bool "MTK_SENSOR_HUB_SUPPORT"
help
To enable MTK sensor hub
config CUSTOM_KERNEL_SENSORHUB
string "CUSTOM_KERNEL_SENSORHUB"
help
Kernel space sensor hub driver. Define project used all sensor hub
sensors. The value is combination of sensor hub driver(get data...etc)
and sensor hub framework driver(transmit shf info)
config INPUT_CWSTM32
bool "CONFIG_INPUT_CWSTM32"
help
Cywee on STM32
config CUSTOM_KERNEL_STEP_COUNTER
string "CUSTOM_KERNEL_STEP_COUNTER"
help
Kernel space step counter driver.
config CUSTOM_KERNEL_SIGNIFICANT_MOTION_SENSOR
string "CUSTOM_KERNEL_SIGNIFICANT_MOTION_SENSOR"
help
Kernel space sigificant motion sensor driver.
config CUSTOM_KERNEL_ACTIVITY_SENSOR
string "CUSTOM_KERNEL_ACTIVITY_SENSOR"
help
Kernel space activity sensor driver.
config CUSTOM_KERNEL_PICK_UP_SENSOR
string "CUSTOM_KERNEL_PICK_UP_SENSOR"
help
Kernel space pick up sensor driver.
config CUSTOM_KERNEL_SHAKE_SENSOR
string "CUSTOM_KERNEL_SHAKE_SENSOR"
help
Kernel space shake sensor driver.
config CUSTOM_KERNEL_FACE_DOWN_SENSOR
string "CUSTOM_KERNEL_FACE_DOWN_SENSOR"
help
Kernel space face down sensor driver.
config CUSTOM_KERNEL_IN_POCKET_SENSOR
string "CUSTOM_KERNEL_IN_POCKET_SENSOR"
help
Kernel space in pocket detection sensor driver.
config CUSTOM_KERNEL_PEDOMETER
string "CUSTOM_KERNEL_PEDOMETER"
help
Kernel space pedometer sensor driver.
config CUSTOM_KERNEL_HEART_RATE_SENSOR
string "CUSTOM_KERNEL_HEART_RATE_SENSOR"
help
Kernel space heart rate sensor driver.
config CUSTOM_KERNEL_TILT_DETECTOR_SENSOR
string "CUSTOM_KERNEL_TILT_DETECTOR_SENSOR"
help
Kernel space tilt detector sensor driver.
config CUSTOM_KERNEL_WAKE_GESTURE_SENSOR
string "CUSTOM_KERNEL_WAKE_GESTURE_SENSOR"
help
Kernel space wake up gesture sensor driver.
config CUSTOM_KERNEL_GLANCE_GESTURE_SENSOR
string "CUSTOM_KERNEL_GLANCE_GESTURE_SENSOR"
help
Kernel space glance(touch wake up) gesture sensor driver.
config CUSTOM_KERNEL_IMGSENSOR
string "CUSTOM_KERNEL_IMGSENSOR"
help
Kernel space image sensor driver. Define project used all image
sensors .The value is combination of CUSTOM_KERNEL_MAIN_IMGSENSOR,
CUSTOM_KERNEL_MAIN_BACKUP_IMGSENSOR, CUSTOM_KERNEL_SUB_IMGSENSOR,
and CUSTOM_KERNEL_SUB_BACKUP_IMGSENSOR
config CUSTOM_KERNEL_CAM_CAL_DRV
string "CUSTOM_KERNEL_CAM_CAL_DRV"
help
Kernel space camera calibration driver. Define project used cam_cal
driver .
config CUSTOM_KERNEL_LCM
string "CUSTOM_KERNEL_LCM"
help
To choose kernel LCM driver name
config CUSTOM_KERNEL_FLASHLIGHT
string "CUSTOM_KERNEL_FLASHLIGHT"
help
Kernel space cameara flashlight driver. You can use this driver
choose cameara flashlight type.
config CUSTOM_KERNEL_EXTMD
string "CUSTOM_KERNEL_EXTMD"
default ""
help
Config external md type.
config CUSTOM_KERNEL_SSW
string "CUSTOM_KERNEL_SSW"
help
To choose kernel sim switch driver
ssw_single: internal switcher for MT6572,MT6582,MT6592
ssw_generic: internal switcher for MT6589
ssw_generic_v2: internal switcher for K2 phone
fxla2203: phase-out
combo_fxla2203: external switcher for MT6582+EVDO, MT6592+EVDO
combo_fxla2203_v2: 2 2X2 external switcher for ROME(MT6595 MT6795) DSDA
combo_fxla2203_v3: 1 2X2 external switcher for X2(MT6595 MT6795) DSDA
ssw_single_v2: internel switcher for Denali(1,2,3)
config MTK_FORCE_CLUSTER1
bool "MTK_FORCE_CLUSTER1"
help
This option is used to forcing system to run on CPU cluster 1,
e.g. big cores on BIG.LITTLE system. MTK_FORCE_CLUSTER1 = "yes"
means enable this feature and "no" disable.
config MTK_MMPROFILE_SUPPORT
bool "MTK_MMPROFILE_SUPPORT"
help
Multimedia profiling mechanism
config MTK_HIBERNATION
bool "MTK Hibernation support (IPOH)"
depends on TOI
default y
---help---
MTK Hibernation is the improved hibernation
in kernel for IPOH.
config CUSTOM_KERNEL_CHARGEPUMP
bool "CUSTOM_KERNEL_CHARGEPUMP"
default n
config MTK_TC1_FEATURE
bool "MTK_TC1_FEATURE"
default n
config MTK_TC7_FEATURE
bool "MTK_TC7_FEATURE"
default n
config MTK_TC1_FM_AT_SUSPEND
bool "MTK_TC1_FM_AT_SUSPEND"
default n
config MEIZU_CLOSE_MTK_LOG
bool "MEIZU close some MTK log in eng version"
default n
help
MTK log is too much, so close some log for Android boot.
source "drivers/misc/mediatek/Kconfig.kernel"
source "drivers/misc/mediatek/Kconfig.drivers"
source "drivers/misc/mediatek/smartpa/Kconfig"
source "drivers/misc/mediatek/lastpc/Kconfig"
source "drivers/misc/mediatek/hwmon/Kconfig"
source "drivers/misc/mediatek/cmdq/Kconfig"
source "drivers/misc/mediatek/videox/Kconfig"
source "drivers/misc/mediatek/mt_logger/Kconfig"
source "drivers/misc/mediatek/conn_md/Kconfig"
source "drivers/misc/mediatek/lens/Kconfig"
source "drivers/misc/mediatek/imgsensor/Kconfig"
source "drivers/misc/mediatek/cam_cal/Kconfig"
source "drivers/misc/mediatek/flashlight/Kconfig"
source "drivers/misc/mediatek/dum-char/Kconfig"
source "drivers/misc/mediatek/sysenv/Kconfig"
source "drivers/misc/mediatek/smi/Kconfig"
source "drivers/misc/mediatek/btcvsd/Kconfig"
source "drivers/misc/mediatek/sound/Kconfig"
source "drivers/misc/mediatek/power_gs/Kconfig"
source "drivers/misc/mediatek/video/Kconfig"
source "drivers/misc/mediatek/mrdump/Kconfig"
source "drivers/misc/mediatek/wmt_ccci/Kconfig"
source "drivers/misc/mediatek/vcorefs/Kconfig"
source "drivers/misc/mediatek/emi_mpu/Kconfig"
source "drivers/misc/mediatek/emi_bwl/Kconfig"
source "drivers/misc/mediatek/dbg_dump/Kconfig"
source "drivers/misc/mediatek/connectivity/Kconfig"
source "drivers/misc/mediatek/hall/Kconfig"
source "drivers/misc/mediatek/multibridge/Kconfig"
source "drivers/misc/mediatek/m4u/Kconfig"
endif
|