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
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
|
menu "Drivers Configurations"
menuconfig MTK_LDVT
bool "LDVT"
depends on ARCH_MT6589 || ARCH_MT6582 || ARCH_MT6595 || ARCH_MT6795 || ARCH_MT6735 || ARCH_MT6735M || ARCH_MT6753 || ARCH_MT8163
default n
---help---
Say Y here for supporting LDVT
if MTK_LDVT
config MTK_LDVT_ADC
bool "MediaTek ADC driver for LDVT"
default y
---help---
MediaTek ADC driver for LDVT
config MTK_LDVT_ADC_TS
bool "MediaTek ADC_TS driver for LDVT"
default y
---help---
config MTK_LDVT_GPT
bool "MediaTek GPT driver for LDVT"
default y
---help---
MediaTek GPT driver for LDVT
config MTK_LDVT_KP
bool "MediaTek KP driver for LDVT"
default y
---help---
MediaTek KP driver for LDVT
config MTK_LDVT_I2C
bool "MediaTek I2C driver for LDVT"
default y
---help---
MediaTek I2C driver for LDVT
config MTK_LDVT_IRDA
bool "MediaTek IrDA driver for LDVT"
default y
---help---
MediaTek IrDA driver for LDVT
config MTK_LDVT_MSDC
bool "MediaTek MSDC driver for LDVT"
default y
---help---
MediaTek MSDC driver for LDVT
config MTK_LDVT_UART
bool "MediaTek UART driver for LDVT"
default y
---help---
MediaTek UART driver for LDVT
config MTK_LDVT_PWM
bool "MediaTek PWM driver for LDVT"
default y
---help---
MediaTek PWM driver for LDVT
config MTK_LDVT_SPI
bool "MediaTek SPI driver for LDVT"
default y
---help---
MediaTek SPI driver for LDVT
config MTK_LDVT_PMIC
bool "MediaTek PMIC driver for LDVT"
default y
---help---
MediaTek PMIC driver for LDVT
config MTK_LDVT_PMIC_WRAP
bool "MediaTek PMIC_WRAP driver for LDVT"
default y
---help---
MediaTek PMIC_WRAP driver for LDVT
endif
# Accdet
config MTK_ACCDET
bool "MediaTek Accessory Detection Support"
default n
config CUSTOM_KERNEL_CHARGEPUMP
bool "backlight driver"
default n
config MTK_IRTX_SUPPORT
bool "MediaTek consumer IR tansmitter"
default n
# CCCI TODO refine
menuconfig MTK_CCCI_DEVICES
bool "CCCI Devices"
default n
---help---
Say Y here to get to see options for device drivers from ccci.
If you say N, all options in this submenu will be skipped and disabled.
config MTK_CCCI_DRIVER # CCCI_DRIVER
tristate "CCCI Driver"
depends on MTK_CCCI_DEVICES
default n
---help---
This option enables ccci device driver support
config MTK_CCCI_EXT # CCCI_DRIVER
bool "Dual CCCI Driver"
depends on MTK_CCCI_DEVICES
default n
---help---
This option enables dual ccci device driver support
config MTK_ECCCI_DRIVER
tristate "ECCCI Driver"
depends on MTK_CCCI_DEVICES
default n
---help---
This option enables ECCCI device driver support
config MTK_ECCCI_CLDMA
tristate "ECCCI CLDMA driver"
depends on MTK_ECCCI_DRIVER
default y
---help---
This option enables ECCCI CLDMA driver
config MTK_ECCCI_CCIF
tristate "ECCCI CCIF driver"
depends on MTK_ECCCI_DRIVER
default n
---help---
This option enables ECCCI CCIF driver
config MTK_ECCCI_UT
tristate "ECCCI UT mode"
depends on MTK_ECCCI_DRIVER
default n
---help---
This option enables ECCCI UT mode (software loopback, no CLDMA support)
config MTK_MD_LOW_BAT_SUPPORT
bool "MediaTek MD low bat support"
default n
config MTK_NET_CCMNI
bool "MediaTek CCMNI driver"
depends on MTK_CCCI_DEVICES
default n
select WIRELESS_EXT
select WEXT_PRIV
config MTK_C2K_DATA_PPP_SUPPORT
bool "MTK_C2K_DATA_PPP_SUPPORT"
default n
config MTK_IRAT_SUPPORT
bool "MTK_IRAT_SUPPORT"
depends on MTK_NET_CCMNI
default n
config MTK_MD_IRAT_SUPPORT
bool "MTK_MD_IRAT_SUPPORT"
depends on MTK_IRAT_SUPPORT
default n
config MTK_ENABLE_MD1
bool "MTK_ENABLE_MD1"
depends on MTK_CCCI_DRIVER || MTK_ECCCI_DRIVER
default y
help
Set to yes, if the first modem is enabled
config MTK_MD1_SUPPORT
int "MTK_MD1_SUPPORT"
depends on MTK_ENABLE_MD1
default 3
help
modem 1 mode: 1=>2g,2=>3g,3=>wg,4=>tg,5=>lwg,6=>ltg,7=>sglte,0=>invalide
config MD1_SIZE
hex "MD1_SIZE"
depends on MTK_ENABLE_MD1
default 0x5000000
help
modem 1 memory size.
config MD1_SMEM_SIZE
hex "MD1_SMEM_SIZE"
depends on MTK_ENABLE_MD1
default 0x200000
help
modem 1 share memory size.
config MTK_ENABLE_MD2
bool "MTK_ENABLE_MD2"
depends on MTK_CCCI_EXT || MTK_ECCCI_DRIVER
default n
help
Set to yes, if the second modem is enabled
config MTK_MD2_SUPPORT
int "MTK_MD2_SUPPORT"
depends on MTK_ENABLE_MD2
default 1
help
modem 2 mode: 1=>2g,2=>3g,3=>wg,4=>tg,5=>lwg,6=>ltg,7=>sglte,0=>invalide
config MD2_SIZE
hex "MD2_SIZE"
depends on MTK_ENABLE_MD2
default 0x1000000
help
modem 2 memory size.
config MD2_SMEM_SIZE
hex "MD2_SMEM_SIZE"
depends on MTK_ENABLE_MD2
default 0x400000
help
modem 2 share memory size.
config MTK_MD_SBP_CUSTOM_VALUE
string "MTK_MD_SBP_CUSTOM_VALUE"
default ""
help
Disable MD SBP(Single Binary Platform) feature or not.
Defined: enable MD SBP feature.
config MTK_MD2_SBP_CUSTOM_VALUE
string "MTK_MD2_SBP_CUSTOM_VALUE"
default ""
help
Disable MD2 SBP(Single Binary Platform) feature or not.
Defined: enable MD2 SBP feature.
config MTK_UMTS_TDD128_MODE
bool "MTK_UMTS_TDD128_MODE"
help
MTK_UMTS_TDD128_MODE=yes means enable UMTS TDD128 specific
features MTK_UMTS_TDD128_MODE=no means disable UMTS TDD128
specific features
# EEMCS
menuconfig MTK_EMCI_DEVICES # Use by MT6290M over SDIO
bool "EMCI Devices"
default n
---help---
Say Y here to get to see options for device drivers from EEMCS.
If you say N, all options in this submenu will be skipped and disabled.
config MTK_EEMCS_DRIVER # EEMCS_DRIVER
tristate "EEMCS Driver"
depends on MTK_EMCI_DEVICES
default y
---help---
This option enables EEMCS device driver support
config MTK_ENABLE_MD5
bool "MTK_ENABLE_MD5"
depends on MTK_EEMCS_DRIVER
default y
help
Enable/Disable External Modem 5 (LTE modem)
config MTK_MD5_SUPPORT
int "MTK_MD5_SUPPORT"
depends on MTK_ENABLE_MD5
default 5
range 0 7
help
modem 5 mode, value range(0-7):0(invalid),1(2g),2(3g),3(wg),4(tg)
config MD5_SMEM_SIZE
hex "MD5_SMEM_SIZE"
depends on MTK_ENABLE_MD5
default 0x200000
help
modem 5 share memory size.
config MD5_SIZE
hex "MD5_SIZE"
depends on MTK_ENABLE_MD5
default 0xd00000
help
modem 5 image size.
# CCCI refine Done
config MTK_EXTERNAL_MODEM_SLOT
string "MTK_EXTERNAL_MODEM_SLOT"
config MTK_SWITCH_TX_POWER
bool "EANBLE TX POWER SWITCH"
default n
config MTK_CONN_LTE_IDC_SUPPORT
bool "MediaTek CONN LTE IDC support"
select MTK_CONN_MD
default y
help
This option enables CONN LTE IDC support
# Frame Buffer Related
menuconfig MTK_FB
bool "MediaTek Framebuffer Driver"
depends on FB
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
select FB_SOFT_CURSOR
---help---
This selects the MediaTek(R) frame buffer driver.
If you want to use MediaTek(R) frame buffer diver, say Y here.
If unsure, say N.
config MTK_FB_SUPPORT_ASSERTION_LAYER
bool "AEE Assertion Layer Support"
depends on MTK_FB
select FONT_8x16
default y
---help---
This enable support for AEE assertion layer.
If you want to enable AEE assertion layer support, say Y here.
If unsure, say N.
config MTK_DITHERING_SUPPORT
bool "MTK_DITHERING_SUPPORT"
help
To control whether enable or disable LCD controller dithering
feature. If choose yes, LCD controller would do dithering to
avoid contour effect, but side effect is that dithering mechanism
will make some noises
config MTK_VIDEOX_CYNGN_LIVEDISPLAY
bool CONFIG_MTK_VIDEOX_CYNGN_LIVEDISPLAY
default n
help
Enable the RGB interface for color calibration.
config MTK_LCM_PHYSICAL_ROTATION
string "MTK_LCM_PHYSICAL_ROTATION"
help
To set the angle between dimension of UI layout and LCM scan
direction
config LCM_HEIGHT
string "LCM_HEIGHT"
default "1920"
help
To set LCM resolution height size
config LCM_WIDTH
string "LCM_WIDTH"
default "1080"
help
To set LCM resolution width size
config CUSTOM_LCM_X
string "LCM_X"
default "0"
help
To set CUSTOM_LCM_X size
config CUSTOM_LCM_Y
string "LCM_Y"
default "0"
help
To set CUSTOM_LCM_Y size
config MTK_OVERLAY_ENGINE_SUPPORT
bool "MTK_OVERLAY_ENGINE_SUPPORT"
help
To open overlay engine to support svp
config MTK_TVOUT_SUPPORT
bool "MTK_TVOUT_SUPPORT"
help
To control whether enable or disable TV-out feature. If choose
yes, video or image on your phone can be demonstrated on TV via
TV-out cable. Also, this feature can help user to get more fun
when playing some games.
config MIXMODE_FOR_INCELL
bool "MIXMODE_FOR_INCELL"
default n
config LCM_SEND_CMD_IN_VIDEO
bool "LCM_SEND_CMD_IN_VIDEO"
default n
# TODO check what's MT6516_EVB_BOARD
config MTK_FB_EVB_USE_HVGA_LCM # FB_MT6516_EVB_USE_HVGA_LCM
bool "Use MagnaChip TA7601 HVGA LCM on EVB"
depends on FB_MT6516 && MT6516_EVB_BOARD
default n
---help---
Use MagnaChip TA7601 HVGA LCM on EVB
config MTK_BTIF
tristate"MediaTek BTIF Driver"
config MTK_WAPI_SUPPORT
bool "MTK_WAPI_SUPPORT"
help
if it is set to TRUE: Support WAPI (WLAN Authentication and
Privacy Infrastructure)
config MTK_PASSPOINT_R1_SUPPORT
bool "MTK_PASSPOINT_R1_SUPPORT"
help
Support Passpoint R1 (Hotspot 2.0 R1)
config MTK_PASSPOINT_R2_SUPPORT
bool "MTK_PASSPOINT_R2_SUPPORT"
help
Support Passpoint R2
config MTK_WIFI_MCC_SUPPORT
bool "MTK_WIFI_MCC_SUPPORT"
default y
help
if it is set to TRUE, wlan will support Multi-Channel Concurrency,
otherwise, only support Single Channel Concurrency
config MTK_COMBO_WIFI
tristate "MediaTek combo chip Wi-Fi support"
depends on MTK_COMBO
depends on !mt592x
select WIRELESS_EXT
select WEXT_PRIV
config MTK_BT_SUPPORT
bool "MTK_BT_SUPPORT"
help
When this option set to yes, the MTK Bluetooth solution will be
included.
config MTK_MERGE_INTERFACE_SUPPORT
bool "MTK_MERGE_INTERFACE_SUPPORT"
config SDIOAUTOK_SUPPORT
tristate "MediaTek SDIO UHS auto calibration support"
default n
config MTK_MT6306_SUPPORT
tristate "MediaTek MT6306 GPIO Controller support"
default y
config MTK_IDLE_TIME_FIX
tristate "MediaTek fix top get idle time issue"
default n
# Graphics 2D
config MTK_G2D
bool "MediaTek G2D Driver"
default y
---help---
MT6516 G2D Driver
# Video Related
config MTK_MPEG4_DEC_DRIVER
tristate "MediaTek MPEG4 Decoder Driver"
default y
config MTK_MPEG4_ENC_DRIVER
tristate "MediaTek MPEG4 Encoder Driver"
default y
config MTK_H264_DEC_DRIVER
tristate "MediaTek H264 Decoder Driver"
default y
config MTK_MFLEXVIDEO_DRIVER
tristate "MediaTek MFlexVideo Driver"
default y
config MTK_VIDEOCODEC_DRIVER
tristate "MediaTek VideoCodec Driver"
default y
# MJC
config MTK_MJC_DRIVER
tristate "MediaTek MJC Driver"
default n
# I2C Bus
config MTK_I2C
tristate "MediaTek I2C adapter"
depends on I2C
default y
---help---
This selects the MediaTek(R) Integrated Inter Circuit bus driver.
If you want to use MediaTek(R) I2C interface, say Y or M here.
If unsure, say N.
config MTK_AP_TO_SCP_I2C
def_bool y if (ARCH_MT6752 || ARCH_MT8163)
---help---
This option enables AP to control SCP I2C controller 2.
#SPI
config MTK_SPI
tristate "MediaTek SPI controller"
depends on SPI
default y
---help---
This selects the MediaTek(R) SPI bus driver.
If you want to use MediaTek(R) SPI interface, say Y or M here. If unsure, say N.
# CMMB
config MTK_CMMB
tristate "MediaTek CMMB Driver"
depends on MTK_SPI
default n
---help---
This selects the MediaTek(R) CMMB driver.
If you want to use MediaTek(R) CMMB driver, say M here.
If unsure, say N.
# Jpeg
config MTK_JPEG
tristate "MediaTek JPEG driver"
default y
# Keyboard
config MTK_KEYPAD
tristate "MediaTek Keypad Support"
help
Say Y here if you want to use the keypad.
To compile this driver as a module, choose M here: the
module will be called mt6516_kpd.
config KEYBOARD_HID
tristate "MediaTek hid keyboard support"
help
Say Y here if you want to use the hid keyboard.
To compile this driver as a module, choose M here: the
module will be called hid_keyboard.
# Leds
config MTK_LEDS
tristate "MediaTek LED Support"
depends on LEDS_CLASS
---help---
This selects the MediaTek(R) LEDs connected to MediaTek chips.
If you want to use MediaTek(R) LEDs support, say Y or M here.
If unsure, say N.
config LIGHTNESS_MAPPING_VALUE
int "LIGHTNESS_MAPPING_VALUE"
default 255
help
Backlight brightness mapping value, from 0 to 255.
# Memory Card
config MTK_MMC
tristate "MediaTek SD/MMC Card Interface support"
---help---
This selects the MediaTek(R) Secure digital and Multimedia card Interface.
If you have a machine with a integrated SD/MMC card reader, say Y or M here.
If unsure, say N.
# SDIO
config MTK_SDIOAUTOK_SUPPORT
tristate "MediaTek SDIO Auto-K support (for SDIO 3.0)"
default n
---help---
This selects the MediaTek(R) SDIO Auto-K Support (for SDIO 3.0).
# Mouse
# if INPUT_MOUSE
menu "MediaTek OFN / Jogball Related Drivers"
config MOUSE_PANASONIC_EVQWJN
bool "Panasonic EVQWJN Jogball Support"
---help---
Say Y here if you have Panasonic EVQWJN Jogball
If unsure, say N.
config MOUSE_AVAGOTECH_A320
bool "Avagotech ADBS-A320 driver"
---help---
Say Y here if you have ADBS-A320 device, which is a Optical Finger Navigation device
If unsure, say N.
endmenu
# endif
# Nand
menuconfig MTK_MTD_NAND
tristate "MediaTek Nand Support"
depends on MTD_NAND
---help---
Enables support for NAND Flash chips wired to MediaTek chips.
config MTK_MTD_NAND_INTERRUPT_SCHEME
bool "Nand Read/Write with interrupt scheme"
depends on MTK_MTD_NAND
default n
---help---
Enable interrupt scheme in Nand Read/Write.
config MTK_MLC_NAND_SUPPORT
tristate "Mediatek MLC NAND Support"
depends on MTK_MTD_NAND
---help---
Enables support for MLC NAND.
config MTK_COMBO_NAND_SUPPORT
tristate "Mediatek COMBO NAND Support"
depends on MTK_MTD_NAND
---help---
Enables support for COMBO NAND.
# Power Related
if POWER_SUPPLY
config MT6326_PMIC
tristate "MediaTek PMIC Driver"
depends on ARCH_MT6516
default y
config MTK_HAFG_20
bool "MediaTek Fuel Gauge 2.0"
default n
config MTK_SMART_BATTERY
tristate "MediaTek Smart Battery Driver"
default y
config MTK_DUMMY_BATTERY
tristate "MediaTek Dummy Battery Driver"
depends on ARCH_MT6516
default n
config MTK_PMU
tristate "MediaTek Power Management Unit Driver"
depends on ARCH_MT6573
default y
config MTK_FGADC
tristate "MediaTek Fuel Gauge Driver"
depends on ARCH_MT6573
default y
config MTK_PMIC
tristate "MediaTek Power Management Unit Driver"
default y
config MTK_PMIC_WRAP
bool "MediaTek PMIC_WRAP driver "
default y
---help---
MediaTek pmic_wrap driver
config MTK_PMIC_MT6397
bool "MediaTek PMIC MT6397"
default n
---help---
MediaTek PMIC MT6397
config POWER_EXT
tristate "MediaTek Power Ext"
default y
config MTK_POWER_EXT_DETECT
bool "MediaTek Power Ext detect"
default n
help
EVB/Phone share load configration. Require one GPIO to do detection,
if GPIO is high mean EVB, otherwise mean phone platform.
config MTK_PUMP_EXPRESS_SUPPORT
bool "MediaTek PUMP EXPRESS"
default n
help
fast charging, by using linear charger to achive better charging ability
config MTK_PUMP_EXPRESS_PLUS_SUPPORT
bool "MediaTek PUMP EXPRESS PLUS"
default n
help
fast charging, by using switch charger to achive better charging ability
config MTK_VOW_SUPPORT
bool "MediaTek VOW support"
default n
config MTK_EXTERNAL_LDO
bool "MediaTek externla LDO"
default n
config X2_BQ27531_SUPPORT
bool "X2_BQ27531 support"
default n
config MTK_BQ24250_SUPPORT
bool "MediaTek Battery driver for BQ24250"
default n
help
BQ24250 charger IC support
config MTK_BQ24261_SUPPORT
bool "MediaTek Battery driver for TI BQ24261"
help
BQ24261 charger IC support
config MTK_BQ24196_SUPPORT
bool "MediaTek Battery driver for TI BQ24196"
help
BQ24196 charger IC support
config MTK_FAN5405_SUPPORT
bool "MTK_FAN5405_SUPPORT"
help
use external charger IC
config MTK_FAN5402_SUPPORT
bool "MTK_FAN5402_SUPPORT"
help
New Config BBK92 Drive Only Codebase
config MTK_BQ24158_SUPPORT
bool "MTK_BQ24158_SUPPORT"
help
add MTK_BQ24158_SUPPORT to ProjectConfig.mk default off
config MTK_BQ24296_SUPPORT
bool "MTK_BQ24296_SUPPORT"
help
BQ24296 charger IC support Yes to support bq24296 No to not
support bq24296
config MTK_BQ27541_SUPPORT
bool "MTK_BQ27541_SUPPORT"
help
yes : support TI bq27541 external gauge IC
config MTK_NCP1851_SUPPORT
bool "MTK_NCP1851_SUPPORT"
help
Support NCP1851 external charger IC
config MTK_NCP1854_SUPPORT
bool "MTK_NCP1854_SUPPORT"
help
Support NCP1854 external charger IC
config MTK_RT9536_SUPPORT
bool "MTK_RT9536_SUPPORT"
default n
help
Say Y to include support for RT9536 Battery Charger
Battery Charger.
config MTK_MAX77819_SUPPORT
tristate "MAXIM 77819 Battery Charger"
depends on I2C
default n
help
Say Y to include support for MAXIM 77819 Battery Charger
Battery Charger.
endif #POWER_SUPPLY
config MTK_DUAL_INPUT_CHARGER_SUPPORT
bool "MTK_DUAL_INPUT_CHARGER_SUPPORT"
default n
help
yes : support dual input charger.
config MTK_WIRELESS_CHARGER_SUPPORT
bool "MTK_WIRELESS_CHARGER_SUPPORT"
help
yes : support wireless charger feature, it can show the wireless
charging animation and charging icon when receive wireless charger
plug-in. no: not support wireless charger feature, stay with
legancy feature, which cannot sense the exist of the wireles
charger.
config MTK_JEITA_STANDARD_SUPPORT
bool "MTK_JEITA_STANDARD_SUPPORT"
default n
help
yes : support charging standard spec named JEITA, once enable this feature,
there would be semeral thermal zone for battery to control its charging
current and CV.
# RTC
config MTK_RTC
bool "MediaTek Real Time Clock Support"
default y
# Serial Port Driver
menuconfig MTK_SERIAL
tristate "MediaTek Serial Port Support"
select SERIAL_CORE
default y
---help---
This selects MediaTek(R) internal UART driver.
If you want to use MediaTek(R) internal UART driver, say Y or M here.
If unsure, say N.
config MTK_SERIAL_CONSOLE
bool "MediaTek Console on Serial Port Support"
depends on MTK_SERIAL=y
select SERIAL_CORE_CONSOLE
default y
---help---
Say Y here if you wish to use MT6516 internal UART as the system
console. You should alter the default console setting by kernel
command line option "console=ttyMT0" or "console=ttyMT1".
config MTK_SERIAL_MODEM_TEST
bool "Support modem test"
depends on MTK_SERIAL=y
default n
---help---
Say Y here is you want to enable modem test. After enabling this
option, UART4 will be switched to modem side. Hence, the command
line parameter should be also modified.
config MTK_UART_USB_SWITCH
bool "MTK_UART_USB_SWITCH"
help
Support share USB DP/DM as UART TX/RX.
# SIM2
config MTK_SIM2
bool "MediaTek SIM2 Driver"
default y
# Sound
config MTK_SOUND
bool "MediaTek Sound Driver"
config MTK_AUDIO_EXTCODEC_SUPPORT
bool "MTK_AUDIO_EXTCODEC_SUPPORT"
default n
help
If you say Y, enable MTK_AUDIO_EXTCODEC_SUPPORT driver.
# ALSPS sensor
config MTK_CM36283
bool "CM36283 for MediaTek package"
default n
config MTK_GP2AP002S00F
bool "GP2AP002S00F for MediaTek package"
default n
config MTK_APM_16D
bool "APM_16D for MediaTek package"
default n
config MTK_EPL2182
bool "EPL2182 for MediaTek package"
default n
config MTK_EPL2182_NEW
bool "EPL2182 for MediaTek package"
default n
config MTK_STK3X1X
bool "STK3X1X for MediaTek package"
default n
config MTK_STK3X1X_NEW
bool "STK3X1X for MediaTek package"
default n
config MTK_CM36652_NEW
bool "cm36652 for MediaTek package"
default n
config MTK_APDS9930
bool "APDS9930 for MediaTek package"
default n
config MTK_CM3232_NEW
bool "CM3232 for MediaTek package"
default n
config MTK_RPR410
bool "rpr410 for MediaTek package"
default n
config MTK_APDS9930_NEW
bool "APDS9930_NEW for MediaTek package"
default n
# Accelerometer sensor
config MTK_KXTJ2_1009
bool "KXTJ2 1009 for MediaTek package"
default n
config MTK_KXTIK1004
bool "KXTIK1004 for MediaTek package"
default n
config MTK_K2DH
bool "K2DH for MediaTek package"
default n
config MTK_BMA222E
bool "BMA222E for MediaTek package"
default n
config MTK_BMA222E_NEW
bool "BMA222E for MediaTek package"
default n
config MTK_MC3410_NEW
bool "MC3410 for MediaTek package"
default n
config MTK_MPU6050G_NEW
bool "MPU6050G for MediaTek package"
default n
config MTK_MPU6050G
bool "MPU6050G for MediaTek package"
default n
config MTK_BMA250
bool "Accelerometer BMA250 for MediaTek package"
default n
config MTK_MPU6515A
bool "MPU6515A for MediaTek package"
default n
config MTK_MPU60X0
bool "MPU60X0 for MediaTek package"
default n
config MTK_KXTJ2_1009_NEW
bool "KXTJ2_1009 for MediaTek package"
default n
config MTK_MC3XXX_AUTO
bool "MTK_MC3XXX_AUTO for MediaTek package"
default n
config MTK_BMA250E
bool "MTK_BMA250E for MediaTek package"
default n
config MTK_LSM6DS3
bool "LSM6DS3 for MediaTek package"
default n
config MTK_MXC400X_NEW
bool "MXC400X for MediaTek package"
default n
config MTK_DA213
bool "DA213 for MediaTek package"
default n
# Gyro sensor
config MTK_MPU3050C
bool "MPU3050C for MediaTek package"
default n
config MTK_MPU3000
bool "MPU3000 for MediaTek package"
default n
config MTK_MPU3000_NEW
bool "MPU3000 for MediaTek package"
default n
config MTK_MPU6050GY_NEW
bool "MPU6050GY for MediaTek package"
default n
config MTK_MPU6050GY
bool "MPU6050GY for MediaTek package"
default n
config MTK_ITG1010_NEW
bool "ITG1010 for MediaTek package"
default n
config MTK_MPU6515G
bool "MPU6515G for MediaTek package"
default n
config MTK_MPU3050C_NEW
bool "MPU3050C for MediaTek package"
default n
config MTK_MPU6050C
bool "MPU6050C for MediaTek package"
default n
# Magnet sensor
config MTK_AKM8963
bool "AKM8963 for MediaTek package"
default n
config MTK_AKM8963_NEW
bool "AKM8963 for MediaTek package"
default n
config MTK_AKM09911
bool "AKM09911 for MediaTek package"
default n
config MTK_AKM09911_NEW
bool "AKM09911 for MediaTek package"
default n
config MTK_HSCDTD006
bool "HSCDTD006 for MediaTek package"
default n
config MTK_BMM050
bool "MTK_BMM050 for MediaTek package"
default n
config MTK_BMM050_NEW
bool "MTK_BMM050_NEW for MediaTek package"
default n
config MTK_BMM056_NEW
bool "MTK_BMM056_NEW for MediaTek package"
default n
config MTK_BMM050
bool "MTK_BMM050 for MediaTek package"
default n
config MTK_MMC3416X
bool "MTK_MMC3416X for MediaTek package"
default n
config MTK_BMA250
bool "MTK_BMA250 for MediaTek package"
default n
config MTK_BMA050
bool "MTK_BMA050 for MediaTek package"
default n
config MTK_BMA050_NEW
bool "MTK_BMA050_NEW for MediaTek package"
default n
config MTK_BMA056
bool "MTK_BMA056 for MediaTek package"
default n
config MTK_BMA255_SDO0
bool "MTK_BMA255_SDO0 for MediaTek package"
default n
config MTK_BMA255_SDO1
bool "MTK_BMA255_SDO1 for MediaTek package"
default n
config MTK_S2200
bool "S2200 for Mediatek package"
default n
config MTK_YAS532
bool "YAS532 for Mediatek package"
default n
config MTK_YAS532_NEW
bool "YAS532 for Mediatek package"
default n
config MTK_IST8303
bool "IST8303 for Mediatek package"
default n
config MTK_ST480
bool "ST480 for MediaTek package"
default n
# Barometer sensor
config MTK_BMP180_NEW
bool "BMP180 for MediaTek package"
default n
# Touch Panel
config MTK_TOUCHPANEL
tristate "MediaTek Touch Panel Driver"
help
Say Y here if you have MediaTek MT6516 touch panel.
If unsure, say N.
config MTK_S7020
bool "S7020 for Mediatek package"
default n
# USB # TODO Check Choice
config MTK_USB_GADGET # USB_GADGET_MT6516 USB_GADGET_MT6573
boolean "MediaTek USB Gadget Driver"
select USB_GADGET_SELECTED
select USB_GADGET_DUALSPEED
default y
# For MTK USB3.0 IP++++
config USB_MU3D_PIO_ONLY
tristate "MediaTek MUSB Gadget support EP0 PIO mode"
default n
config USB_MU3D_DRV
tristate "MediaTek MUSB Gadget support"
default n
config USB_MU3D_DVT
tristate "MediaTek MUSB Gadget support"
default n
config MU3_PHY
bool "MU3 PHY"
default n
---help---
Enables support MU3 PHY for SSUSB or XHCI.
If unsure, say N.
config U3_PHY_GPIO_SUPPORT
bool "MU3 PHY registers access by I2C"
depends on MU3_PHY
default n
---help---
Enables support for read/write PHY registers by external I2C.
If unsure, say N.
config U3_PHY_AHB_SUPPORT
bool "MU3 PHY registers access by AHB"
depends on MU3_PHY
default n
---help---
Enables support for read/write PHY registers by internal AHB.
If unsure, say N.
config MTK_XHCI
tristate "MediaTek U3 XHCI support"
default n
---help---
Enables support Mediatek U3 XHCI functions.
If unsure, say N.
config MTK_OTG_PMIC_BOOST_5V
tristate "MediaTek PMIC BOOST 5V support"
default n
---help---
Enables support PMIC BOOST 5V to be supply usb 5v power.
If unsure, say N.
config MTK_OTG_OC_DETECTOR
tristate "MediaTek Over Current Detector"
default n
---help---
Enables support SW over current detect, if happen, cut down the 5V power.
If unsure, say N.
config MTK_TEST_XHCI
tristate "MediaTek U3 TEST XHCI driver support"
default n
---help---
Enables support Mediatek U3 XHCI test driver kernel framework.
If unsure, say N.
config USBIF_COMPLIANCE
tristate "MediaTek MUSB U3 USBIF COMPLIANCE"
default n
config C60802_SUPPORT
bool "MU3 PHY C60802 support"
depends on MU3_PHY
default n
---help---
Enables support for external PHY(Ver C).
If unsure, say N.
config MTK_S3320
bool "S3320 for Mediatek package"
default n
config MTK_S3320_47
bool "S3320 4.7inch for Mediatek package"
default n
config MTK_S3320_50
bool "S3320 5.0inch for Mediatek package"
default n
config LEDS_LM3632
bool "LM3632 LED"
default n
config LEDS_LM3639
bool "LM3639 Support"
default n
config LEDS_RT8542
bool "RT8542 Support"
default n
config D60802_SUPPORT
bool "MU3 PHY D60802 support"
depends on MU3_PHY
default n
---help---
Enables support for external PHY(Ver D).
If unsure, say N.
config E60802_SUPPORT
bool "MU3 PHY E60802 support"
depends on MU3_PHY
default n
---help---
Enables support for external PHY(Ver E).
If unsure, say N.
config PROJECT_PHY
bool "MU3 ASIC PHY support"
depends on MU3_PHY
default n
---help---
Enables support for ASIC PHY.
If unsure, say N.
# For MTK USB3.0 IP-----
# Vibrator
config MTK_VIBRATOR
bool "MediaTek Vibrator Driver"
default y
# WatchDog
config MTK_WD_KICKER
tristate "WatchDog Kicer"
default y
---help---
Watch dog kicker is a module in the kernel for kicking the watch dog
config KICK_SPM_WDT # SW WORKAROUND
tristate "Kick SPM Watchdog"
default n
---help---
SW workaround to kick SPM WDT instaed of RGU WDT
# Keypad
config ONEKEY_REBOOT_NORMAL_MODE
bool "Long press reboot by Powerkey only on normal mode"
default n
config TWOKEY_REBOOT_NORMAL_MODE
bool "Long press reboot by Powerkey + other key on normal mode"
default n
config ONEKEY_REBOOT_OTHER_MODE
bool "Long press reboot by Powerkey only on other mode"
default n
config TWOKEY_REBOOT_OTHER_MODE
bool "Long press reboot by Powerkey + other key on other mode"
default n
config KPD_PMIC_LPRST_TD
int "Long press reboot timeout period"
range 0 3
default "1"
---help---
0->8s, 1->11s, 2->14s, 3->5s
# Wireless
menuconfig MT592X
tristate "MediaTek MT592x driver support"
depends on MTK_COMBO_WIFI=n
select WIRELESS_EXT
select WEXT_PRIV
config MT5921
bool "MediaTek MT5921 WLAN card"
depends on MT592X
config MT5922
bool "MediaTek MT5922 WLAN card"
depends on MT592X
config MT592X_DEBUG
bool "MediaTek MT592x debug support"
depends on MT592X
config MT592X_PROC
bool "MediaTek MT592x proc support"
depends on MT592X
config MT592X_IBSS
bool "MediaTek MT592x IBSS support"
depends on MT592X
config MT592X_SW_ENC
bool "MediaTek MT592x software encrypt support"
depends on MT592X
config MT592X_WPS
bool "MediaTek MT592x WPS support"
depends on MT592X
config MT592X_EEPROM
bool "MediaTek MT592x EEPROM support"
depends on MT592X
config MT592X_WAPI
bool "MediaTek MT592x WAPI support"
depends on MT592X
config MT592X_PTA
bool "MediaTek MT592x PTA support"
depends on MT592X
config MT592X_SDIO
bool "MediaTek MT592x SDIO support"
depends on MT592X && MMC
config MT592X_SDIO_CLNT
tristate "MediaTek MT592X SDIO CLNT support"
depends on MMC
config USB_MTK_ACM_TEMP
tristate "MediaTek USB ACM Temp support"
default y
config USB_MTK_HDRC
tristate "MediaTek MUSB support"
select USB_GADGET_SELECTED
select USB_GADGET_DUALSPEED
default y
config USB_MTK_HDRC_GADGET
tristate "MediaTek MUSB Gadget support"
config USB_MTK_OTG
tristate "MediaTek MUSB OTG support"
config USB_MTK_DUALMODE
bool "MediaTek DUAL MODE support"
default n
config USB_MTK_DEBUG_FS
tristate "MediaTek MUSB Debug FS support"
depends on DEBUG_FS
config USB_MTK_DEBUG
tristate "MediaTek MUSB Debug support"
config USB_MTK_HDRC_HCD
tristate "MediaTek USB HDRC support"
config MTK_USB_UNIQUE_SERIAL
tristate "MediaTek USB unique serial number"
config MTK_USBFSH # USBFSH
bool "MediaTek USB fullspeed Host driver"
default n
config MUSBFSH_PIO_ONLY
bool "Transfer mode of MediaTek USB fullspeed Host driver"
default n
config MTK_MUSB_QMU_SUPPORT
bool "QMU Transfer mode of MediaTek MUSB"
default n
config AMPC_CDEV_NUM
int "AMPC chard device number(never change this value)"
default 151
help
AMPC char device number.
endmenu
config ION_MTK
bool "Mediatek ION Memory Manager"
config ION_MTK_FB_HEAP_SUPPORT
bool "Mediatek ION FB Heap Support"
config MMPROFILE
bool "MMProfile Support"
config MTK_STAGING
bool "Select which staging drivers you want"
depends on SWAP
select ZSMALLOC
select ZRAM
select ZRAM_DEBUG
default n
#
# MTK PASR mechanism
#
config MTKPASR
bool "MTK proprietary PASR mechanism"
depends on SYSFS && ZSMALLOC
select MTKPASR_RDIRECT
select MTKPASR_MAFL
select MTKPASR_DEBUG
select LZO_COMPRESS
select LZO_DECOMPRESS
default n
help
Mediatek PASR mechanism
config MTKPASR_RDIRECT
bool "Bank scanning direction"
depends on MTKPASR
default y
help
Scanning direction of MTKPASR
config MTKPASR_MAFL
bool "Mark it As Free by removing page blocks from buddy allocator to its List"
depends on MTKPASR
default y
help
Enhance the PASR performance on collecting free banks
config MTKPASR_ALLEXTCOMP
bool "No ZRAM/SWAP"
depends on MTKPASR
default n
config MTKPASR_DEBUG
bool "MTK proprietary PASR debug support"
depends on MTKPASR
default n
help
This option adds additional debugging code to MTK PASR
config MTKPASR_NO_LASTBANK
bool "Modem/TEE/Others occupy the last bank"
depends on MTKPASR
default n
#
# add for power loss test
#
menuconfig PWR_LOSS_MTK_TEST
tristate "Power Loss Test"
default n
help
Say Y here if you want do Power loss test for NAND Or EMMC
If unsure, say N.
if PWR_LOSS_MTK_TEST
config PWR_LOSS_MTK_DEBUG
bool "Debugging"
help
Say Y here if you want turns on low-level debugging
If unsure, say N.
config PWR_LOSS_MTK_SPOH
bool "Power Loss Test Version SPOH"
default n
help
Say Y here if you want to perform Power loss test version SPOH
If unsure, Say N.
endif
menuconfig MTK_EMMC_CACHE
tristate "eMMC Cache"
default n
help
Say Y here if you want do enable cache feature for EMMC
If unsure, say N.
config MTK_GPU_SUPPORT
bool "MTK_GPU_SUPPORT"
default n
help
Using HW 3D if MTK_GPU_SUPPORT=y, otherwise using SW 3D
config MTK_ICUSB_SUPPORT
bool "MTK_ICUSB_SUPPORT"
help
To enable the ICUSB featurea in phone which support USB port 1
config MTK_DT_USB_SUPPORT
bool "MTK_DT_USB_SUPPORT"
help
To enable the dual talk feature in phone over USB port 1
config MTK_SWCHR_SUPPORT
bool "MTK_SWCHR_SUPPORT"
help
Select Y here for MTK switching charger solution
config MTK_DISABLE_POWER_ON_OFF_VOLTAGE_LIMITATION
bool "MTK_DISABLE_POWER_ON_OFF_VOLTAGE_LIMITATION"
help
Used for SMT and HQA, not for SQC and end-user
config MTK_KERNEL_POWER_OFF_CHARGING
bool "MTK_KERNEL_POWER_OFF_CHARGING"
help
yes : support KPOC feature, power off charging would running by
kernel and charging animation by IPO service. no: not support KPOC
feature, and power off charging would running by lk.
config MTK_BQ24160_SUPPORT
bool "MTK_BQ24160_SUPPORT"
help
External switching charger
config MTK_MT8193_SUPPORT
bool "MTK_MT8193_SUPPORT"
# HDMI
config MTK_HDMI_SUPPORT
bool "MTK_HDMI_SUPPORT"
help
To control whether enable or disable HDMI feature. If choose yes,
phone's screen can be demonstrated on TV via HDMI cable.
config MTK_MT8193_HDMI_SUPPORT
bool "MTK_MT8193_HDMI_SUPPORT"
depends on MTK_HDMI_SUPPORT
depends on MTK_MT8193_SUPPORT
config MTK_INTERNAL_HDMI_SUPPORT
bool "MTK_INTERNAL_HDMI_SUPPORT"
depends on MTK_HDMI_SUPPORT
config MTK_MT8193_HDCP_SUPPORT
bool "MTK_MT8193_HDCP_SUPPORT"
help
Enable hdmi tx hdcp support
config CUSTOM_KERNEL_HDMI
string "CUSTOM_KERNEL_HDMI"
help
Specify HDMI external IC type.
config SINGLE_PANEL_OUTPUT
bool "SINGLE_PANEL_OUTPUT"
help
Disable panel output when HDMI connected.
config CUSTOM_KERNEL_BAROMETER
bool "CUSTOM_KERNEL_BAROMETER"
help
Pressure sensor driver to detect pressure
config MTK_INTERNAL_MHL_SUPPORT
bool "MTK_INTERNAL_MHL_SUPPORT"
depends on MTK_HDMI_SUPPORT
help
Enable internal mhl tx support
(can't enable MTK_INTERNAL_HDMI_SUPPORT at the same time)
config MTK_THERMAL_PA_VIA_ATCMD
bool "MTK_THERMAL_PA_VIA_ATCMD"
help
Internal switch for thermal management to query modem RF
temperature via AT command.
config MTK_UMTS_TDD128_MODE
bool "MTK_UMTS_TDD128_MODE"
help
MTK_UMTS_TDD128_MODE=yes means enable UMTS TDD128 specific
features MTK_UMTS_TDD128_MODE=no means disable UMTS TDD128
specific features. This feature option is used for APP to
distinguish TDD, e.g. TDD modem, TDD HW,
TDD specific customization, etc. TDD projects need to enable this
feature option, non-TDD projects must disable this feature option.
config MTK_SIM1_SOCKET_TYPE
string "MTK_SIM1_SOCKET_TYPE"
help
support SIM type 1 socket
config MTK_SIM2_SOCKET_TYPE
string "MTK_SIM2_SOCKET_TYPE"
help
MTK_SIM1_SOCKET_TYPE=1: support type 1 socket type
config MTK_SEC_MODEM_NVRAM_ANTI_CLONE
bool "MTK_SEC_MODEM_NVRAM_ANTI_CLONE"
help
This option is used to enable modem NVRAM anti-clone functionality
[dependency_relationship]: yes If this option is turned on, the
modem part should also turn on for the following setting 1. Modem
project file CUSTOM_OPTION += __NVRAM_BIND_TO_CHIP_CIPHER__ 2. by
default, only two LID is defaulted has MSP attribute
(1)NVRAM_EF_SML_LID (2)NVRAM_EF_SIM_LOCK_LID 3. if want to turn on
specific LID, please add attribute NVRAM_ATTR_MSP
config MTK_MT6333_SUPPORT
bool "MTK_MT6333_SUPPORT"
help
If PCB support MT6333, please set yes. otherwise set no.
config IS_VCORE_USE_6333VCORE
bool "IS_VCORE_USE_6333VCORE"
depends on MTK_MT6333_SUPPORT
default n
config IS_VRF18_USE_6333VRF18
bool "IS_VRF18_USE_6333VRF18"
depends on MTK_MT6333_SUPPORT
default n
config MTK_CTP_RESET_CONFIG
bool "MTK_CTP_RESET_CONFIG"
help
Reset TP IC for avoiding issue of DL wrong load. yes: Use in
internal. no: For customer release
config MTK_BICR_SUPPORT
bool "MTK_BICR_SUPPORT"
help
config MTK_VIDEO_HEVC_SUPPORT
bool "MTK_VIDEO_HEVC_SUPPORT"
help
This option is for HEVC playback/record feature
config MTK_AAL_SUPPORT
bool "MTK_AAL_SUPPORT"
help
Decide whether to support ambient-light adpative backlight control
and display visual enhancement
config NAND_OTP_SUPPORT
bool "NAND_OTP_SUPPORT"
help
Select Y here to enable NAND OTP function support
config MTK_OD_SUPPORT
bool "MTK_OD_SUPPORT"
default n
#
# LENS
#
config MTK_LENS_DUMMYLENS_SUPPORT
bool "Dummy Lens Driver"
default n
config MTK_LENS_AD5820AF_SUPPORT
bool "AD5820AF Lens Driver"
default n
config MTK_LENS_AD5823_SUPPORT
bool "AD5823 Lens Driver"
default n
config MTK_LENS_AD5823AF_SUPPORT
bool "AD5823AF Lens Driver"
default n
config MTK_LENS_AK7345AF_SUPPORT
bool "AK7345AF Lens Driver"
default n
config MTK_LENS_BU6424AF_SUPPORT
bool "BU6424AF Lens Driver"
default n
config MTK_LENS_BU64245_SUPPORT
bool "BU64245 Lens Driver"
default n
config MTK_LENS_BU6429AF_SUPPORT
bool "BU6429AF Lens Driver"
default n
config MTK_LENS_BU64745GWZAF_SUPPORT
bool "BU64745GWZAF Lens Driver"
default n
config MTK_LENS_AK7345AF_SUPPORT
bool "AK7345AF Lens Driver"
default n
config MTK_LENS_DW9718AF_SUPPORT
bool "DW9718AF Lens Driver"
default n
config MTK_LENS_DW9714AF_SUPPORT
bool "DW9714AF Lens Driver"
default n
config MTK_LENS_DW9714A_SUPPORT
bool "DW9714A Lens Driver"
default n
config MTK_LENS_DW9814AF_SUPPORT
bool "DW9814AF Lens Driver"
default n
config MTK_LENS_LC898122AF_SUPPORT
bool "LC898122AF Lens Driver"
default n
config MTK_LENS_LC898212AF_SUPPORT
bool "LC898212AF Lens Driver"
default n
config MTK_LENS_FM50AF_SUPPORT
bool "FM50AF Lens Driver"
default n
config MTK_LENS_MT9P017AF_SUPPORT
bool "MT9P017AF Lens Driver"
default n
config MTK_LENS_OV8825AF_SUPPORT
bool "OV8825AF Lens Driver"
default n
config MTK_LENS_SENSORDRIVE_SUPPORT
bool "SENSORDRIVE Lens Driver"
default n
config MTK_LENS_GAF001AF_SUPPORT
bool "GAF001AF Lens Driver"
default n
config MTK_LENS_GAF002AF_SUPPORT
bool "GAF002AF Lens Driver"
default n
config MTK_LENS_GAF008AF_SUPPORT
bool "GAF008AF Lens Driver"
default n
#
# MTK_EXTMEM for LCA project
#
config MTK_EXTMEM
bool "mtk external memory"
depends on MTK_INTERNAL
default n
config MTK_INHOUSE_GPU
bool "MTK_INHOUSE_GPU"
help
Select Y here to enable inhouse gpu support
config SW_SYNC64
bool "Software synchronization 64bits objects"
default n
depends on SW_SYNC
help
A sync object driver that uses a 64bit counter to coordinate
syncrhronization. Useful when there is no hardware primitive backing
the synchronization.
|