kernel_samsung_a34x-permissive/drivers/misc/mediatek/connectivity/Kconfig
Fede2782 437ee1b02a
drivers: mediatek: connectivity: Various changes
connectivity: Add an option to build wlan driver in kernel

connectivity: bt: Allow platform to be overridden when building inline

connectivity: gen4m: Fix built-in config detection

connectivity: bt: Don't define module init/exit if built-in to kernel

connectivity: {connfem,gps}: Build modules into kernel

connectivity: Remove autoconf checks

drivers: misc/mediatek: connectivity: wlan-gen4m: Change logging levels

drivers: misc/mtk: connectivity-wlan: Queue delayed work on power efficient wq

connectivity: mtk-conninfra: Use g_evt_ctx pointer to avoid errors
2024-04-28 17:35:32 +02:00

468 lines
12 KiB
Plaintext

config MTK_COMBO
tristate "MediaTek Connectivity Combo Chip Support"
help
MTK connectivity combo chip driver for MT66xx
This config
is used to
turn on/off connsys
#
# MTK Combo Chip Selection
#
choice
prompt "Select Chip"
depends on MTK_COMBO
help
This is used to select chip.
When MTK_COMBO is y,
we need to choose
a chip.
config MTK_COMBO_CHIP_MT6620
bool "MT6620"
help
this config is used to decided combo chip version
in current platform
is
MT6620
config MTK_COMBO_CHIP_MT6628
bool "MT6628"
help
this config is used to decided combo chip version
in current platform
is
MT6628
config MTK_COMBO_CHIP_MT7668
bool "MT7668"
help
this config is used to decided combo chip version
in current platform
is
MT7668
config MTK_COMBO_CHIP_MT6630
bool "MT6630"
help
this config is used to decided combo chip version
in current platform
is
MT6630
config MTK_COMBO_CHIP_MT6632
bool "Mediatek MT6632 device driver support"
help
This driver supports the built-in smart phone found
in the Mediatek MT6632 chipset.
If you want to use MT6632 driver supprt, say Y.
If unsure, say N.
Mediatek MT6632 module includes BT, FM, GPS, WIFI.
config MTK_COMBO_CHIP_CONSYS_6757
bool "MTK MT6757 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6757(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6763
bool "MTK MT6763 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6763(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6758
bool "MTK MT6758 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6758(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6759
bool "MTK MT6759 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6759(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6765
bool "MTK MT6765 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6765(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6761
bool "MTK MT6761 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6761(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_8167
bool "MTK MT8167 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT8167(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_8168
bool "MTK MT8168 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT8168(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_3967
bool "MTK MT3967 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT3967(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6771
bool "MTK MT6771 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6771(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6739
bool "MTK MT6739 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6739(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6768
bool "MTK MT6768 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6768(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6779
bool "MTK MT6779 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6779(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6781
bool "MTK MT6781 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6781(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6833
bool "MTK MT6833 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6833(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6853
bool "MTK MT6853 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6853(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6873
bool "MTK MT6873 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6873(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6877
bool "MTK MT6877 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6877(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6885
bool "MTK MT6885 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6885(BT/WIFI/GPS/FM combo chip)
config MTK_COMBO_CHIP_CONSYS_6893
bool "MTK MT6893 combo chip support"
help
this config is used to decided SOC consys version
in current platform
is
MT6893(BT/WIFI/GPS/FM combo chip)
endchoice
config MTK_COMBO_CHIP
string
default "MT6620" if MTK_COMBO_CHIP_MT6620
default "MT6628" if MTK_COMBO_CHIP_MT6628
default "MT6630" if MTK_COMBO_CHIP_MT6630
default "MT6632" if MTK_COMBO_CHIP_MT6632
default "MT7668" if MTK_COMBO_CHIP_MT7668
default "CONSYS_6757" if MTK_COMBO_CHIP_CONSYS_6757
default "CONSYS_6763" if MTK_COMBO_CHIP_CONSYS_6763
default "CONSYS_6758" if MTK_COMBO_CHIP_CONSYS_6758
default "CONSYS_6759" if MTK_COMBO_CHIP_CONSYS_6759
default "CONSYS_6765" if MTK_COMBO_CHIP_CONSYS_6765
default "CONSYS_6761" if MTK_COMBO_CHIP_CONSYS_6761
default "CONSYS_8167" if MTK_COMBO_CHIP_CONSYS_8167
default "CONSYS_3967" if MTK_COMBO_CHIP_CONSYS_3967
default "CONSYS_6771" if MTK_COMBO_CHIP_CONSYS_6771
default "CONSYS_6739" if MTK_COMBO_CHIP_CONSYS_6739
default "CONSYS_6768" if MTK_COMBO_CHIP_CONSYS_6768
default "CONSYS_6779" if MTK_COMBO_CHIP_CONSYS_6779
default "CONSYS_6781" if MTK_COMBO_CHIP_CONSYS_6781
default "CONSYS_6833" if MTK_COMBO_CHIP_CONSYS_6833
default "CONSYS_6853" if MTK_COMBO_CHIP_CONSYS_6853
default "CONSYS_6873" if MTK_COMBO_CHIP_CONSYS_6873
default "CONSYS_6885" if MTK_COMBO_CHIP_CONSYS_6885
default "CONSYS_6893" if MTK_COMBO_CHIP_CONSYS_6893
default "CONSYS_6877" if MTK_COMBO_CHIP_CONSYS_6877
help
this feature is used to identify combo chip version or SOC chip
consys version.
#
# 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_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_COMM_NPWR
depends on MTK_COMBO_COMM
bool "Enable NPWR support"
default n
help
Enable NPWR support of new power on swquence
config MTK_COMBO_COMM_APO
depends on MTK_COMBO_COMM
bool "Enable always power on support"
default n
help
Enable chip will always power on
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_COMBO_WIFI
tristate "MediaTek combo chip Wi-Fi support"
depends on MTK_COMBO
select WIRELESS_EXT
select WEXT_PRIV
config MTK_PASSPOINT_R1_SUPPORT
bool "MTK_PASSPOINT_R1_SUPPORT"
depends on MTK_COMBO_WIFI
help
Support Passpoint R1 (Hotspot 2.0 R1)
config MTK_PASSPOINT_R2_SUPPORT
bool "MTK_PASSPOINT_R2_SUPPORT"
depends on MTK_COMBO_WIFI
help
Support Passpoint R2
config MTK_WIFI_MCC_SUPPORT
bool "MTK_WIFI_MCC_SUPPORT"
depends on MTK_COMBO_WIFI
default y
help
if it is set to TRUE, wlan will support Multi-Channel Concurrency,
otherwise, only support Single Channel Concurrency
config MTK_DHCPV6C_WIFI
bool "MTK_DHCPV6C_WIFI"
help
no: disable this feature
config MTK_CONN_LTE_IDC_SUPPORT
bool "MediaTek CONN LTE IDC support"
default y if MTK_ECCCI_DRIVER
help
This option enables CONN LTE IDC support
menuconfig GPS
tristate "GPS drivers"
default n
---help---
Say Y here for supporting GPS.
config MTK_GPS_SUPPORT
tristate "support MediaTek GPS driver"
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_GPS_REGISTER_SETTING
tristate "MediaTek GPS Register Setting"
depends on MTK_COMBO_GPS
help
GPS register settings.
config MTK_GPS_EMI
tristate "MediaTek GPS EMI Driver"
depends on MTK_COMBO_GPS
help
GPS EMI driver is for MNL OFFLOAD feature.
config MTK_FMRADIO
tristate "MediaTek FMRadio driver"
depends on MTK_COMBO
help
This config is used to choose
if need to compile fmradio folder.
Will compile fmradio folder if set to 'y',
otherwise will not compile fmradio folder.
config MTK_FM_CHIP
string "MTK FM CHIP"
depends on MTK_FMRADIO
help
This config is used to choose
which FM radio chip to use:
e.g. MT6627_FM, MT6580_FM, MT6630_FM,
for control to use which platform code.
config MTK_FM_50KHZ_SUPPORT
bool "support MTK FM 50KHZ"
depends on MTK_FMRADIO
help
This config is used to choose
if need to support FM 50KHz step or not
for tune/seek/scan functions.
Will support 50KHz step if set to 'y',
otherwise will not support 50KHz step.
config MTK_MERGE_INTERFACE_SUPPORT
bool "support MTK MERGE INTERFACE"
help
This config is used to control FM Audio
path. FM audio path will use PCM/I2S merge
interface is set to 'y',
otherwise merge interface is not used.
config MTK_CONNFEM
tristate "MediaTek connfem driver"
depends on MTK_COMBO
help
This config is used to choose
if need to compile connfem folder.
Will compile connfem folder if set to 'y',
otherwise will not compile connfem folder.
config MTK_COMBO_CHIP_DEEP_SLEEP_SUPPORT
depends on MTK_COMBO_CHIP_MT6632
default y
tristate "Mediatek combo chip deep sleep feature setting"
help
this config is used to enable or disable chip deep sleep feature,
if the project is no deep sleep design,
host can`t wake up chip form deep sleep,
we must close this config.
config MTK_CONN_MT3337_CHIP_SUPPORT
bool "Mediatek MT3337 device driver support"
help
This config is used to enable or disable chip 3337's gps driver.
MT3337 is gps only chip without BT and wifi,
it is powered on by new gps driver.
Otherwise we must close this config.
config MTK_CONNSYS_DEDICATED_LOG_PATH
bool "Enable connsys log using dedicated path"
default n
help
This will enable connsys log using dedicated path
1. There would be a common debug utility for collecting log
from connsys (by EMI or other specific path)
2. The scope may include (but not limited) Wi-Fi firmware log,
BT firmware log, GPS firmware log etc.
config WLAN_DRV_BUILD_IN
bool "Build Wlan module in kernel"
help
This will build the wlan driver and the corresponding componenets
into the kernel.
If unsure say n