Kconfig 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. config MTK_COMBO
  2. tristate "MediaTek Connectivity Combo Chip Support"
  3. help
  4. MTK connectivity combo chip driver for MT66xx
  5. #
  6. # MTK Combo Chip Selection
  7. #
  8. choice
  9. prompt "Select Chip"
  10. depends on MTK_COMBO
  11. config MTK_COMBO_CHIP_MT6620
  12. bool "MT6620"
  13. help
  14. this config is used to decided combo chip version
  15. in current platform
  16. is
  17. MT6620
  18. config MTK_COMBO_CHIP_MT6628
  19. bool "MT6628"
  20. help
  21. this config is used to decided combo chip version
  22. in current platform
  23. is
  24. MT6628
  25. config MTK_COMBO_CHIP_MT6630
  26. bool "MT6630"
  27. help
  28. this config is used to decided combo chip version
  29. in current platform
  30. is
  31. MT6630
  32. config MTK_COMBO_CHIP_CONSYS_6572
  33. bool "CONSYS_6572"
  34. help
  35. this config is used to decided SOC consys version
  36. in current platform
  37. is
  38. MT6572
  39. config MTK_COMBO_CHIP_CONSYS_6582
  40. bool "CONSYS_6582"
  41. help
  42. this config is used to decided SOC consys version
  43. in current platform
  44. is
  45. MT6582
  46. config MTK_COMBO_CHIP_CONSYS_8127
  47. bool "CONSYS_8127"
  48. help
  49. this config is used to decided SOC consys version
  50. in current platform
  51. is
  52. MT6572
  53. config MTK_COMBO_CHIP_CONSYS_6752
  54. bool "CONSYS_6752"
  55. help
  56. this config is used to decided SOC consys version
  57. in current platform
  58. is
  59. MT6752
  60. config MTK_COMBO_CHIP_CONSYS_6592
  61. bool "CONSYS_6592"
  62. help
  63. this config is used to decided SOC consys version
  64. in current platform
  65. is
  66. MT6592
  67. config MTK_COMBO_CHIP_CONSYS_8163
  68. bool "CONSYS_8163"
  69. help
  70. this config is used to decided SOC consys version
  71. in current platform
  72. is
  73. MT8163
  74. config MTK_COMBO_CHIP_CONSYS_6735
  75. bool "CONSYS_6735"
  76. help
  77. this config is used to decided SOC consys version
  78. in current platform
  79. is
  80. MT6735
  81. config MTK_COMBO_CHIP_CONSYS_6755
  82. bool "CONSYS_6755"
  83. help
  84. this config is used to decided SOC consys version
  85. in current platform
  86. is
  87. MT6755
  88. config MTK_COMBO_CHIP_CONSYS_6580
  89. bool "CONSYS_6580"
  90. help
  91. this config is used to decided SOC consys version
  92. in current platform
  93. is
  94. MT6580
  95. config MTK_COMBO_CHIP_CONSYS_6797
  96. bool "CONSYS_6797"
  97. help
  98. this config is used to decided SOC consys version
  99. in current platform
  100. is
  101. MT6797
  102. endchoice
  103. config MTK_COMBO_CHIP
  104. string
  105. default "MT6620" if MTK_COMBO_CHIP_MT6620
  106. default "MT6628" if MTK_COMBO_CHIP_MT6628
  107. default "MT6630" if MTK_COMBO_CHIP_MT6630
  108. default "CONSYS_6572" if MTK_COMBO_CHIP_CONSYS_6572
  109. default "CONSYS_6582" if MTK_COMBO_CHIP_CONSYS_6582
  110. default "CONSYS_8127" if MTK_COMBO_CHIP_CONSYS_8127
  111. default "CONSYS_6752" if MTK_COMBO_CHIP_CONSYS_6752
  112. default "CONSYS_6755" if MTK_COMBO_CHIP_CONSYS_6755
  113. default "CONSYS_6592" if MTK_COMBO_CHIP_CONSYS_6592
  114. default "CONSYS_8163" if MTK_COMBO_CHIP_CONSYS_8163
  115. default "CONSYS_6735" if MTK_COMBO_CHIP_CONSYS_6735
  116. default "CONSYS_6580" if MTK_COMBO_CHIP_CONSYS_6580
  117. default "CONSYS_6797" if MTK_COMBO_CHIP_CONSYS_6797
  118. help
  119. this feature is used to identify combo chip version or SOC chip
  120. consys version.
  121. #
  122. # Target Platform Selection
  123. #
  124. config MTK_COMBO_PLAT_PATH
  125. string "Platform folder name"
  126. depends on MTK_COMBO
  127. default "sample" if MTK_COMBO_PLAT_SAMPLE
  128. help
  129. Specify platform folder under common driver platform folder:
  130. mtk_wcn_combo/common/platform/*
  131. #
  132. # MTK COMBO Chip Configuration
  133. #
  134. config MTK_COMBO_COMM
  135. depends on MTK_COMBO
  136. tristate "MediaTek Combo Chip Common part driver"
  137. help
  138. MediaTek combo chip common part driver
  139. #config MTK_COMBO_COMM_PS
  140. # depends on MTK_COMBO_COMM
  141. # bool "Enable PS support"
  142. # default n
  143. # help
  144. # Enable PS support of common UART interface
  145. config MTK_COMBO_COMM_UART
  146. depends on MTK_COMBO_COMM
  147. tristate "Common interface UART"
  148. help
  149. Use UART for common part interface type
  150. config MTK_COMBO_COMM_SDIO
  151. depends on MTK_COMBO_COMM
  152. tristate "Common interface SDIO"
  153. help
  154. Use SDIO for common part interface type
  155. config MTK_COMBO_COMM_NPWR
  156. depends on MTK_COMBO_COMM
  157. bool "Enable NPWR support"
  158. default n
  159. help
  160. Enable NPWR support of new power on swquence
  161. config MTK_COMBO_COMM_APO
  162. depends on MTK_COMBO_COMM
  163. bool "Enable always power on support"
  164. default y
  165. help
  166. Enable chip will always power on
  167. config MTK_COMBO_BT
  168. tristate "MediaTek Combo Chip BT driver"
  169. depends on MTK_COMBO
  170. help
  171. MTK BT /dev/stpbt driver for Bluedroid
  172. config MTK_COMBO_ANT
  173. tristate "MediaTek Combo Chip ANT driver"
  174. depends on MTK_COMBO
  175. help
  176. MTK ANT /dev/stpant driver for ANT
  177. config MTK_COMBO_BT_HCI
  178. tristate "MediaTek Combo Chip BlueZ driver"
  179. depends on BT && MTK_COMBO
  180. help
  181. MTK BT driver for BlueZ
  182. config MTK_COMBO_GPS
  183. tristate "MediaTek Combo Chip GPS driver"
  184. depends on MTK_COMBO
  185. help
  186. MTK GPS /dev/stpgps driver
  187. config MTK_COMBO_WIFI
  188. tristate "MediaTek combo chip Wi-Fi support"
  189. depends on MTK_COMBO
  190. select WIRELESS_EXT
  191. select WEXT_PRIV
  192. config MTK_WAPI_SUPPORT
  193. bool "MTK_WAPI_SUPPORT"
  194. depends on MTK_COMBO_WIFI
  195. default y
  196. help
  197. if it is set to TRUE: Support WAPI (WLAN Authentication and
  198. Privacy Infrastructure)
  199. config MTK_PASSPOINT_R1_SUPPORT
  200. bool "MTK_PASSPOINT_R1_SUPPORT"
  201. depends on MTK_COMBO_WIFI
  202. help
  203. Support Passpoint R1 (Hotspot 2.0 R1)
  204. config MTK_PASSPOINT_R2_SUPPORT
  205. bool "MTK_PASSPOINT_R2_SUPPORT"
  206. depends on MTK_COMBO_WIFI
  207. help
  208. Support Passpoint R2
  209. config MTK_WIFI_MCC_SUPPORT
  210. bool "MTK_WIFI_MCC_SUPPORT"
  211. depends on MTK_COMBO_WIFI
  212. default y
  213. help
  214. if it is set to TRUE, wlan will support Multi-Channel Concurrency,
  215. otherwise, only support Single Channel Concurrency
  216. config MTK_DHCPV6C_WIFI
  217. bool "MTK_DHCPV6C_WIFI"
  218. help
  219. no: disable this feature
  220. config MTK_CONN_LTE_IDC_SUPPORT
  221. bool "MediaTek CONN LTE IDC support"
  222. select MTK_CONN_MD
  223. default y
  224. help
  225. This option enables CONN LTE IDC support
  226. menuconfig GPS
  227. tristate "GPS drivers"
  228. default y
  229. ---help---
  230. Say Y here for supporting GPS.
  231. if GPS
  232. config MTK_GPS
  233. tristate "MediaTek GPS driver"
  234. default y
  235. ---help---
  236. MTK GPS driver
  237. To switch gps nmea port driver.
  238. Set "yes" to turn on.
  239. Set "no" to turn off.
  240. endif # GPS
  241. config MTK_GPS_SUPPORT
  242. tristate "MediaTek GPS driver"
  243. select MTK_GPS
  244. help
  245. to switch GPS feature on the platform.
  246. Set "yes" to turn on and set "no"
  247. (with MTK_AGPS_APP=no at the same time)
  248. to turn off.
  249. config MTK_GPS_REGISTER_SETTING
  250. tristate "MediaTek GPS Register Setting"
  251. depends on MTK_COMBO_GPS
  252. help
  253. GPS register settings.