Merge remote-tracking branch 'aosp/android-3.0' into develop-3.0
[firefly-linux-kernel-4.4.55.git] / drivers / mtk_wcn_combo / Kconfig
1 menu "MediaTek Connectivity Combo Chip Config"
2
3 config MTK_COMBO
4         bool "MediaTek Connectivity Combo Chip Support"
5         help
6           MTK connectivity combo chip driver for MT6620
7
8 #
9 # MTK Combo Chip Selection
10 #
11 choice
12         prompt "Select Chip"
13         depends on MTK_COMBO
14
15 config MTK_COMBO_CHIP_MT6620
16         bool "MT6620"
17
18 #config MTK_COMBO_CHIP_MT6628
19 #       bool "MT6628"
20 endchoice
21
22 #
23 # Target Platform Selection
24 #
25 config MTK_COMBO_PLAT_PATH
26         string "Platform folder name"
27         depends on MTK_COMBO
28         default "sample" if MTK_COMBO_PLAT_SAMPLE
29         help
30           Specify platform folder under common driver platform folder: 
31           mtk_wcn_combo/common/platform/*
32
33 #
34 # MTK COMBO Chip Configuration
35 #
36 config MTK_COMBO_COMM
37         depends on MTK_COMBO
38         tristate "MediaTek Combo Chip Common part driver"
39         help
40           MediaTek combo chip common part driver
41
42 #config MTK_COMBO_COMM_PS
43 #       depends on MTK_COMBO_COMM
44 #       bool "Enable PS support"
45 #       default n
46 #       help
47 #         Enable PS support of common UART interface
48
49 config MTK_COMBO_COMM_UART
50         depends on MTK_COMBO_COMM
51         tristate "Common interface UART"
52         help
53           Use UART for common part interface type
54
55 #config MTK_COMBO_COMM_SDIO
56 #       depends on MTK_COMBO_COMM
57 #       tristate "Common interface SDIO"
58 #       help
59 #         Use SDIO for common part interface type
60
61 config MTK_COMBO_BT_HW_TEST
62         tristate "MediaTek Combo Chip BT Hardware Test driver"
63         depends on MTK_COMBO
64         help
65           MTK BT /dev/stpbt driver for autobt hardware test tool (mtk_stp_bt.ko)
66         
67 config MTK_COMBO_BT_HCI
68         tristate "MediaTek Combo Chip BlueZ driver"
69         depends on BT && MTK_COMBO
70         help
71           MTK BT driver for BlueZ (hci_stp.ko)
72
73 config MTK_COMBO_FM
74         tristate "MediaTek Combo Chip FM driver"
75         depends on MTK_COMBO
76         help
77           MTK FM /dev/fm driver (mt6620_fm_drv.ko, mtk_fm_priv.ko)
78
79 config MTK_COMBO_WIFI
80         tristate "MediaTek Combo Chip Wi-Fi support"
81         depends on MTK_COMBO
82         depends on MMC
83         depends on IPV6
84         select WIRELESS_EXT
85         select WEXT_PRIV
86         help
87           This module adds support for wireless adapters based on
88           MTK MT6620 chipset.
89
90           This driver uses the kernel's wireless extensions subsystem.
91
92           If you choose to build a module, it'll be called dhd. Say M if
93           unsure.
94
95 #config MTK_COMBO_WIFI_FW_PATH
96 #       depends on MTK_COMBO_WIFI
97 #       string "Firmware path"
98 #       default "/system/etc/firmware/WIFI_RAM_CODE"
99 #       help
100 #         Path to the firmware file
101
102 config MTK_COMBO_WIFI_DEBUG
103         depends on MTK_COMBO_WIFI
104         bool "Enable debug output from MT6620 driver"
105         help
106           Enable debug messages output from MT6620 driver
107
108 config MTK_COMBO_WIFI_PROC
109         depends on MTK_COMBO_WIFI
110         bool "Enable procfs support"
111         help
112           Enable procfs support.
113
114 #config MTK_WAPI_SUPPORT
115 #       depends on MTK_COMBO_WIFI
116 #       bool "Enable WAPI support in MT6620 driver"
117 #       help
118 #         Enable WAPI support for devices using MT6620
119
120 choice
121         prompt "Host Interface"
122         depends on MTK_COMBO_WIFI
123
124 config MTK_COMBO_WIFI_HIF_SDIO1
125         bool "SDIO #1"
126         depends on MTK_COMBO_WIFI
127 endchoice
128
129
130 config MTK_GPS
131         tristate "MediaTek GPS Support"
132         help
133           MTK GPS /dev/gps driver (mtk_gps.ko)
134
135 config MTK_COMBO_GPS
136         tristate "MediaTek Combo Chip GPS driver"
137         depends on MTK_COMBO && MTK_GPS
138         help
139           MTK GPS /dev/stpgps driver (mtk_stp_gps.ko)
140
141 endmenu