| menu "Drivers Configurations" |
| menuconfig MTK_LDVT |
| bool "LDVT" |
| depends on ARCH_MT6589 || ARCH_MT6582 || ARCH_MT6595 |
| 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 |
| |
| |
| # 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 |
| tristate "CCCI Driver" |
| depends on MTK_CCCI_DEVICES |
| default m |
| ---help--- |
| This option enables ccci device driver support |
| |
| config MTK_CCCI_EXT |
| tristate "Dual CCCI Driver" |
| depends on MTK_CCCI_DEVICES |
| default y |
| ---help--- |
| This option enables dual ccci device driver support |
| |
| config MTK_ECCCI_DRIVER |
| tristate "ECCCI Driver" |
| default n |
| ---help--- |
| This option enables ECCCI device driver support |
| |
| config MTK_ECCCI_CLDMA |
| tristate "ECCCI CLDMA driver" |
| default n |
| ---help--- |
| This option enables ECCCI CLDMA driver |
| |
| config MTK_ECCCI_CCIF |
| tristate "ECCCI CCIF 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_NET_CCMNI |
| bool "MediaTek CCMNI driver" |
| depends on MTK_CCCI_DEVICES |
| default n |
| select WIRELESS_EXT |
| select WEXT_PRIV |
| |
| config MTK_EXTERNAL_MODEM_SLOT |
| string "MTK_EXTERNAL_MODEM_SLOT" |
| |
| config MTK_LTE_SUPPORT |
| bool "MediaTek LTE support" |
| default n |
| help |
| This option enables LTE 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 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 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. |
| |
| |
| # 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 |
| |
| menuconfig GPS |
| tristate "GPS drivers" |
| default y |
| ---help--- |
| Say Y here for supporting GPS. |
| |
| if GPS |
| config MTK_GPS # MT6516_GPS --> TODO should change to use modulized settings! |
| tristate "MediaTek 3326 GPS driver" |
| default y |
| ---help--- |
| MT3326 GPS driver |
| endif # GPS |
| |
| |
| menuconfig MTK_NFC |
| tristate "NFC drivers" |
| default n |
| ---help--- |
| Say Y here for supporting NFC. |
| |
| if MTK_NFC |
| |
| config NFC_MT6605 |
| tristate "MediaTek NFC driver" |
| default n |
| |
| config NFC_MSR3110 |
| tristate "MSR3110 NFC driver" |
| default n |
| |
| endif # NFC |
| |
| config MTK_BTIF |
| tristate"MediaTek BTIF Driver" |
| |
| config MTK_COMBO |
| tristate "MediaTek Connectivity Combo Chip Support" |
| help |
| MTK connectivity combo chip driver for MT66xx |
| |
| # |
| # MTK Combo Chip Selection |
| # |
| choice |
| prompt "Select Chip" |
| depends on MTK_COMBO |
| |
| config MTK_COMBO_CHIP_MT6620 |
| bool "MT6620" |
| |
| config MTK_COMBO_CHIP_MT6630 |
| bool "MT6630" |
| |
| config MTK_COMBO_CHIP_CONSYS_6572 |
| bool "CONSYS_6572" |
| |
| config MTK_COMBO_CHIP_CONSYS_6582 |
| bool "CONSYS_6582" |
| |
| config MTK_COMBO_CHIP_CONSYS_6592 |
| bool "CONSYS_6592" |
| |
| config MTK_COMBO_CHIP_CONSYS_6752 |
| bool "CONSYS_6752" |
| |
| endchoice |
| |
| config MTK_COMBO_CHIP |
| string |
| default "MT6620" if MTK_COMBO_CHIP_MT6620 |
| default "MT6630" if MTK_COMBO_CHIP_MT6630 |
| default "CONSYS_6572" if MTK_COMBO_CHIP_CONSYS_6572 |
| default "CONSYS_6582" if MTK_COMBO_CHIP_CONSYS_6582 |
| default "CONSYS_6592" if MTK_COMBO_CHIP_CONSYS_6592 |
| default "CONSYS_6752" if MTK_COMBO_CHIP_CONSYS_6752 |
| help |
| this feature is used to identify combo chip version or SOC chip |
| consys version. |
| |
| config MTK_WLAN_CHIP |
| string "MTK_WLAN_CHIP" |
| default "MT6620" if MTK_COMBO_CHIP_MT6620 |
| default "MT6630" if MTK_COMBO_CHIP_MT6630 |
| default "CONSYS_6572" if MTK_COMBO_CHIP_CONSYS_6572 |
| default "CONSYS_6582" if MTK_COMBO_CHIP_CONSYS_6582 |
| default "CONSYS_6592" if MTK_COMBO_CHIP_CONSYS_6592 |
| default "CONSYS_6752" if MTK_COMBO_CHIP_CONSYS_6752 |
| help |
| Define the wlan chip, the MTK_WLAN_SUPPORT must be set yes |
| |
| config MTK_WLAN_SUPPORT |
| bool "MTK_WLAN_SUPPORT" |
| help |
| The Wlan switch for the wlan feature in the Android(app, |
| framework, native, kernel). |
| |
| config MTK_WAPI_SUPPORT |
| bool "MTK_WAPI_SUPPORT" |
| depends on MTK_WLAN_SUPPORT |
| help |
| if it is set to TRUE: Support WAPI (WLAN Authentication and |
| Privacy Infrastructure) |
| |
| config MTK_COMBO_PSM_TX_TH |
| string "MTK_COMBO_PSM_TX_TH" |
| depends on MTK_COMBO |
| help |
| Combo chip PSM (quick sleep mechanism) mechanism Tx threshold |
| value |
| |
| config MTK_COMBO_PSM_RX_TH |
| string "MTK_COMBO_PSM_RX_TH" |
| depends on MTK_COMBO |
| help |
| Combo chip PSM (quick sleep mechanism) Rx threshold value |
| |
| 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 |
| |
| # |
| # Target Platform Selection |
| # |
| config MTK_COMBO_PLAT_PATH |
| string "Platform folder name" |
| depends on MTK_COMBO |
| default "sample" if MTK_COMBO_PLAT_SAMPLE |
| help |
| Specify platform folder under common driver platform folder: |
| mtk_wcn_combo/common/platform/* |
| |
| # |
| # MTK COMBO Chip Configuration |
| # |
| config MTK_COMBO_COMM |
| depends on MTK_COMBO |
| tristate "MediaTek Combo Chip Common part driver" |
| help |
| MediaTek combo chip common part driver |
| |
| #config MTK_COMBO_COMM_PS |
| # depends on MTK_COMBO_COMM |
| # bool "Enable PS support" |
| # default n |
| # help |
| # Enable PS support of common UART interface |
| |
| config MTK_COMBO_COMM_UART |
| depends on MTK_COMBO_COMM |
| tristate "Common interface UART" |
| help |
| Use UART for common part interface type |
| |
| config MTK_COMBO_COMM_SDIO |
| depends on MTK_COMBO_COMM |
| tristate "Common interface SDIO" |
| help |
| Use SDIO for common part interface type |
| |
| config MTK_COMBO_BT |
| tristate "MediaTek Combo Chip BT driver" |
| depends on MTK_COMBO |
| help |
| MTK BT /dev/stpbt driver for Bluedroid |
| |
| config MTK_COMBO_ANT |
| tristate "MediaTek Combo Chip ANT driver" |
| depends on MTK_COMBO |
| help |
| MTK ANT /dev/stpant driver for ANT |
| |
| config MTK_COMBO_BT_HCI |
| tristate "MediaTek Combo Chip BlueZ driver" |
| depends on BT && MTK_COMBO |
| help |
| MTK BT driver for BlueZ |
| |
| config MTK_COMBO_GPS |
| tristate "MediaTek Combo Chip GPS driver" |
| depends on MTK_COMBO |
| help |
| MTK GPS /dev/stpgps driver |
| |
| config MTK_GPS_SUPPORT |
| tristate "MediaTek GPS driver" |
| select MTK_GPS |
| help |
| to switch GPS feature on the platform. Set "yes" to turn |
| on and set "no"(with MTK_AGPS_APP=no at the same time) to turn |
| off. |
| |
| 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_DHCPV6C_WIFI |
| bool "MTK_DHCPV6C_WIFI" |
| help |
| no: disable this feature |
| |
| config MTK_WFD_SUPPORT |
| bool "MTK_WFD_SUPPORT" |
| help |
| Wi-Fi Display Switch |
| |
| config MTK_FM |
| bool "MediaTek FM Chip Support" |
| default n |
| |
| config MTK_FM_SUPPORT |
| bool "MTK_FM_SUPPORT" |
| help |
| The root switch of Android FM, if "no", all features(RX&TX) of FM |
| will be removed from android system |
| |
| config MTK_FM_CHIP |
| string "MTK_FM_CHIP" |
| depends on MTK_FM_SUPPORT |
| default "MT6620_FM" if MTK_COMBO_CHIP_MT6620 |
| default "MT6630_FM" if MTK_COMBO_CHIP_MT6630 |
| help |
| decide which FM radio chip to use: e.g.MT6620_FM, MT6628_FM |
| |
| config MTK_FM_50KHZ_SUPPORT |
| bool "MTK_FM_50KHZ_SUPPORT" |
| depends on MTK_FM_SUPPORT |
| help |
| The feature option is to define if we support FM 50KHz step |
| tune/seek/scan functions |
| |
| config MTK_MERGE_INTERFACE_SUPPORT |
| bool "MTK_MERGE_INTERFACE_SUPPORT" |
| |
| config SDIOAUTOK_SUPPORT |
| tristate "MediaTek SDIO UHS auto calibration support" |
| default n |
| |
| 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 |
| |
| |
| # 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 |
| ---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 m |
| ---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. |
| |
| # 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. |
| |
| # 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. |
| |
| # Power Related |
| if POWER_SUPPLY |
| config MT6326_PMIC |
| tristate "MediaTek PMIC Driver" |
| depends on ARCH_MT6516 |
| default y |
| |
| 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 POWER_EXT |
| tristate "MediaTek Power Ext" |
| default y |
| |
| 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 |
| |
| endif #POWER_SUPPLY |
| |
| 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. |
| |
| # RTC |
| config MTK_RTC |
| bool "MediaTek Real Time Clock Support" |
| default y |
| |
| # Accelerometer Sensor |
| config MTK_BMC156_ACC |
| bool "MediaTek Accelerometer Support" |
| default n |
| |
| config MTK_LSM303D |
| bool "MediaTek Accelerometer&Magnetometer Support" |
| default n |
| |
| config MTK_KXTIK1004 |
| bool "MediaTek Accelerometer Support" |
| default n |
| |
| #ALSPS sensor |
| config MTK_CM36283 |
| bool "MediaTek Ambient and proximity sensor Support" |
| default n |
| |
| config MTK_TMD2771 |
| bool "MediaTek Ambient and proximity sensor Support" |
| default n |
| # Magnetometer sensor |
| config MTK_BMC156_MAG |
| bool "MediaTek Magnetometer sensor Support" |
| default n |
| # Gyroscope |
| config MTK_BMG160 |
| bool "MediaTek Gyroscope sensor Support" |
| default n |
| |
| config MTK_L3GD20 |
| bool "MediaTek Gyroscope sensor Support" |
| default n |
| config MTK_MPU3050C |
| bool "MediaTek Gyroscope sensor Support" |
| default n |
| # 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" |
| |
| # 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. |
| |
| |
| # 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_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 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 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 |
| |
| # 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 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 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 && ARM && HIGHMEM |
| depends on ARCH_MT6595 |
| 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 occupies 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. |
| 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" |
| help |
| MTK_GPU_SUPPORT=yes, means support HW GPU |
| |
| config MTK_ICUSB_SUPPORT |
| bool "MTK_ICUSB_SUPPORT" |
| help |
| To enable the ICUSB featurea in phone which support 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 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_COMBO_NAND_SUPPORT |
| bool "MTK_COMBO_NAND_SUPPORT" |
| depends on !MTK_EMMC_SUPPORT |
| help |
| To support different NAND page size on the same load |
| |
| config MTK_ENABLE_MD1 |
| bool "MTK_ENABLE_MD1" |
| help |
| Set to yes, if the first modem is enabled |
| |
| config MTK_ENABLE_MD2 |
| bool "MTK_ENABLE_MD2" |
| help |
| Set to yes, if the second modem is enabled |
| |
| config MTK_ENABLE_MD5 |
| bool "MTK_ENABLE_MD5" |
| help |
| Set to yes, if the fifth modem is enabled |
| |
| config MD1_SMEM_SIZE |
| string "MD1_SMEM_SIZE" |
| help |
| modem 1 share memory size. |
| |
| config MD2_SMEM_SIZE |
| string "MD2_SMEM_SIZE" |
| help |
| modem 2 share memory size. |
| |
| config MD5_SMEM_SIZE |
| string "MD5_SMEM_SIZE" |
| help |
| modem 5 share memory size. |
| |
| 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 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 MTK_MULTIBRIDGE_SUPPORT |
| bool "MTK_MULTIBRIDGE_SUPPORT" |
| help |
| This feature option is for companion chip MT8193 use. |
| |
| config NAND_OTP_SUPPORT |
| bool "NAND_OTP_SUPPORT" |
| help |
| Select Y here to enable NAND OTP function support |
| |
| |
| |
| # |
| # LENS |
| # |
| |
| config MTK_LENS_DUMMYLENS_SUPPORT |
| bool "Dummy Lens Driver" |
| default n |
| |
| config MTK_LENS_DW9714AF_SUPPORT |
| bool "DW9714AF Lens Driver" |
| default n |
| |
| config MTK_LENS_FM50AF_SUPPORT |
| bool "FM50AF 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 |