blob: 4e73a531b37720e58b3d2e10fa92f60b8951f2d3 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002
3menu "Bluetooth device drivers"
4 depends on BT
5
Marcel Holtmann48f0ed12015-04-06 00:52:11 -07006config BT_INTEL
7 tristate
Loic Poulaind06f1072015-10-01 18:16:21 +02008 select REGMAP
Marcel Holtmann48f0ed12015-04-06 00:52:11 -07009
Marcel Holtmann4fba30f2015-04-05 22:52:10 -070010config BT_BCM
11 tristate
Marcel Holtmann1c8ba6d2015-04-05 22:52:13 -070012 select FW_LOADER
Marcel Holtmann4fba30f2015-04-05 22:52:10 -070013
Carlo Caionedb33c772015-05-14 10:49:09 +020014config BT_RTL
15 tristate
16 select FW_LOADER
17
Ben Young Tae Kim83e81962015-08-10 14:24:12 -070018config BT_QCA
19 tristate
20 select FW_LOADER
21
Marcel Holtmann5e23b922007-10-20 14:12:34 +020022config BT_HCIBTUSB
Marcel Holtmann9bfa35f2008-08-18 13:23:52 +020023 tristate "HCI USB driver"
24 depends on USB
Marcel Holtmann4185a0f2015-04-06 00:52:12 -070025 select BT_INTEL
Marcel Holtmann5e23b922007-10-20 14:12:34 +020026 help
27 Bluetooth HCI USB driver.
28 This driver is required if you want to use Bluetooth devices with
29 USB interface.
30
Marcel Holtmann5e23b922007-10-20 14:12:34 +020031 Say Y here to compile support for Bluetooth USB devices into the
32 kernel or say M to compile it as module (btusb).
33
Hans de Goedeeff2d682017-11-13 14:44:16 +010034config BT_HCIBTUSB_AUTOSUSPEND
Hans de Goedee7232d12017-11-14 10:15:23 +010035 bool "Enable USB autosuspend for Bluetooth USB devices by default"
Hans de Goedeeff2d682017-11-13 14:44:16 +010036 depends on BT_HCIBTUSB
37 help
38 Say Y here to enable USB autosuspend for Bluetooth USB devices by
39 default.
40
41 This can be overridden by passing btusb.enable_autosuspend=[y|n]
42 on the kernel commandline.
43
Marcel Holtmannc2bfb102015-04-05 22:52:14 -070044config BT_HCIBTUSB_BCM
45 bool "Broadcom protocol support"
46 depends on BT_HCIBTUSB
47 select BT_BCM
48 default y
49 help
50 The Broadcom protocol support enables firmware and patchram
51 download support for Broadcom Bluetooth controllers.
52
53 Say Y here to compile support for Broadcom protocol.
54
Sean Wanga1c49c432019-06-02 08:02:48 +080055config BT_HCIBTUSB_MTK
56 bool "MediaTek protocol support"
57 depends on BT_HCIBTUSB
58 default n
59 help
60 The MediaTek protocol support enables firmware download
61 support and chip initialization for MediaTek Bluetooth
62 USB controllers.
63
64 Say Y here to compile support for MediaTek protocol.
65
Carlo Caionedb33c772015-05-14 10:49:09 +020066config BT_HCIBTUSB_RTL
67 bool "Realtek protocol support"
68 depends on BT_HCIBTUSB
69 select BT_RTL
70 default y
71 help
72 The Realtek protocol support enables firmware and configuration
73 download support for Realtek Bluetooth controllers.
74
75 Say Y here to compile support for Realtek protocol.
76
Marcel Holtmannddbaf132007-10-20 14:02:04 +020077config BT_HCIBTSDIO
78 tristate "HCI SDIO driver"
79 depends on MMC
80 help
81 Bluetooth HCI SDIO driver.
82 This driver is required if you want to use Bluetooth device with
83 SDIO interface.
84
85 Say Y here to compile support for Bluetooth SDIO devices into the
86 kernel or say M to compile it as module (btsdio).
87
Linus Torvalds1da177e2005-04-16 15:20:36 -070088config BT_HCIUART
89 tristate "HCI UART driver"
Arnd Bergmann05e89fb2017-10-11 15:47:54 +020090 depends on SERIAL_DEV_BUS || !SERIAL_DEV_BUS
Arnd Bergmannb71b25f2018-01-02 11:50:30 +010091 depends on NVMEM || !NVMEM
Joe Millenbach4f73bc42013-01-17 22:44:22 -080092 depends on TTY
Linus Torvalds1da177e2005-04-16 15:20:36 -070093 help
94 Bluetooth HCI UART driver.
95 This driver is required if you want to use Bluetooth devices with
Stephan Gabert8ba8b4c2014-06-16 18:52:25 +020096 serial port interface. You will also need this driver if you have
97 UART based Bluetooth PCMCIA and CF devices like Xircom Credit Card
Linus Torvalds1da177e2005-04-16 15:20:36 -070098 adapter and BrainBoxes Bluetooth PC Card.
99
100 Say Y here to compile support for Bluetooth UART devices into the
101 kernel or say M to compile it as module (hci_uart).
102
Arnd Bergmann1fb78fb2017-04-19 19:50:18 +0200103config BT_HCIUART_SERDEV
104 bool
105 depends on SERIAL_DEV_BUS && BT_HCIUART
Arnd Bergmann1fb78fb2017-04-19 19:50:18 +0200106 default y
107
Linus Torvalds1da177e2005-04-16 15:20:36 -0700108config BT_HCIUART_H4
109 bool "UART (H4) protocol support"
110 depends on BT_HCIUART
111 help
Stephan Gabert8ba8b4c2014-06-16 18:52:25 +0200112 UART (H4) is serial protocol for communication between Bluetooth
113 device and host. This protocol is required for most Bluetooth devices
114 with UART interface, including PCMCIA and CF cards.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700115
116 Say Y here to compile support for HCI UART (H4) protocol.
117
Sebastian Reichel7bb31862017-04-13 02:26:59 +0200118config BT_HCIUART_NOKIA
119 tristate "UART Nokia H4+ protocol support"
120 depends on BT_HCIUART
Arnd Bergmann1fb78fb2017-04-19 19:50:18 +0200121 depends on BT_HCIUART_SERDEV
Lukas Wunnera3a446c2018-01-02 20:08:40 +0100122 depends on GPIOLIB
Sebastian Reichel7bb31862017-04-13 02:26:59 +0200123 depends on PM
Tobias Regneryc42c88e2017-05-08 11:39:11 +0200124 select BT_HCIUART_H4
Marcel Holtmann6a485422017-07-22 11:57:47 +0200125 select BT_BCM
Sebastian Reichel7bb31862017-04-13 02:26:59 +0200126 help
127 Nokia H4+ is serial protocol for communication between Bluetooth
128 device and host. This protocol is required for Bluetooth devices
129 with UART interface in Nokia devices.
130
131 Say Y here to compile support for Nokia's H4+ protocol.
132
Linus Torvalds1da177e2005-04-16 15:20:36 -0700133config BT_HCIUART_BCSP
134 bool "BCSP protocol support"
135 depends on BT_HCIUART
Randy Dunlapd3a8eab02008-07-15 00:51:45 -0700136 select BITREVERSE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700137 help
Stephan Gabert8ba8b4c2014-06-16 18:52:25 +0200138 BCSP (BlueCore Serial Protocol) is serial protocol for communication
Linus Torvalds1da177e2005-04-16 15:20:36 -0700139 between Bluetooth device and host. This protocol is required for non
140 USB Bluetooth devices based on CSR BlueCore chip, including PCMCIA and
141 CF cards.
142
143 Say Y here to compile support for HCI BCSP protocol.
144
Suraj Sumangalab3190df2010-07-19 12:34:07 +0530145config BT_HCIUART_ATH3K
146 bool "Atheros AR300x serial support"
147 depends on BT_HCIUART
Marcel Holtmannd90aa682015-04-04 21:59:26 -0700148 select BT_HCIUART_H4
Suraj Sumangalab3190df2010-07-19 12:34:07 +0530149 help
150 HCIATH3K (HCI Atheros AR300x) is a serial protocol for
151 communication between host and Atheros AR300x Bluetooth devices.
152 This protocol enables AR300x chips to be enabled with
153 power management support.
154 Enable this if you have Atheros AR300x serial Bluetooth device.
155
156 Say Y here to compile support for HCI UART ATH3K protocol.
157
Ohad Ben-Cohen166d2f62007-10-20 13:42:36 +0200158config BT_HCIUART_LL
159 bool "HCILL protocol support"
Tobias Regnery76c49692017-05-02 15:15:01 +0200160 depends on BT_HCIUART_SERDEV
Marcel Holtmannf9d7c8f2018-03-24 10:19:52 +0100161 select BT_HCIUART_H4
Ohad Ben-Cohen166d2f62007-10-20 13:42:36 +0200162 help
163 HCILL (HCI Low Level) is a serial protocol for communication
164 between Bluetooth device and host. This protocol is required for
165 serial Bluetooth devices that are based on Texas Instruments'
166 BRF chips.
167
168 Say Y here to compile support for HCILL protocol.
169
Johan Hedberg7dec65c2012-07-16 16:12:02 +0300170config BT_HCIUART_3WIRE
171 bool "Three-wire UART (H5) protocol support"
172 depends on BT_HCIUART
Johan Hedberg6c3711e2018-08-04 23:40:26 +0300173 depends on BT_HCIUART_SERDEV
Johan Hedberg7dec65c2012-07-16 16:12:02 +0300174 help
175 The HCI Three-wire UART Transport Layer makes it possible to
176 user the Bluetooth HCI over a serial port interface. The HCI
177 Three-wire UART Transport Layer assumes that the UART
178 communication may have bit errors, overrun errors or burst
179 errors and thereby making CTS/RTS lines unnecessary.
180
181 Say Y here to compile support for Three-wire UART protocol.
182
Marcel Holtmann16e38872015-04-04 16:13:02 -0700183config BT_HCIUART_INTEL
184 bool "Intel protocol support"
185 depends on BT_HCIUART
Lukas Wunnera3a446c2018-01-02 20:08:40 +0100186 depends on GPIOLIB
Loic Poulainca93cee2015-07-01 12:20:26 +0200187 select BT_HCIUART_H4
Marcel Holtmannbca03c92015-04-06 00:52:14 -0700188 select BT_INTEL
Marcel Holtmann16e38872015-04-04 16:13:02 -0700189 help
190 The Intel protocol support enables Bluetooth HCI over serial
191 port interface for Intel Bluetooth controllers.
192
193 Say Y here to compile support for Intel protocol.
194
Marcel Holtmanne9a2dd22015-04-04 16:13:03 -0700195config BT_HCIUART_BCM
196 bool "Broadcom protocol support"
197 depends on BT_HCIUART
Loic Poulain33cd1492017-08-17 19:59:51 +0200198 depends on BT_HCIUART_SERDEV
Johan Hovold42946252017-10-10 10:01:52 +0200199 depends on (!ACPI || SERIAL_DEV_CTRL_TTYPORT)
Lukas Wunnera3a446c2018-01-02 20:08:40 +0100200 depends on GPIOLIB
Marcel Holtmannbdd88182015-04-05 22:52:18 -0700201 select BT_HCIUART_H4
Marcel Holtmann3e0ac122015-04-05 22:52:12 -0700202 select BT_BCM
Marcel Holtmanne9a2dd22015-04-04 16:13:03 -0700203 help
204 The Broadcom protocol support enables Bluetooth HCI over serial
205 port interface for Broadcom Bluetooth controllers.
206
207 Say Y here to compile support for Broadcom protocol.
208
Marcel Holtmannb9763cd2018-08-09 10:33:07 +0200209config BT_HCIUART_RTL
210 bool "Realtek protocol support"
211 depends on BT_HCIUART
212 depends on BT_HCIUART_SERDEV
213 depends on GPIOLIB
Max Chou848fc612020-02-17 16:14:55 +0800214 depends on (ACPI || SERIAL_DEV_CTRL_TTYPORT)
Marcel Holtmannb9763cd2018-08-09 10:33:07 +0200215 select BT_HCIUART_3WIRE
216 select BT_RTL
217 help
218 The Realtek protocol support enables Bluetooth HCI over 3-Wire
Christophe JAILLETe22998f2020-02-16 12:20:31 +0100219 serial port interface for Realtek Bluetooth controllers.
Marcel Holtmannb9763cd2018-08-09 10:33:07 +0200220
221 Say Y here to compile support for Realtek protocol.
222
Ben Young Tae Kim0ff252c2015-08-10 14:24:17 -0700223config BT_HCIUART_QCA
224 bool "Qualcomm Atheros protocol support"
225 depends on BT_HCIUART
Thierry Escande05ba5332018-03-29 21:15:24 +0200226 depends on BT_HCIUART_SERDEV
Ben Young Tae Kim0ff252c2015-08-10 14:24:17 -0700227 select BT_HCIUART_H4
228 select BT_QCA
229 help
230 The Qualcomm Atheros protocol supports HCI In-Band Sleep feature
231 over serial port interface(H4) between controller and host.
232 This protocol is required for UART clock control for QCA Bluetooth
233 devices.
234
235 Say Y here to compile support for QCA protocol.
236
Loic Poulain395174b2016-02-22 10:48:03 +0100237config BT_HCIUART_AG6XX
238 bool "Intel AG6XX protocol support"
239 depends on BT_HCIUART
240 select BT_HCIUART_H4
241 select BT_INTEL
242 help
243 The Intel/AG6XX protocol support enables Bluetooth HCI over serial
244 port interface for Intel ibt 2.1 Bluetooth controllers.
245
246 Say Y here to compile support for Intel AG6XX protocol.
247
Loic Poulain162f8122016-09-19 16:29:27 +0200248config BT_HCIUART_MRVL
249 bool "Marvell protocol support"
250 depends on BT_HCIUART
Sascha Hauerbe70e5e2019-06-14 09:23:51 +0200251 depends on BT_HCIUART_SERDEV
Loic Poulain162f8122016-09-19 16:29:27 +0200252 select BT_HCIUART_H4
253 help
254 Marvell is serial protocol for communication between Bluetooth
255 device and host. This protocol is required for most Marvell Bluetooth
256 devices with UART interface.
257
258 Say Y here to compile support for HCI MRVL protocol.
259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700260config BT_HCIBCM203X
261 tristate "HCI BCM203x USB driver"
262 depends on USB
263 select FW_LOADER
264 help
265 Bluetooth HCI BCM203x USB driver.
266 This driver provides the firmware loading mechanism for the Broadcom
267 Blutonium based devices.
268
269 Say Y here to compile support for HCI BCM203x devices into the
270 kernel or say M to compile it as module (bcm203x).
271
272config BT_HCIBPA10X
273 tristate "HCI BPA10x USB driver"
Marcel Holtmann07eb96a2018-03-24 10:19:53 +0100274 depends on USB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700275 help
276 Bluetooth HCI BPA10x USB driver.
277 This driver provides support for the Digianswer BPA 100/105 Bluetooth
278 sniffer devices.
279
280 Say Y here to compile support for HCI BPA10x devices into the
281 kernel or say M to compile it as module (bpa10x).
282
283config BT_HCIBFUSB
284 tristate "HCI BlueFRITZ! USB driver"
285 depends on USB
286 select FW_LOADER
287 help
288 Bluetooth HCI BlueFRITZ! USB driver.
289 This driver provides support for Bluetooth USB devices with AVM
290 interface:
291 AVM BlueFRITZ! USB
292
293 Say Y here to compile support for HCI BFUSB devices into the
294 kernel or say M to compile it as module (bfusb).
295
296config BT_HCIDTL1
297 tristate "HCI DTL1 (PC Card) driver"
298 depends on PCMCIA
299 help
300 Bluetooth HCI DTL1 (PC Card) driver.
301 This driver provides support for Bluetooth PCMCIA devices with
302 Nokia DTL1 interface:
303 Nokia Bluetooth Card
304 Socket Bluetooth CF Card
305
306 Say Y here to compile support for HCI DTL1 devices into the
307 kernel or say M to compile it as module (dtl1_cs).
308
309config BT_HCIBT3C
310 tristate "HCI BT3C (PC Card) driver"
311 depends on PCMCIA
312 select FW_LOADER
313 help
314 Bluetooth HCI BT3C (PC Card) driver.
315 This driver provides support for Bluetooth PCMCIA devices with
316 3Com BT3C interface:
317 3Com Bluetooth Card (3CRWB6096)
318 HP Bluetooth Card
319
320 Say Y here to compile support for HCI BT3C devices into the
321 kernel or say M to compile it as module (bt3c_cs).
322
323config BT_HCIBLUECARD
324 tristate "HCI BlueCard (PC Card) driver"
325 depends on PCMCIA
326 help
327 Bluetooth HCI BlueCard (PC Card) driver.
328 This driver provides support for Bluetooth PCMCIA devices with
329 Anycom BlueCard interface:
330 Anycom Bluetooth PC Card
331 Anycom Bluetooth CF Card
332
333 Say Y here to compile support for HCI BlueCard devices into the
334 kernel or say M to compile it as module (bluecard_cs).
335
Linus Torvalds1da177e2005-04-16 15:20:36 -0700336config BT_HCIVHCI
337 tristate "HCI VHCI (Virtual HCI device) driver"
338 help
339 Bluetooth Virtual HCI device driver.
340 This driver is required if you want to use HCI Emulation software.
341
342 Say Y here to compile support for virtual HCI devices into the
343 kernel or say M to compile it as module (hci_vhci).
344
Bing Zhao132ff4e2009-06-02 14:29:35 -0700345config BT_MRVL
346 tristate "Marvell Bluetooth driver support"
Bing Zhao132ff4e2009-06-02 14:29:35 -0700347 help
348 The core driver to support Marvell Bluetooth devices.
349
350 This driver is required if you want to support
Tamás Szűcs736233402019-04-14 20:38:14 +0200351 Marvell Bluetooth devices, such as 8688/8787/8797/8887/8897/8977/8987/8997.
Bing Zhao132ff4e2009-06-02 14:29:35 -0700352
353 Say Y here to compile Marvell Bluetooth driver
354 into the kernel or say M to compile it as module.
355
Bing Zhao789221e2009-06-02 14:29:36 -0700356config BT_MRVL_SDIO
357 tristate "Marvell BT-over-SDIO driver"
358 depends on BT_MRVL && MMC
Marcel Holtmanne7a25f92009-06-09 13:42:54 +0200359 select FW_LOADER
Xinming Hudc759612014-11-24 02:40:53 -0800360 select WANT_DEV_COREDUMP
Bing Zhao789221e2009-06-02 14:29:36 -0700361 help
362 The driver for Marvell Bluetooth chipsets with SDIO interface.
363
364 This driver is required if you want to use Marvell Bluetooth
Tamás Szűcs736233402019-04-14 20:38:14 +0200365 devices with SDIO interface. Currently SD8688/SD8787/SD8797/SD8887/SD8897/SD8977/SD8987/SD8997
Bing Zhao2ac654f2011-11-16 20:40:42 -0800366 chipsets are supported.
Bing Zhao789221e2009-06-02 14:29:36 -0700367
368 Say Y here to compile support for Marvell BT-over-SDIO driver
369 into the kernel or say M to compile it as module.
370
Vikram Kandukuri9670d802010-01-06 19:04:15 +0530371config BT_ATH3K
372 tristate "Atheros firmware download driver"
373 depends on BT_HCIBTUSB
374 select FW_LOADER
375 help
376 Bluetooth firmware download driver.
377 This driver loads the firmware into the Atheros Bluetooth
378 chipset.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700379
Vikram Kandukuri9670d802010-01-06 19:04:15 +0530380 Say Y here to compile support for "Atheros firmware download driver"
381 into the kernel or say M to compile it as module (ath3k).
382
Sean Wang9aebfd42019-03-08 09:15:44 +0800383config BT_MTKSDIO
384 tristate "MediaTek HCI SDIO driver"
385 depends on MMC
386 help
387 MediaTek Bluetooth HCI SDIO driver.
388 This driver is required if you want to use MediaTek Bluetooth
389 with SDIO interface.
390
391 Say Y here to compile support for MediaTek Bluetooth SDIO devices
392 into the kernel or say M to compile it as module (btmtksdio).
393
Sean Wang7237c4c2018-08-08 01:52:48 +0800394config BT_MTKUART
395 tristate "MediaTek HCI UART driver"
396 depends on SERIAL_DEV_BUS
397 help
398 MediaTek Bluetooth HCI UART driver.
399 This driver is required if you want to use MediaTek Bluetooth
400 with serial interface.
401
402 Say Y here to compile support for MediaTek Bluetooth UART devices
403 into the kernel or say M to compile it as module (btmtkuart).
404
Bjorn Andersson1511cc72016-08-12 17:01:28 -0700405config BT_QCOMSMD
406 tristate "Qualcomm SMD based HCI support"
Bjorn Andersson5052de82017-03-27 22:26:33 -0700407 depends on RPMSG || (COMPILE_TEST && RPMSG=n)
Arnd Bergmann6e9e6cc2017-03-20 15:31:10 -0700408 depends on QCOM_WCNSS_CTRL || (COMPILE_TEST && QCOM_WCNSS_CTRL=n)
Bjorn Andersson1511cc72016-08-12 17:01:28 -0700409 select BT_QCA
410 help
411 Qualcomm SMD based HCI driver.
412 This driver is used to bridge HCI data onto the shared memory
413 channels to the WCNSS core.
414
415 Say Y here to compile support for HCI over Qualcomm SMD into the
416 kernel or say M to compile as a module.
417
Prameela Rani Garnepudi38aa4da2018-02-27 19:56:15 +0530418config BT_HCIRSI
Arnd Bergmann255dd5b2018-03-15 22:18:24 +0100419 tristate
Prameela Rani Garnepudi38aa4da2018-02-27 19:56:15 +0530420 help
421 Redpine BT driver.
422 This driver handles BT traffic from upper layers and pass
423 to the RSI_91x coex module for further scheduling to device
424
425 Say Y here to compile support for HCI over Redpine into the
426 kernel or say M to compile as a module.
427
Vikram Kandukuri9670d802010-01-06 19:04:15 +0530428endmenu