disable some mediatekl custom warnings
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / misc / mediatek / Kconfig.drivers
1 menu "Drivers Configurations"
2 menuconfig MTK_LDVT
3 bool "LDVT"
4 depends on ARCH_MT6589 || ARCH_MT6582 || ARCH_MT6595 || ARCH_MT6795 || ARCH_MT6735 || ARCH_MT6735M || ARCH_MT6753
5 default n
6 ---help---
7 Say Y here for supporting LDVT
8
9 if MTK_LDVT
10
11 config MTK_LDVT_ADC
12 bool "MediaTek ADC driver for LDVT"
13 default y
14 ---help---
15 MediaTek ADC driver for LDVT
16
17 config MTK_LDVT_ADC_TS
18 bool "MediaTek ADC_TS driver for LDVT"
19 default y
20 ---help---
21
22 config MTK_LDVT_GPT
23 bool "MediaTek GPT driver for LDVT"
24 default y
25 ---help---
26 MediaTek GPT driver for LDVT
27
28 config MTK_LDVT_KP
29 bool "MediaTek KP driver for LDVT"
30 default y
31 ---help---
32 MediaTek KP driver for LDVT
33
34 config MTK_LDVT_I2C
35 bool "MediaTek I2C driver for LDVT"
36 default y
37 ---help---
38 MediaTek I2C driver for LDVT
39
40 config MTK_LDVT_IRDA
41 bool "MediaTek IrDA driver for LDVT"
42 default y
43 ---help---
44 MediaTek IrDA driver for LDVT
45
46 config MTK_LDVT_MSDC
47 bool "MediaTek MSDC driver for LDVT"
48 default y
49 ---help---
50 MediaTek MSDC driver for LDVT
51
52 config MTK_LDVT_UART
53 bool "MediaTek UART driver for LDVT"
54 default y
55 ---help---
56 MediaTek UART driver for LDVT
57
58 config MTK_LDVT_PWM
59 bool "MediaTek PWM driver for LDVT"
60 default y
61 ---help---
62 MediaTek PWM driver for LDVT
63
64 config MTK_LDVT_SPI
65 bool "MediaTek SPI driver for LDVT"
66 default y
67 ---help---
68 MediaTek SPI driver for LDVT
69
70 config MTK_LDVT_PMIC
71 bool "MediaTek PMIC driver for LDVT"
72 default y
73 ---help---
74 MediaTek PMIC driver for LDVT
75
76 config MTK_LDVT_PMIC_WRAP
77 bool "MediaTek PMIC_WRAP driver for LDVT"
78 default y
79 ---help---
80 MediaTek PMIC_WRAP driver for LDVT
81
82 endif
83
84 # Accdet
85 config MTK_ACCDET
86 bool "MediaTek Accessory Detection Support"
87 default n
88
89 config CUSTOM_KERNEL_CHARGEPUMP
90 bool "backlight driver"
91 default n
92
93 # CCCI TODO refine
94 menuconfig MTK_CCCI_DEVICES
95 bool "CCCI Devices"
96 default n
97 ---help---
98 Say Y here to get to see options for device drivers from ccci.
99 If you say N, all options in this submenu will be skipped and disabled.
100
101 config MTK_CCCI_DRIVER # CCCI_DRIVER
102 tristate "CCCI Driver"
103 depends on MTK_CCCI_DEVICES
104 default n
105 ---help---
106 This option enables ccci device driver support
107
108 config MTK_CCCI_EXT # CCCI_DRIVER
109 bool "Dual CCCI Driver"
110 depends on MTK_CCCI_DEVICES
111 default n
112 ---help---
113 This option enables dual ccci device driver support
114
115 config MTK_ECCCI_DRIVER
116 tristate "ECCCI Driver"
117 depends on MTK_CCCI_DEVICES
118 default n
119 ---help---
120 This option enables ECCCI device driver support
121
122 config MTK_ECCCI_CLDMA
123 tristate "ECCCI CLDMA driver"
124 depends on MTK_ECCCI_DRIVER
125 default y
126 ---help---
127 This option enables ECCCI CLDMA driver
128
129 config MTK_ECCCI_CCIF
130 tristate "ECCCI CCIF driver"
131 depends on MTK_ECCCI_DRIVER
132 default n
133 ---help---
134 This option enables ECCCI CCIF driver
135
136 config MTK_ECCCI_UT
137 tristate "ECCCI UT mode"
138 depends on MTK_ECCCI_DRIVER
139 default n
140 ---help---
141 This option enables ECCCI UT mode (software loopback, no CLDMA support)
142
143 config MTK_MD_LOW_BAT_SUPPORT
144 bool "MediaTek MD low bat support"
145 default n
146
147 config MTK_NET_CCMNI
148 bool "MediaTek CCMNI driver"
149 depends on MTK_CCCI_DEVICES
150 default n
151 select WIRELESS_EXT
152 select WEXT_PRIV
153
154 config MTK_ENABLE_MD1
155 bool "MTK_ENABLE_MD1"
156 depends on MTK_CCCI_DRIVER || MTK_ECCCI_DRIVER
157 default y
158 help
159 Set to yes, if the first modem is enabled
160
161 config MTK_MD1_SUPPORT
162 int "MTK_MD1_SUPPORT"
163 depends on MTK_ENABLE_MD1
164 default 3
165 help
166 modem 1 mode: 1=>2g,2=>3g,3=>wg,4=>tg,5=>lwg,6=>ltg,7=>sglte,0=>invalide
167
168 config MD1_SIZE
169 hex "MD1_SIZE"
170 depends on MTK_ENABLE_MD1
171 default 0x5000000
172 help
173 modem 1 memory size.
174
175 config MD1_SMEM_SIZE
176 hex "MD1_SMEM_SIZE"
177 depends on MTK_ENABLE_MD1
178 default 0x200000
179 help
180 modem 1 share memory size.
181
182 config MTK_ENABLE_MD2
183 bool "MTK_ENABLE_MD2"
184 depends on MTK_CCCI_EXT || MTK_ECCCI_DRIVER
185 default n
186 help
187 Set to yes, if the second modem is enabled
188
189 config MTK_MD2_SUPPORT
190 int "MTK_MD2_SUPPORT"
191 depends on MTK_ENABLE_MD2
192 default 1
193 help
194 modem 2 mode: 1=>2g,2=>3g,3=>wg,4=>tg,5=>lwg,6=>ltg,7=>sglte,0=>invalide
195
196 config MD2_SIZE
197 hex "MD2_SIZE"
198 depends on MTK_ENABLE_MD2
199 default 0x1000000
200 help
201 modem 2 memory size.
202
203 config MD2_SMEM_SIZE
204 hex "MD2_SMEM_SIZE"
205 depends on MTK_ENABLE_MD2
206 default 0x400000
207 help
208 modem 2 share memory size.
209
210 config MTK_MD_SBP_CUSTOM_VALUE
211 string "MTK_MD_SBP_CUSTOM_VALUE"
212 default ""
213 help
214 Disable MD SBP(Single Binary Platform) feature or not.
215 Defined: enable MD SBP feature.
216
217 config MTK_MD2_SBP_CUSTOM_VALUE
218 string "MTK_MD2_SBP_CUSTOM_VALUE"
219 default ""
220 help
221 Disable MD2 SBP(Single Binary Platform) feature or not.
222 Defined: enable MD2 SBP feature.
223
224 config MTK_UMTS_TDD128_MODE
225 bool "MTK_UMTS_TDD128_MODE"
226 help
227 MTK_UMTS_TDD128_MODE=yes means enable UMTS TDD128 specific
228 features MTK_UMTS_TDD128_MODE=no means disable UMTS TDD128
229 specific features
230
231 # EEMCS
232 menuconfig MTK_EMCI_DEVICES # Use by MT6290M over SDIO
233 bool "EMCI Devices"
234 default n
235 ---help---
236 Say Y here to get to see options for device drivers from EEMCS.
237 If you say N, all options in this submenu will be skipped and disabled.
238
239 config MTK_EEMCS_DRIVER # EEMCS_DRIVER
240 tristate "EEMCS Driver"
241 depends on MTK_EMCI_DEVICES
242 default y
243 ---help---
244 This option enables EEMCS device driver support
245
246 config MTK_ENABLE_MD5
247 bool "MTK_ENABLE_MD5"
248 depends on MTK_EEMCS_DRIVER
249 default y
250 help
251 Enable/Disable External Modem 5 (LTE modem)
252
253 config MTK_MD5_SUPPORT
254 int "MTK_MD5_SUPPORT"
255 depends on MTK_ENABLE_MD5
256 default 5
257 range 0 7
258 help
259 modem 5 mode, value range(0-7):0(invalid),1(2g),2(3g),3(wg),4(tg)
260
261 config MD5_SMEM_SIZE
262 hex "MD5_SMEM_SIZE"
263 depends on MTK_ENABLE_MD5
264 default 0x200000
265 help
266 modem 5 share memory size.
267
268 config MD5_SIZE
269 hex "MD5_SIZE"
270 depends on MTK_ENABLE_MD5
271 default 0xd00000
272 help
273 modem 5 image size.
274
275 # CCCI refine Done
276
277 config MTK_EXTERNAL_MODEM_SLOT
278 string "MTK_EXTERNAL_MODEM_SLOT"
279
280 config MTK_SWITCH_TX_POWER
281 bool "EANBLE TX POWER SWITCH"
282 default n
283
284 config MTK_LTE_SUPPORT
285 bool "MediaTek LTE support"
286 default n
287 help
288 This option enables LTE support
289
290 # Frame Buffer Related
291 menuconfig MTK_FB
292 bool "MediaTek Framebuffer Driver"
293 depends on FB
294 select FB_CFB_FILLRECT
295 select FB_CFB_COPYAREA
296 select FB_CFB_IMAGEBLIT
297 select FB_SOFT_CURSOR
298 ---help---
299 This selects the MediaTek(R) frame buffer driver.
300 If you want to use MediaTek(R) frame buffer diver, say Y here.
301 If unsure, say N.
302
303 config MTK_FB_SUPPORT_ASSERTION_LAYER
304 bool "AEE Assertion Layer Support"
305 depends on MTK_FB
306 select FONT_8x16
307 default y
308 ---help---
309 This enable support for AEE assertion layer.
310 If you want to enable AEE assertion layer support, say Y here.
311 If unsure, say N.
312
313 config MTK_DITHERING_SUPPORT
314 bool "MTK_DITHERING_SUPPORT"
315 help
316 To control whether enable or disable LCD controller dithering
317 feature. If choose yes, LCD controller would do dithering to
318 avoid contour effect, but side effect is that dithering mechanism
319 will make some noises
320
321 config MTK_LCM_PHYSICAL_ROTATION
322 string "MTK_LCM_PHYSICAL_ROTATION"
323 help
324 To set the angle between dimension of UI layout and LCM scan
325 direction
326
327 config LCM_HEIGHT
328 string "LCM_HEIGHT"
329 default "1920"
330 help
331 To set LCM resolution height size
332
333 config LCM_WIDTH
334 string "LCM_WIDTH"
335 default "1080"
336 help
337 To set LCM resolution width size
338
339 config MTK_OVERLAY_ENGINE_SUPPORT
340 bool "MTK_OVERLAY_ENGINE_SUPPORT"
341 help
342 To open overlay engine to support svp
343
344 config MTK_TVOUT_SUPPORT
345 bool "MTK_TVOUT_SUPPORT"
346 help
347 To control whether enable or disable TV-out feature. If choose
348 yes, video or image on your phone can be demonstrated on TV via
349 TV-out cable. Also, this feature can help user to get more fun
350 when playing some games.
351
352 config MIXMODE_FOR_INCELL
353 bool "MIXMODE_FOR_INCELL"
354 default n
355
356 config LCM_SEND_CMD_IN_VIDEO
357 bool "LCM_SEND_CMD_IN_VIDEO"
358 default n
359
360 # TODO check what's MT6516_EVB_BOARD
361 config MTK_FB_EVB_USE_HVGA_LCM # FB_MT6516_EVB_USE_HVGA_LCM
362 bool "Use MagnaChip TA7601 HVGA LCM on EVB"
363 depends on FB_MT6516 && MT6516_EVB_BOARD
364 default n
365 ---help---
366 Use MagnaChip TA7601 HVGA LCM on EVB
367
368 menuconfig GPS
369 tristate "GPS drivers"
370 default y
371 ---help---
372 Say Y here for supporting GPS.
373
374 if GPS
375 config MTK_GPS # MT6516_GPS --> TODO should change to use modulized settings!
376 tristate "MediaTek 3326 GPS driver"
377 default y
378 ---help---
379 MT3326 GPS driver
380 endif # GPS
381
382
383 menuconfig MTK_NFC
384 tristate "NFC drivers"
385 default n
386 ---help---
387 Say Y here for supporting NFC.
388
389 if MTK_NFC
390
391 config NFC_MT6605
392 tristate "MediaTek NFC driver"
393 default n
394
395 config NFC_MSR3110
396 tristate "MSR3110 NFC driver"
397 default n
398
399 endif # NFC
400
401 config MTK_BTIF
402 tristate"MediaTek BTIF Driver"
403
404 config MTK_COMBO
405 tristate "MediaTek Connectivity Combo Chip Support"
406 help
407 MTK connectivity combo chip driver for MT66xx
408
409 #
410 # MTK Combo Chip Selection
411 #
412 choice
413 prompt "Select Chip"
414 depends on MTK_COMBO
415
416 config MTK_COMBO_CHIP_MT6620
417 bool "MT6620"
418
419 config MTK_COMBO_CHIP_MT6628
420 bool "MT6628"
421
422 config MTK_COMBO_CHIP_MT6630
423 bool "MT6630"
424
425 config MTK_COMBO_CHIP_CONSYS_6572
426 bool "CONSYS_6572"
427
428 config MTK_COMBO_CHIP_CONSYS_6582
429 bool "CONSYS_6582"
430
431 config MTK_COMBO_CHIP_CONSYS_8127
432 bool "CONSYS_8127"
433
434 config MTK_COMBO_CHIP_CONSYS_6752
435 bool "CONSYS_6752"
436
437 config MTK_COMBO_CHIP_CONSYS_6592
438 bool "CONSYS_6592"
439
440 endchoice
441
442 config MTK_COMBO_CHIP
443 string
444 default "MT6620" if MTK_COMBO_CHIP_MT6620
445 default "MT6628" if MTK_COMBO_CHIP_MT6628
446 default "MT6630" if MTK_COMBO_CHIP_MT6630
447 default "CONSYS_6572" if MTK_COMBO_CHIP_CONSYS_6572
448 default "CONSYS_6582" if MTK_COMBO_CHIP_CONSYS_6582
449 default "CONSYS_8127" if MTK_COMBO_CHIP_CONSYS_8127
450 default "CONSYS_6752" if MTK_COMBO_CHIP_CONSYS_6752
451 default "CONSYS_6592" if MTK_COMBO_CHIP_CONSYS_6592
452 help
453 this feature is used to identify combo chip version or SOC chip
454 consys version.
455
456 config MTK_WLAN_CHIP
457 string "MTK_WLAN_CHIP"
458 default "MT6620" if MTK_COMBO_CHIP_MT6620
459 default "MT6628" if MTK_COMBO_CHIP_MT6628
460 default "MT6630" if MTK_COMBO_CHIP_MT6630
461 default "CONSYS_6572" if MTK_COMBO_CHIP_CONSYS_6572
462 default "CONSYS_6582" if MTK_COMBO_CHIP_CONSYS_6582
463 default "CONSYS_8127" if MTK_COMBO_CHIP_CONSYS_8127
464 default "CONSYS_6752" if MTK_COMBO_CHIP_CONSYS_6752
465 help
466 Define the wlan chip, the MTK_WLAN_SUPPORT must be set yes
467
468 config MTK_WLAN_SUPPORT
469 bool "MTK_WLAN_SUPPORT"
470 help
471 The Wlan switch for the wlan feature in the Android(app,
472 framework, native, kernel).
473
474 config MTK_WAPI_SUPPORT
475 bool "MTK_WAPI_SUPPORT"
476 depends on MTK_WLAN_SUPPORT
477 help
478 if it is set to TRUE: Support WAPI (WLAN Authentication and
479 Privacy Infrastructure)
480
481 config MTK_PASSPOINT_R1_SUPPORT
482 bool "MTK_PASSPOINT_R1_SUPPORT"
483 help
484 Support Passpoint R1 (Hotspot 2.0 R1)
485
486 config MTK_PASSPOINT_R2_SUPPORT
487 bool "MTK_PASSPOINT_R2_SUPPORT"
488 help
489 Support Passpoint R2
490
491 config MTK_WIFI_MCC_SUPPORT
492 bool "MTK_WIFI_MCC_SUPPORT"
493 default y
494 help
495 if it is set to TRUE, wlan will support Multi-Channel Concurrency,
496 otherwise, only support Single Channel Concurrency
497 #
498 # Target Platform Selection
499 #
500 config MTK_COMBO_PLAT_PATH
501 string "Platform folder name"
502 depends on MTK_COMBO
503 default "sample" if MTK_COMBO_PLAT_SAMPLE
504 help
505 Specify platform folder under common driver platform folder:
506 mtk_wcn_combo/common/platform/*
507
508 #
509 # MTK COMBO Chip Configuration
510 #
511 config MTK_COMBO_COMM
512 depends on MTK_COMBO
513 tristate "MediaTek Combo Chip Common part driver"
514 help
515 MediaTek combo chip common part driver
516
517 #config MTK_COMBO_COMM_PS
518 # depends on MTK_COMBO_COMM
519 # bool "Enable PS support"
520 # default n
521 # help
522 # Enable PS support of common UART interface
523
524 config MTK_COMBO_COMM_UART
525 depends on MTK_COMBO_COMM
526 tristate "Common interface UART"
527 help
528 Use UART for common part interface type
529
530 config MTK_COMBO_COMM_SDIO
531 depends on MTK_COMBO_COMM
532 tristate "Common interface SDIO"
533 help
534 Use SDIO for common part interface type
535
536 config MTK_COMBO_BT
537 tristate "MediaTek Combo Chip BT driver"
538 depends on MTK_COMBO
539 help
540 MTK BT /dev/stpbt driver for Bluedroid
541
542 config MTK_COMBO_ANT
543 tristate "MediaTek Combo Chip ANT driver"
544 depends on MTK_COMBO
545 help
546 MTK ANT /dev/stpant driver for ANT
547
548 config MTK_COMBO_BT_HCI
549 tristate "MediaTek Combo Chip BlueZ driver"
550 depends on BT && MTK_COMBO
551 help
552 MTK BT driver for BlueZ
553
554 config MTK_COMBO_GPS
555 tristate "MediaTek Combo Chip GPS driver"
556 depends on MTK_COMBO
557 help
558 MTK GPS /dev/stpgps driver
559
560 config MTK_GPS_SUPPORT
561 tristate "MediaTek GPS driver"
562 select MTK_GPS
563 help
564 to switch GPS feature on the platform. Set "yes" to turn
565 on and set "no"(with MTK_AGPS_APP=no at the same time) to turn
566 off.
567
568 config MTK_COMBO_WIFI
569 tristate "MediaTek combo chip Wi-Fi support"
570 depends on MTK_COMBO
571 depends on !mt592x
572 select WIRELESS_EXT
573 select WEXT_PRIV
574
575 config MTK_BT_SUPPORT
576 bool "MTK_BT_SUPPORT"
577 help
578 When this option set to yes, the MTK Bluetooth solution will be
579 included.
580
581 config MTK_DHCPV6C_WIFI
582 bool "MTK_DHCPV6C_WIFI"
583 help
584 no: disable this feature
585
586 config MTK_WFD_SUPPORT
587 bool "MTK_WFD_SUPPORT"
588 help
589 Wi-Fi Display Switch
590
591 config MTK_FM
592 bool "MediaTek FM Chip Support"
593 default n
594
595 config MTK_FM_SUPPORT
596 bool "MTK_FM_SUPPORT"
597 help
598 The root switch of Android FM, if "no", all features(RX&TX) of FM
599 will be removed from android system
600
601 config MTK_FM_CHIP
602 string "MTK_FM_CHIP"
603 depends on MTK_FM_SUPPORT
604 default "MT6620_FM" if MTK_COMBO_CHIP_MT6620
605 default "MT6630_FM" if MTK_COMBO_CHIP_MT6630
606 help
607 decide which FM radio chip to use: e.g.MT6620_FM, MT6628_FM
608
609 config MTK_FM_50KHZ_SUPPORT
610 bool "MTK_FM_50KHZ_SUPPORT"
611 depends on MTK_FM_SUPPORT
612 help
613 The feature option is to define if we support FM 50KHz step
614 tune/seek/scan functions
615
616 config MTK_MERGE_INTERFACE_SUPPORT
617 bool "MTK_MERGE_INTERFACE_SUPPORT"
618
619 config SDIOAUTOK_SUPPORT
620 tristate "MediaTek SDIO UHS auto calibration support"
621 default n
622
623 config MTK_MT6306_SUPPORT
624 tristate "MediaTek MT6306 GPIO Controller support"
625 default y
626
627 config MTK_IDLE_TIME_FIX
628 tristate "MediaTek fix top get idle time issue"
629 default n
630
631 # Graphics 2D
632 config MTK_G2D
633 bool "MediaTek G2D Driver"
634 default y
635 ---help---
636 MT6516 G2D Driver
637
638 # Video Related
639 config MTK_MPEG4_DEC_DRIVER
640 tristate "MediaTek MPEG4 Decoder Driver"
641 default y
642
643 config MTK_MPEG4_ENC_DRIVER
644 tristate "MediaTek MPEG4 Encoder Driver"
645 default y
646
647 config MTK_H264_DEC_DRIVER
648 tristate "MediaTek H264 Decoder Driver"
649 default y
650
651 config MTK_MFLEXVIDEO_DRIVER
652 tristate "MediaTek MFlexVideo Driver"
653 default y
654
655 config MTK_VIDEOCODEC_DRIVER
656 tristate "MediaTek VideoCodec Driver"
657 default y
658
659 # MJC
660 config MTK_MJC_DRIVER
661 tristate "MediaTek MJC Driver"
662 default n
663
664
665 # I2C Bus
666 config MTK_I2C
667 tristate "MediaTek I2C adapter"
668 depends on I2C
669 default y
670 ---help---
671 This selects the MediaTek(R) Integrated Inter Circuit bus driver.
672 If you want to use MediaTek(R) I2C interface, say Y or M here.
673 If unsure, say N.
674
675 config MTK_AP_TO_SCP_I2C
676 def_bool y if ARCH_MT6752
677 ---help---
678 This option enables AP to control SCP I2C controller 2.
679
680 #SPI
681 config MTK_SPI
682 tristate "MediaTek SPI controller"
683 depends on SPI
684 default y
685 ---help---
686 This selects the MediaTek(R) SPI bus driver.
687 If you want to use MediaTek(R) SPI interface, say Y or M here. If unsure, say N.
688
689 # CMMB
690 config MTK_CMMB
691 tristate "MediaTek CMMB Driver"
692 depends on MTK_SPI
693 default n
694 ---help---
695 This selects the MediaTek(R) CMMB driver.
696 If you want to use MediaTek(R) CMMB driver, say M here.
697 If unsure, say N.
698
699 # Jpeg
700 config MTK_JPEG
701 tristate "MediaTek JPEG driver"
702 default y
703
704 # Keyboard
705 config MTK_KEYPAD
706 tristate "MediaTek Keypad Support"
707 help
708 Say Y here if you want to use the keypad.
709 To compile this driver as a module, choose M here: the
710 module will be called mt6516_kpd.
711
712 config KEYBOARD_HID
713 tristate "MediaTek hid keyboard support"
714 help
715 Say Y here if you want to use the hid keyboard.
716
717 To compile this driver as a module, choose M here: the
718 module will be called hid_keyboard.
719
720 # Leds
721 config MTK_LEDS
722 tristate "MediaTek LED Support"
723 depends on LEDS_CLASS
724 ---help---
725 This selects the MediaTek(R) LEDs connected to MediaTek chips.
726 If you want to use MediaTek(R) LEDs support, say Y or M here.
727 If unsure, say N.
728
729 # Memory Card
730 config MTK_MMC
731 tristate "MediaTek SD/MMC Card Interface support"
732 ---help---
733 This selects the MediaTek(R) Secure digital and Multimedia card Interface.
734 If you have a machine with a integrated SD/MMC card reader, say Y or M here.
735 If unsure, say N.
736
737 # SDIO
738 config MTK_SDIOAUTOK_SUPPORT
739 tristate "MediaTek SDIO Auto-K support (for SDIO 3.0)"
740 default n
741 ---help---
742 This selects the MediaTek(R) SDIO Auto-K Support (for SDIO 3.0).
743
744 # Mouse
745 # if INPUT_MOUSE
746 menu "MediaTek OFN / Jogball Related Drivers"
747 config MOUSE_PANASONIC_EVQWJN
748 bool "Panasonic EVQWJN Jogball Support"
749 ---help---
750 Say Y here if you have Panasonic EVQWJN Jogball
751 If unsure, say N.
752
753 config MOUSE_AVAGOTECH_A320
754 bool "Avagotech ADBS-A320 driver"
755 ---help---
756 Say Y here if you have ADBS-A320 device, which is a Optical Finger Navigation device
757 If unsure, say N.
758 endmenu
759 # endif
760
761
762 # Nand
763 menuconfig MTK_MTD_NAND
764 tristate "MediaTek Nand Support"
765 depends on MTD_NAND
766 ---help---
767 Enables support for NAND Flash chips wired to MediaTek chips.
768
769 config MTK_MTD_NAND_INTERRUPT_SCHEME
770 bool "Nand Read/Write with interrupt scheme"
771 depends on MTK_MTD_NAND
772 default n
773 ---help---
774 Enable interrupt scheme in Nand Read/Write.
775
776 config MTK_MLC_NAND_SUPPORT
777 tristate "Mediatek MLC NAND Support"
778 depends on MTK_MTD_NAND
779 ---help---
780 Enables support for MLC NAND.
781
782 # Power Related
783 if POWER_SUPPLY
784 config MT6326_PMIC
785 tristate "MediaTek PMIC Driver"
786 depends on ARCH_MT6516
787 default y
788
789 config MTK_SMART_BATTERY
790 tristate "MediaTek Smart Battery Driver"
791 default y
792
793 config MTK_DUMMY_BATTERY
794 tristate "MediaTek Dummy Battery Driver"
795 depends on ARCH_MT6516
796 default n
797
798 config MTK_PMU
799 tristate "MediaTek Power Management Unit Driver"
800 depends on ARCH_MT6573
801 default y
802
803 config MTK_FGADC
804 tristate "MediaTek Fuel Gauge Driver"
805 depends on ARCH_MT6573
806 default y
807
808 config MTK_PMIC
809 tristate "MediaTek Power Management Unit Driver"
810 default y
811
812 config MTK_PMIC_WRAP
813 bool "MediaTek PMIC_WRAP driver "
814 default y
815 ---help---
816 MediaTek pmic_wrap driver
817
818 config MTK_PMIC_MT6397
819 bool "MediaTek PMIC MT6397"
820 default n
821 ---help---
822 MediaTek PMIC MT6397
823
824 config POWER_EXT
825 tristate "MediaTek Power Ext"
826 default y
827 config MTK_POWER_EXT_DETECT
828 bool "MediaTek Power Ext detect"
829 default n
830 help
831 EVB/Phone share load configration. Require one GPIO to do detection,
832 if GPIO is high mean EVB, otherwise mean phone platform.
833
834 config MTK_PUMP_EXPRESS_SUPPORT
835 bool "MediaTek PUMP EXPRESS"
836 default n
837 help
838 fast charging, by using linear charger to achive better charging ability
839
840 config MTK_PUMP_EXPRESS_PLUS_SUPPORT
841 bool "MediaTek PUMP EXPRESS PLUS"
842 default n
843 help
844 fast charging, by using switch charger to achive better charging ability
845
846 config MTK_VOW_SUPPORT
847 bool "MediaTek VOW support"
848 default n
849
850 config MTK_EXTERNAL_LDO
851 bool "MediaTek externla LDO"
852 default n
853
854 config X2_BQ27531_SUPPORT
855 bool "X2_BQ27531 support"
856 default n
857
858 config MTK_BQ24250_SUPPORT
859 bool "MediaTek Battery driver for BQ24250"
860 default n
861 help
862 BQ24250 charger IC support
863
864 config MTK_BQ24261_SUPPORT
865 bool "MediaTek Battery driver for TI BQ24261"
866 help
867 BQ24261 charger IC support
868
869 config MTK_BQ24196_SUPPORT
870 bool "MediaTek Battery driver for TI BQ24196"
871 help
872 BQ24196 charger IC support
873
874 config MTK_FAN5405_SUPPORT
875 bool "MTK_FAN5405_SUPPORT"
876 help
877 use external charger IC
878
879 config MTK_FAN5402_SUPPORT
880 bool "MTK_FAN5402_SUPPORT"
881 help
882 New Config BBK92 Drive Only Codebase
883
884 config MTK_BQ24158_SUPPORT
885 bool "MTK_BQ24158_SUPPORT"
886 help
887 add MTK_BQ24158_SUPPORT to ProjectConfig.mk default off
888
889 config MTK_BQ24296_SUPPORT
890 bool "MTK_BQ24296_SUPPORT"
891 help
892 BQ24296 charger IC support Yes to support bq24296 No to not
893 support bq24296
894
895 config MTK_BQ27541_SUPPORT
896 bool "MTK_BQ27541_SUPPORT"
897 help
898 yes : support TI bq27541 external gauge IC
899
900 config MTK_NCP1851_SUPPORT
901 bool "MTK_NCP1851_SUPPORT"
902 help
903 Support NCP1851 external charger IC
904
905 config MTK_NCP1854_SUPPORT
906 bool "MTK_NCP1854_SUPPORT"
907 help
908 Support NCP1854 external charger IC
909
910 config MTK_RT9536_SUPPORT
911 bool "MTK_RT9536_SUPPORT"
912 default n
913 help
914 Say Y to include support for RT9536 Battery Charger
915 Battery Charger.
916
917 config MTK_MAX8971_SUPPORT
918 tristate "MAXIM 8971 Battery Charger"
919 depends on I2C
920 default n
921 help
922 Say Y to include support for MAXIM 8971 Battery Charger
923 Battery Charger.
924
925 endif #POWER_SUPPLY
926
927 config MTK_DUAL_INPUT_CHARGER_SUPPORT
928 bool "MTK_DUAL_INPUT_CHARGER_SUPPORT"
929 default n
930 help
931 yes : support dual input charger.
932
933 config MTK_WIRELESS_CHARGER_SUPPORT
934 bool "MTK_WIRELESS_CHARGER_SUPPORT"
935 help
936 yes : support wireless charger feature, it can show the wireless
937 charging animation and charging icon when receive wireless charger
938 plug-in. no: not support wireless charger feature, stay with
939 legancy feature, which cannot sense the exist of the wireles
940 charger.
941
942 config MTK_JEITA_STANDARD_SUPPORT
943 bool "MTK_JEITA_STANDARD_SUPPORT"
944 default n
945 help
946 yes : support charging standard spec named JEITA, once enable this feature,
947 there would be semeral thermal zone for battery to control its charging
948 current and CV.
949
950 # RTC
951 config MTK_RTC
952 bool "MediaTek Real Time Clock Support"
953 default y
954
955 # Serial Port Driver
956 menuconfig MTK_SERIAL
957 tristate "MediaTek Serial Port Support"
958 select SERIAL_CORE
959 default y
960 ---help---
961 This selects MediaTek(R) internal UART driver.
962 If you want to use MediaTek(R) internal UART driver, say Y or M here.
963 If unsure, say N.
964
965 config MTK_SERIAL_CONSOLE
966 bool "MediaTek Console on Serial Port Support"
967 depends on MTK_SERIAL=y
968 select SERIAL_CORE_CONSOLE
969 default y
970 ---help---
971 Say Y here if you wish to use MT6516 internal UART as the system
972 console. You should alter the default console setting by kernel
973 command line option "console=ttyMT0" or "console=ttyMT1".
974
975 config MTK_SERIAL_MODEM_TEST
976 bool "Support modem test"
977 depends on MTK_SERIAL=y
978 default n
979 ---help---
980 Say Y here is you want to enable modem test. After enabling this
981 option, UART4 will be switched to modem side. Hence, the command
982 line parameter should be also modified.
983
984 config MTK_UART_USB_SWITCH
985 bool "MTK_UART_USB_SWITCH"
986 help
987 Support share USB DP/DM as UART TX/RX.
988
989 # SIM2
990 config MTK_SIM2
991 bool "MediaTek SIM2 Driver"
992 default y
993
994 # Sound
995 config MTK_SOUND
996 bool "MediaTek Sound Driver"
997
998 config MTK_AUDIO_EXTCODEC_SUPPORT
999 bool "MTK_AUDIO_EXTCODEC_SUPPORT"
1000 default n
1001 help
1002 If you say Y, enable MTK_AUDIO_EXTCODEC_SUPPORT driver.
1003
1004 # ALSPS sensor
1005 config MTK_CM36283
1006 bool "CM36283 for MediaTek package"
1007 default n
1008
1009 config MTK_GP2AP002S00F
1010 bool "GP2AP002S00F for MediaTek package"
1011 default n
1012
1013 config MTK_APM_16D
1014 bool "APM_16D for MediaTek package"
1015 default n
1016
1017 config MTK_EPL2182
1018 bool "EPL2182 for MediaTek package"
1019 default n
1020
1021 config MTK_EPL2182_NEW
1022 bool "EPL2182 for MediaTek package"
1023 default n
1024
1025 config MTK_STK3X1X
1026 bool "STK3X1X for MediaTek package"
1027 default n
1028
1029 config MTK_CM36652_NEW
1030 bool "cm36652 for MediaTek package"
1031 default n
1032
1033 config MTK_APDS9930
1034 bool "APDS9930 for MediaTek package"
1035 default n
1036
1037 config MTK_CM3232_NEW
1038 bool "CM3232 for MediaTek package"
1039 default n
1040
1041 config MTK_APDS9930_NEW
1042 bool "APDS9930_NEW for MediaTek package"
1043 default n
1044
1045 config MTK_RPR410
1046 bool "rpr410 for MediaTek package"
1047 default n
1048
1049 # Accelerometer sensor
1050 config MTK_KXTJ2_1009
1051 bool "KXTJ2 1009 for MediaTek package"
1052 default n
1053
1054 config MTK_KXTIK1004
1055 bool "KXTIK1004 for MediaTek package"
1056 default n
1057
1058 config MTK_K2DH
1059 bool "K2DH for MediaTek package"
1060 default n
1061
1062 config MTK_BMA222E
1063 bool "BMA222E for MediaTek package"
1064 default n
1065
1066 config MTK_BMA222E_NEW
1067 bool "BMA222E for MediaTek package"
1068 default n
1069
1070 config MTK_MPU6050G
1071 bool "MPU6050G for MediaTek package"
1072 default n
1073
1074 config MTK_MPU6050G_NEW
1075 bool "MPU6050G for MediaTek package"
1076 default n
1077
1078 config MTK_BMA250
1079 bool "Accelerometer BMA250 for MediaTek package"
1080 default n
1081
1082 config MTK_MPU6515A
1083 bool "MPU6515A for MediaTek package"
1084 default n
1085
1086 config MTK_KXTJ2_1009_NEW
1087 bool "KXTJ2_1009 for MediaTek package"
1088 default n
1089
1090 config MTK_BMA250E
1091 bool "MTK_BMA250E for MediaTek package"
1092 default n
1093
1094 config MTK_BMA056
1095 bool "MTK_BMA056 for MediaTek package"
1096 default n
1097
1098 config MTK_BMA2XX
1099 bool "BMA2XX for MediaTek package"
1100 default n
1101
1102 config MTK_HALL
1103 bool "Hall sensor for MediaTek package"
1104 default n
1105
1106 # Gyro sensor
1107 config MTK_MPU3050C
1108 bool "MPU3050C for MediaTek package"
1109 default n
1110
1111 config MTK_MPU3000
1112 bool "MPU3000 for MediaTek package"
1113 default n
1114
1115 config MTK_MPU3000_NEW
1116 bool "MPU3000 for MediaTek package"
1117 default n
1118
1119 config MTK_MPU6050GY
1120 bool "MPU6050GY for MediaTek package"
1121 default n
1122
1123 config MTK_MPU6050GY_NEW
1124 bool "MPU6050GY for MediaTek package"
1125 default n
1126
1127 config MTK_MPU6515G
1128 bool "MPU6515G for MediaTek package"
1129 default n
1130
1131 config MTK_MPU3050C_NEW
1132 bool "MPU3050C for MediaTek package"
1133 default n
1134
1135 # Magnet sensor
1136 config MTK_AKM8963
1137 bool "AKM8963 for MediaTek package"
1138 default n
1139
1140 config MTK_AKM09911
1141 bool "AKM09911 for MediaTek package"
1142 default n
1143
1144 config MTK_AKM8963_NEW
1145 bool "AKM8963 for MediaTek package"
1146 default n
1147
1148 config MTK_HSCDTD006
1149 bool "HSCDTD006 for MediaTek package"
1150 default n
1151
1152 config MTK_BMM050
1153 bool "MTK_BMM050 for MediaTek package"
1154 default n
1155
1156 config MTK_BMM050_NEW
1157 bool "MTK_BMM050_NEW for MediaTek package"
1158 default n
1159
1160 config MTK_BMM050
1161 bool "MTK_BMM050 for MediaTek package"
1162 default n
1163
1164 config MTK_MMC3416X
1165 bool "MTK_MMC3416X for MediaTek package"
1166 default n
1167
1168 config MTK_BMA250
1169 bool "MTK_BMA250 for MediaTek package"
1170 default n
1171
1172 config MTK_BMA050
1173 bool "MTK_BMA050 for MediaTek package"
1174 default n
1175
1176 config MTK_BMA050_NEW
1177 bool "MTK_BMA050_NEW for MediaTek package"
1178 default n
1179
1180 config MTK_BMM056_NEW
1181 bool "MTK_BMM056_NEW for MediaTek package"
1182 default n
1183
1184 config MTK_S2200
1185 bool "S2200 for Mediatek package"
1186 default n
1187
1188 config MTK_YAS532
1189 bool "YAS532 for Mediatek package"
1190 default n
1191
1192 # Barometer sensor
1193 config MTK_BMP180_NEW
1194 bool "BMP180 for MediaTek package"
1195 default n
1196
1197 # Touch Panel
1198 config MTK_TOUCHPANEL
1199 tristate "MediaTek Touch Panel Driver"
1200 help
1201 Say Y here if you have MediaTek MT6516 touch panel.
1202 If unsure, say N.
1203
1204 config MTK_S7020
1205 bool "S7020 for Mediatek package"
1206 default n
1207
1208 # USB # TODO Check Choice
1209 config MTK_USB_GADGET # USB_GADGET_MT6516 USB_GADGET_MT6573
1210 boolean "MediaTek USB Gadget Driver"
1211 select USB_GADGET_SELECTED
1212 select USB_GADGET_DUALSPEED
1213 default y
1214
1215 # For MTK USB3.0 IP++++
1216 config USB_MU3D_PIO_ONLY
1217 tristate "MediaTek MUSB Gadget support EP0 PIO mode"
1218 default n
1219
1220 config USB_MU3D_DRV
1221 tristate "MediaTek MUSB Gadget support"
1222 default n
1223
1224 config USB_MU3D_DVT
1225 tristate "MediaTek MUSB Gadget support"
1226 default n
1227
1228 config MU3_PHY
1229 bool "MU3 PHY"
1230 default n
1231 ---help---
1232 Enables support MU3 PHY for SSUSB or XHCI.
1233 If unsure, say N.
1234
1235 config U3_PHY_GPIO_SUPPORT
1236 bool "MU3 PHY registers access by I2C"
1237 depends on MU3_PHY
1238 default n
1239 ---help---
1240 Enables support for read/write PHY registers by external I2C.
1241 If unsure, say N.
1242
1243 config U3_PHY_AHB_SUPPORT
1244 bool "MU3 PHY registers access by AHB"
1245 depends on MU3_PHY
1246 default n
1247 ---help---
1248 Enables support for read/write PHY registers by internal AHB.
1249 If unsure, say N.
1250
1251 config MTK_XHCI
1252 tristate "MediaTek U3 XHCI support"
1253 default n
1254 ---help---
1255 Enables support Mediatek U3 XHCI functions.
1256 If unsure, say N.
1257
1258 config MTK_OTG_PMIC_BOOST_5V
1259 tristate "MediaTek PMIC BOOST 5V support"
1260 default n
1261 ---help---
1262 Enables support PMIC BOOST 5V to be supply usb 5v power.
1263 If unsure, say N.
1264
1265 config MTK_TEST_XHCI
1266 tristate "MediaTek U3 TEST XHCI driver support"
1267 default n
1268 ---help---
1269 Enables support Mediatek U3 XHCI test driver kernel framework.
1270 If unsure, say N.
1271
1272 config USBIF_COMPLIANCE
1273 tristate "MediaTek MUSB U3 USBIF COMPLIANCE"
1274 default n
1275
1276 config C60802_SUPPORT
1277 bool "MU3 PHY C60802 support"
1278 depends on MU3_PHY
1279 default n
1280 ---help---
1281 Enables support for external PHY(Ver C).
1282 If unsure, say N.
1283
1284 config MTK_S3320
1285 bool "S3320 for Mediatek package"
1286 default n
1287
1288 config MTK_S3320_47
1289 bool "S3320 4.7inch for Mediatek package"
1290 default n
1291
1292 config LEDS_LM3632
1293 bool "LM3632 LED"
1294 default n
1295
1296 config LEDS_LM3639
1297 bool "LM3639 Support"
1298 default n
1299
1300 config LEDS_RT8542
1301 bool "RT8542 Support"
1302 default n
1303 config D60802_SUPPORT
1304 bool "MU3 PHY D60802 support"
1305 depends on MU3_PHY
1306 default n
1307 ---help---
1308 Enables support for external PHY(Ver D).
1309 If unsure, say N.
1310
1311 config E60802_SUPPORT
1312 bool "MU3 PHY E60802 support"
1313 depends on MU3_PHY
1314 default n
1315 ---help---
1316 Enables support for external PHY(Ver E).
1317 If unsure, say N.
1318
1319 config PROJECT_PHY
1320 bool "MU3 ASIC PHY support"
1321 depends on MU3_PHY
1322 default n
1323 ---help---
1324 Enables support for ASIC PHY.
1325 If unsure, say N.
1326
1327 # For MTK USB3.0 IP-----
1328
1329 # Vibrator
1330 config MTK_VIBRATOR
1331 bool "MediaTek Vibrator Driver"
1332 default y
1333
1334 # WatchDog
1335 config MTK_WD_KICKER
1336 tristate "WatchDog Kicer"
1337 default y
1338 ---help---
1339 Watch dog kicker is a module in the kernel for kicking the watch dog
1340
1341 config KICK_SPM_WDT # SW WORKAROUND
1342 tristate "Kick SPM Watchdog"
1343 depends on ARCH_MT6572
1344 default n
1345 ---help---
1346 SW workaround to kick SPM WDT instaed of RGU WDT
1347
1348 # Wireless
1349 menuconfig MT592X
1350 tristate "MediaTek MT592x driver support"
1351 depends on MTK_COMBO_WIFI=n
1352 select WIRELESS_EXT
1353 select WEXT_PRIV
1354
1355 config MT5921
1356 bool "MediaTek MT5921 WLAN card"
1357 depends on MT592X
1358
1359 config MT5922
1360 bool "MediaTek MT5922 WLAN card"
1361 depends on MT592X
1362
1363 config MT592X_DEBUG
1364 bool "MediaTek MT592x debug support"
1365 depends on MT592X
1366
1367 config MT592X_PROC
1368 bool "MediaTek MT592x proc support"
1369 depends on MT592X
1370
1371 config MT592X_IBSS
1372 bool "MediaTek MT592x IBSS support"
1373 depends on MT592X
1374
1375 config MT592X_SW_ENC
1376 bool "MediaTek MT592x software encrypt support"
1377 depends on MT592X
1378
1379 config MT592X_WPS
1380 bool "MediaTek MT592x WPS support"
1381 depends on MT592X
1382
1383 config MT592X_EEPROM
1384 bool "MediaTek MT592x EEPROM support"
1385 depends on MT592X
1386
1387 config MT592X_WAPI
1388 bool "MediaTek MT592x WAPI support"
1389 depends on MT592X
1390
1391 config MT592X_PTA
1392 bool "MediaTek MT592x PTA support"
1393 depends on MT592X
1394
1395 config MT592X_SDIO
1396 bool "MediaTek MT592x SDIO support"
1397 depends on MT592X && MMC
1398
1399 config MT592X_SDIO_CLNT
1400 tristate "MediaTek MT592X SDIO CLNT support"
1401 depends on MMC
1402
1403 config USB_MTK_ACM_TEMP
1404 tristate "MediaTek USB ACM Temp support"
1405 default y
1406
1407 config USB_MTK_HDRC
1408 tristate "MediaTek MUSB support"
1409 select USB_GADGET_SELECTED
1410 select USB_GADGET_DUALSPEED
1411 default y
1412
1413 config USB_MTK_HDRC_GADGET
1414 tristate "MediaTek MUSB Gadget support"
1415
1416 config USB_MTK_OTG
1417 tristate "MediaTek MUSB OTG support"
1418
1419 config USB_MTK_DUALMODE
1420 bool "MediaTek DUAL MODE support"
1421 default n
1422
1423 config USB_MTK_DEBUG_FS
1424 tristate "MediaTek MUSB Debug FS support"
1425 depends on DEBUG_FS
1426
1427 config USB_MTK_DEBUG
1428 tristate "MediaTek MUSB Debug support"
1429
1430 config USB_MTK_HDRC_HCD
1431 tristate "MediaTek USB HDRC support"
1432
1433 config MTK_USB_UNIQUE_SERIAL
1434 tristate "MediaTek USB unique serial number"
1435
1436 config MTK_USBFSH # USBFSH
1437 bool "MediaTek USB fullspeed Host driver"
1438 default n
1439
1440 config MUSBFSH_PIO_ONLY
1441 bool "Transfer mode of MediaTek USB fullspeed Host driver"
1442 default n
1443
1444 config AMPC_CDEV_NUM
1445 int "AMPC chard device number(never change this value)"
1446 default 151
1447 help
1448 AMPC char device number.
1449 endmenu
1450
1451 config ION_MTK
1452 bool "Mediatek ION Memory Manager"
1453
1454 config MMPROFILE
1455 bool "MMProfile Support"
1456
1457 config MTK_STAGING
1458 bool "Select which staging drivers you want"
1459 depends on SWAP
1460 select ZSMALLOC
1461 select ZRAM
1462 select ZRAM_DEBUG
1463 default n
1464 #
1465 # MTK PASR mechanism
1466 #
1467
1468 config MTKPASR
1469 bool "MTK proprietary PASR mechanism"
1470 depends on SYSFS && ZSMALLOC && ARM && HIGHMEM
1471 select MTKPASR_RDIRECT
1472 select MTKPASR_MAFL
1473 select MTKPASR_DEBUG
1474 select LZO_COMPRESS
1475 select LZO_DECOMPRESS
1476 default n
1477 help
1478 Mediatek PASR mechanism
1479
1480 config MTKPASR_RDIRECT
1481 bool "Bank scanning direction"
1482 depends on MTKPASR
1483 default y
1484 help
1485 Scanning direction of MTKPASR
1486
1487 config MTKPASR_MAFL
1488 bool "Mark it As Free by removing page blocks from buddy allocator to its List"
1489 depends on MTKPASR
1490 default y
1491 help
1492 Enhance the PASR performance on collecting free banks
1493
1494 config MTKPASR_ALLEXTCOMP
1495 bool "No ZRAM/SWAP"
1496 depends on MTKPASR
1497 default n
1498
1499 config MTKPASR_DEBUG
1500 bool "MTK proprietary PASR debug support"
1501 depends on MTKPASR
1502 default n
1503 help
1504 This option adds additional debugging code to MTK PASR
1505
1506 config MTKPASR_NO_LASTBANK
1507 bool "Modem occupies last bank"
1508 depends on MTKPASR
1509 default n
1510
1511 #
1512 # add for power loss test
1513 #
1514 menuconfig PWR_LOSS_MTK_TEST
1515 tristate "Power Loss Test"
1516 default n
1517 help
1518 Say Y here if you want do Power loss test for NAND Or EMMC
1519 If unsure, say N.
1520
1521 if PWR_LOSS_MTK_TEST
1522 config PWR_LOSS_MTK_DEBUG
1523 bool "Debugging"
1524 help
1525 Say Y here if you want turns on low-level debugging
1526 If unsure, say N.
1527
1528 config PWR_LOSS_MTK_SPOH
1529 bool "Power Loss Test Version SPOH"
1530 default n
1531 help
1532 Say Y here if you want to perform Power loss test version SPOH
1533 If unsure, Say N.
1534 endif
1535
1536 menuconfig MTK_EMMC_CACHE
1537 tristate "eMMC Cache"
1538 default n
1539 help
1540 Say Y here if you want do enable cache feature for EMMC
1541 If unsure, say N.
1542
1543 config MTK_GPU_SUPPORT
1544 bool "MTK_GPU_SUPPORT"
1545 help
1546 MTK_GPU_SUPPORT=yes, means support HW GPU
1547
1548 config MTK_ICUSB_SUPPORT
1549 bool "MTK_ICUSB_SUPPORT"
1550 help
1551 To enable the ICUSB featurea in phone which support USB port 1
1552
1553 config MTK_DT_USB_SUPPORT
1554 bool "MTK_DT_USB_SUPPORT"
1555 help
1556 To enable the dual talk feature in phone over USB port 1
1557
1558 config MTK_SWCHR_SUPPORT
1559 bool "MTK_SWCHR_SUPPORT"
1560 help
1561 Select Y here for MTK switching charger solution
1562
1563 config MTK_DISABLE_POWER_ON_OFF_VOLTAGE_LIMITATION
1564 bool "MTK_DISABLE_POWER_ON_OFF_VOLTAGE_LIMITATION"
1565 help
1566 Used for SMT and HQA, not for SQC and end-user
1567
1568 config MTK_KERNEL_POWER_OFF_CHARGING
1569 bool "MTK_KERNEL_POWER_OFF_CHARGING"
1570 help
1571 yes : support KPOC feature, power off charging would running by
1572 kernel and charging animation by IPO service. no: not support KPOC
1573 feature, and power off charging would running by lk.
1574
1575 config MTK_BQ24160_SUPPORT
1576 bool "MTK_BQ24160_SUPPORT"
1577 help
1578 External switching charger
1579
1580 config MTK_MT8193_SUPPORT
1581 bool "MTK_MT8193_SUPPORT"
1582
1583 # HDMI
1584 config MTK_HDMI_SUPPORT
1585 bool "MTK_HDMI_SUPPORT"
1586 help
1587 To control whether enable or disable HDMI feature. If choose yes,
1588 phone's screen can be demonstrated on TV via HDMI cable.
1589
1590 config MTK_MT8193_HDMI_SUPPORT
1591 bool "MTK_MT8193_HDMI_SUPPORT"
1592 depends on MTK_HDMI_SUPPORT
1593 depends on MTK_MT8193_SUPPORT
1594
1595 config MTK_INTERNAL_HDMI_SUPPORT
1596 bool "MTK_INTERNAL_HDMI_SUPPORT"
1597 depends on MTK_HDMI_SUPPORT
1598
1599 config MTK_MT8193_HDCP_SUPPORT
1600 bool "MTK_MT8193_HDCP_SUPPORT"
1601 help
1602 Enable hdmi tx hdcp support
1603
1604 config MTK_HDMI_HDCP_SUPPORT
1605 bool "MTK_HDMI_HDCP_SUPPORT"
1606 help
1607 Enable hdmi tx hdcp support
1608
1609 config CUSTOM_KERNEL_HDMI
1610 string "CUSTOM_KERNEL_HDMI"
1611 help
1612 Specify HDMI external IC type.
1613
1614 config SINGLE_PANEL_OUTPUT
1615 bool "SINGLE_PANEL_OUTPUT"
1616 help
1617 Disable panel output when HDMI connected.
1618
1619 config CUSTOM_KERNEL_BAROMETER
1620 bool "CUSTOM_KERNEL_BAROMETER"
1621 help
1622 Pressure sensor driver to detect pressure
1623
1624 config MTK_INTERNAL_MHL_SUPPORT
1625 bool "MTK_INTERNAL_MHL_SUPPORT"
1626 depends on MTK_HDMI_SUPPORT
1627 help
1628 Enable internal mhl tx support
1629 (can't enable MTK_INTERNAL_HDMI_SUPPORT at the same time)
1630
1631 config MTK_THERMAL_PA_VIA_ATCMD
1632 bool "MTK_THERMAL_PA_VIA_ATCMD"
1633 help
1634 Internal switch for thermal management to query modem RF
1635 temperature via AT command.
1636
1637 config MTK_COMBO_NAND_SUPPORT
1638 bool "MTK_COMBO_NAND_SUPPORT"
1639 depends on MTK_MTD_NAND && !MTK_EMMC_SUPPORT
1640 help
1641 To support different NAND page size on the same load
1642
1643 config MTK_UMTS_TDD128_MODE
1644 bool "MTK_UMTS_TDD128_MODE"
1645 help
1646 MTK_UMTS_TDD128_MODE=yes means enable UMTS TDD128 specific
1647 features MTK_UMTS_TDD128_MODE=no means disable UMTS TDD128
1648 specific features. This feature option is used for APP to
1649 distinguish TDD, e.g. TDD modem, TDD HW,
1650 TDD specific customization, etc. TDD projects need to enable this
1651 feature option, non-TDD projects must disable this feature option.
1652
1653 config MTK_SIM1_SOCKET_TYPE
1654 string "MTK_SIM1_SOCKET_TYPE"
1655 help
1656 support SIM type 1 socket
1657
1658 config MTK_SIM2_SOCKET_TYPE
1659 string "MTK_SIM2_SOCKET_TYPE"
1660 help
1661 MTK_SIM1_SOCKET_TYPE=1: support type 1 socket type
1662
1663 config MTK_SEC_MODEM_NVRAM_ANTI_CLONE
1664 bool "MTK_SEC_MODEM_NVRAM_ANTI_CLONE"
1665 help
1666 This option is used to enable modem NVRAM anti-clone functionality
1667 [dependency_relationship]: yes If this option is turned on, the
1668 modem part should also turn on for the following setting 1. Modem
1669 project file CUSTOM_OPTION += __NVRAM_BIND_TO_CHIP_CIPHER__ 2. by
1670 default, only two LID is defaulted has MSP attribute
1671 (1)NVRAM_EF_SML_LID (2)NVRAM_EF_SIM_LOCK_LID 3. if want to turn on
1672 specific LID, please add attribute NVRAM_ATTR_MSP
1673
1674 config MTK_MT6333_SUPPORT
1675 bool "MTK_MT6333_SUPPORT"
1676 help
1677 If PCB support MT6333, please set yes. otherwise set no.
1678
1679 config MTK_CTP_RESET_CONFIG
1680 bool "MTK_CTP_RESET_CONFIG"
1681 help
1682 Reset TP IC for avoiding issue of DL wrong load. yes: Use in
1683 internal. no: For customer release
1684
1685 config MTK_BICR_SUPPORT
1686 bool "MTK_BICR_SUPPORT"
1687 help
1688
1689 config MTK_VIDEO_HEVC_SUPPORT
1690 bool "MTK_VIDEO_HEVC_SUPPORT"
1691 help
1692 This option is for HEVC playback/record feature
1693
1694 config MTK_AAL_SUPPORT
1695 bool "MTK_AAL_SUPPORT"
1696 help
1697 Decide whether to support ambient-light adpative backlight control
1698 and display visual enhancement
1699
1700 config MTK_MULTIBRIDGE_SUPPORT
1701 bool "MTK_MULTIBRIDGE_SUPPORT"
1702 help
1703 This feature option is for companion chip MT8193 use.
1704
1705 config NAND_OTP_SUPPORT
1706 bool "NAND_OTP_SUPPORT"
1707 help
1708 Select Y here to enable NAND OTP function support
1709
1710 config MTK_OD_SUPPORT
1711 bool "MTK_OD_SUPPORT"
1712 default n
1713
1714 #
1715 # LENS
1716 #
1717
1718 config MTK_LENS_DUMMYLENS_SUPPORT
1719 bool "Dummy Lens Driver"
1720 default n
1721
1722 config MTK_LENS_AD5820AF_SUPPORT
1723 bool "AD5820AF Lens Driver"
1724 default n
1725
1726 config MTK_LENS_AD5823_SUPPORT
1727 bool "AD5823 Lens Driver"
1728 default n
1729
1730 config MTK_LENS_AD5823AF_SUPPORT
1731 bool "AD5823AF Lens Driver"
1732 default n
1733
1734 config MTK_LENS_AK7345AF_SUPPORT
1735 bool "AK7345AF Lens Driver"
1736 default n
1737
1738 config MTK_LENS_BU6424AF_SUPPORT
1739 bool "BU6424AF Lens Driver"
1740 default n
1741
1742 config MTK_LENS_BU6429AF_SUPPORT
1743 bool "BU6429AF Lens Driver"
1744 default n
1745
1746 config MTK_LENS_BU64745GWZAF_SUPPORT
1747 bool "BU64745GWZAF Lens Driver"
1748 default n
1749
1750 config MTK_LENS_AK7345AF_SUPPORT
1751 bool "AK7345AF Lens Driver"
1752 default n
1753
1754 config MTK_LENS_DW9718AF_SUPPORT
1755 bool "DW9718AF Lens Driver"
1756 default n
1757
1758 config MTK_LENS_DW9714AF_SUPPORT
1759 bool "DW9714AF Lens Driver"
1760 default n
1761
1762 config MTK_LENS_DW9714A_SUPPORT
1763 bool "DW9714A Lens Driver"
1764 default n
1765
1766 config MTK_LENS_LC898122AF_SUPPORT
1767 bool "LC898122AF Lens Driver"
1768 default n
1769
1770 config MTK_LENS_LC898212AF_SUPPORT
1771 bool "LC898212AF Lens Driver"
1772 default n
1773
1774 config MTK_LENS_FM50AF_SUPPORT
1775 bool "FM50AF Lens Driver"
1776 default n
1777
1778 config MTK_LENS_MT9P017AF_SUPPORT
1779 bool "MT9P017AF Lens Driver"
1780 default n
1781
1782 config MTK_LENS_OV8825AF_SUPPORT
1783 bool "OV8825AF Lens Driver"
1784 default n
1785
1786 config MTK_LENS_SENSORDRIVE_SUPPORT
1787 bool "SENSORDRIVE Lens Driver"
1788 default n
1789
1790 config MTK_LENS_GAF001AF_SUPPORT
1791 bool "GAF001AF Lens Driver"
1792 default n
1793
1794 config MTK_LENS_GAF002AF_SUPPORT
1795 bool "GAF002AF Lens Driver"
1796 default n
1797
1798 config MTK_LENS_GAF008AF_SUPPORT
1799 bool "GAF008AF Lens Driver"
1800 default n
1801
1802 #
1803 # Camera EEPROM Calibration
1804 #
1805
1806 config MTK_CAM_CAL_GT24C32A_SUPPORT
1807 bool "GT24C32A EEPROM Driver"
1808 default n
1809
1810 config MTK_CAM_CAL_BRCC064GWZ_3_SUPPORT
1811 bool "BRCC064GWZ_3 EEPROM Driver"
1812 default n
1813
1814 config MTK_CAM_CAL_BRCB032GWZ_3_SUPPORT
1815 bool "BRCB032GWZ_3 EEPROM Driver"
1816 default n
1817 #
1818 # MTK_EXTMEM for LCA project
1819 #
1820 config MTK_EXTMEM
1821 bool "mtk external memory"
1822 depends on MTK_INTERNAL
1823 default n
1824
1825 config MTK_DRM_KEY_MNG_SUPPORT
1826 bool "Enable MTK DRM KEY MNG SUPPORT"
1827 depends on MTK_IN_HOUSE_TEE_SUPPORT
1828 default n
1829 help
1830 This enable MTK DRM KEY MNG SUPPORT.