Kconfig 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  1. # SPDX-License-Identifier: GPL-2.0
  2. menu "Bluetooth device drivers"
  3. depends on BT
  4. config BT_INTEL
  5. tristate
  6. select REGMAP
  7. config BT_BCM
  8. tristate
  9. select FW_LOADER
  10. config BT_RTL
  11. tristate
  12. select FW_LOADER
  13. config BT_QCA
  14. tristate
  15. select FW_LOADER
  16. config BT_MTK
  17. tristate
  18. select FW_LOADER
  19. config BT_HCIBTUSB
  20. tristate "HCI USB driver"
  21. depends on USB
  22. select BT_INTEL
  23. help
  24. Bluetooth HCI USB driver.
  25. This driver is required if you want to use Bluetooth devices with
  26. USB interface.
  27. Say Y here to compile support for Bluetooth USB devices into the
  28. kernel or say M to compile it as module (btusb).
  29. config BT_HCIBTUSB_AUTOSUSPEND
  30. bool "Enable USB autosuspend for Bluetooth USB devices by default"
  31. depends on BT_HCIBTUSB
  32. help
  33. Say Y here to enable USB autosuspend for Bluetooth USB devices by
  34. default.
  35. This can be overridden by passing btusb.enable_autosuspend=[y|n]
  36. on the kernel commandline.
  37. config BT_HCIBTUSB_POLL_SYNC
  38. bool "Enable USB poll_sync for Bluetooth USB devices by default"
  39. depends on BT_HCIBTUSB
  40. default y
  41. help
  42. poll_sync synchronizes the USB data and event endpoints by
  43. prioritizing the later.
  44. Say Y here to enable USB poll_sync for Bluetooth USB devices by
  45. default.
  46. config BT_HCIBTUSB_BCM
  47. bool "Broadcom protocol support"
  48. depends on BT_HCIBTUSB
  49. select BT_BCM
  50. default y
  51. help
  52. The Broadcom protocol support enables firmware and patchram
  53. download support for Broadcom Bluetooth controllers.
  54. Say Y here to compile support for Broadcom protocol.
  55. config BT_HCIBTUSB_MTK
  56. bool "MediaTek protocol support"
  57. depends on BT_HCIBTUSB
  58. select BT_MTK
  59. default n
  60. help
  61. The MediaTek protocol support enables firmware download
  62. support and chip initialization for MediaTek Bluetooth
  63. USB controllers.
  64. Say Y here to compile support for MediaTek protocol.
  65. config BT_HCIBTUSB_RTL
  66. bool "Realtek protocol support"
  67. depends on BT_HCIBTUSB
  68. select BT_RTL
  69. default y
  70. help
  71. The Realtek protocol support enables firmware and configuration
  72. download support for Realtek Bluetooth controllers.
  73. Say Y here to compile support for Realtek protocol.
  74. config BT_HCIBTSDIO
  75. tristate "HCI SDIO driver"
  76. depends on MMC
  77. help
  78. Bluetooth HCI SDIO driver.
  79. This driver is required if you want to use Bluetooth device with
  80. SDIO interface.
  81. Say Y here to compile support for Bluetooth SDIO devices into the
  82. kernel or say M to compile it as module (btsdio).
  83. config BT_HCIUART
  84. tristate "HCI UART driver"
  85. depends on SERIAL_DEV_BUS || !SERIAL_DEV_BUS
  86. depends on NVMEM || !NVMEM
  87. depends on POWER_SEQUENCING || !POWER_SEQUENCING
  88. depends on TTY
  89. help
  90. Bluetooth HCI UART driver.
  91. This driver is required if you want to use Bluetooth devices with
  92. serial port interface. You will also need this driver if you have
  93. UART based Bluetooth PCMCIA and CF devices like Xircom Credit Card
  94. adapter and BrainBoxes Bluetooth PC Card.
  95. Say Y here to compile support for Bluetooth UART devices into the
  96. kernel or say M to compile it as module (hci_uart).
  97. config BT_HCIUART_SERDEV
  98. bool
  99. depends on SERIAL_DEV_BUS && BT_HCIUART
  100. default y
  101. config BT_HCIUART_H4
  102. bool "UART (H4) protocol support"
  103. depends on BT_HCIUART
  104. help
  105. UART (H4) is serial protocol for communication between Bluetooth
  106. device and host. This protocol is required for most Bluetooth devices
  107. with UART interface, including PCMCIA and CF cards.
  108. Say Y here to compile support for HCI UART (H4) protocol.
  109. config BT_HCIUART_NOKIA
  110. tristate "UART Nokia H4+ protocol support"
  111. depends on BT_HCIUART
  112. depends on BT_HCIUART_SERDEV
  113. depends on GPIOLIB
  114. depends on PM
  115. select BT_HCIUART_H4
  116. select BT_BCM
  117. help
  118. Nokia H4+ is serial protocol for communication between Bluetooth
  119. device and host. This protocol is required for Bluetooth devices
  120. with UART interface in Nokia devices.
  121. Say Y here to compile support for Nokia's H4+ protocol.
  122. config BT_HCIUART_BCSP
  123. bool "BCSP protocol support"
  124. depends on BT_HCIUART
  125. select BITREVERSE
  126. help
  127. BCSP (BlueCore Serial Protocol) is serial protocol for communication
  128. between Bluetooth device and host. This protocol is required for non
  129. USB Bluetooth devices based on CSR BlueCore chip, including PCMCIA and
  130. CF cards.
  131. Say Y here to compile support for HCI BCSP protocol.
  132. config BT_HCIUART_ATH3K
  133. bool "Atheros AR300x serial support"
  134. depends on BT_HCIUART
  135. select BT_HCIUART_H4
  136. help
  137. HCIATH3K (HCI Atheros AR300x) is a serial protocol for
  138. communication between host and Atheros AR300x Bluetooth devices.
  139. This protocol enables AR300x chips to be enabled with
  140. power management support.
  141. Enable this if you have Atheros AR300x serial Bluetooth device.
  142. Say Y here to compile support for HCI UART ATH3K protocol.
  143. config BT_HCIUART_LL
  144. bool "HCILL protocol support"
  145. depends on BT_HCIUART_SERDEV
  146. select BT_HCIUART_H4
  147. help
  148. HCILL (HCI Low Level) is a serial protocol for communication
  149. between Bluetooth device and host. This protocol is required for
  150. serial Bluetooth devices that are based on Texas Instruments'
  151. BRF chips.
  152. Say Y here to compile support for HCILL protocol.
  153. config BT_HCIUART_3WIRE
  154. bool "Three-wire UART (H5) protocol support"
  155. depends on BT_HCIUART
  156. depends on BT_HCIUART_SERDEV
  157. help
  158. The HCI Three-wire UART Transport Layer makes it possible to
  159. user the Bluetooth HCI over a serial port interface. The HCI
  160. Three-wire UART Transport Layer assumes that the UART
  161. communication may have bit errors, overrun errors or burst
  162. errors and thereby making CTS/RTS lines unnecessary.
  163. Say Y here to compile support for Three-wire UART protocol.
  164. config BT_HCIUART_INTEL
  165. bool "Intel protocol support"
  166. depends on BT_HCIUART
  167. depends on GPIOLIB
  168. select BT_HCIUART_H4
  169. select BT_INTEL
  170. help
  171. The Intel protocol support enables Bluetooth HCI over serial
  172. port interface for Intel Bluetooth controllers.
  173. Say Y here to compile support for Intel protocol.
  174. config BT_HCIUART_BCM
  175. bool "Broadcom protocol support"
  176. depends on BT_HCIUART
  177. depends on BT_HCIUART_SERDEV
  178. depends on (!ACPI || SERIAL_DEV_CTRL_TTYPORT)
  179. depends on GPIOLIB
  180. select BT_HCIUART_H4
  181. select BT_BCM
  182. help
  183. The Broadcom protocol support enables Bluetooth HCI over serial
  184. port interface for Broadcom Bluetooth controllers.
  185. Say Y here to compile support for Broadcom protocol.
  186. config BT_HCIUART_RTL
  187. bool "Realtek protocol support"
  188. depends on BT_HCIUART
  189. depends on BT_HCIUART_SERDEV
  190. depends on GPIOLIB
  191. depends on (ACPI || SERIAL_DEV_CTRL_TTYPORT)
  192. select BT_HCIUART_3WIRE
  193. select BT_RTL
  194. help
  195. The Realtek protocol support enables Bluetooth HCI over 3-Wire
  196. serial port interface for Realtek Bluetooth controllers.
  197. Say Y here to compile support for Realtek protocol.
  198. config BT_HCIUART_QCA
  199. bool "Qualcomm Atheros protocol support"
  200. depends on BT_HCIUART
  201. depends on BT_HCIUART_SERDEV
  202. select BT_HCIUART_H4
  203. select BT_QCA
  204. help
  205. The Qualcomm Atheros protocol supports HCI In-Band Sleep feature
  206. over serial port interface(H4) between controller and host.
  207. This protocol is required for UART clock control for QCA Bluetooth
  208. devices.
  209. Say Y here to compile support for QCA protocol.
  210. config BT_HCIUART_AG6XX
  211. bool "Intel AG6XX protocol support"
  212. depends on BT_HCIUART
  213. select BT_HCIUART_H4
  214. select BT_INTEL
  215. help
  216. The Intel/AG6XX protocol support enables Bluetooth HCI over serial
  217. port interface for Intel ibt 2.1 Bluetooth controllers.
  218. Say Y here to compile support for Intel AG6XX protocol.
  219. config BT_HCIUART_MRVL
  220. bool "Marvell protocol support"
  221. depends on BT_HCIUART
  222. depends on BT_HCIUART_SERDEV
  223. select BT_HCIUART_H4
  224. help
  225. Marvell is serial protocol for communication between Bluetooth
  226. device and host. This protocol is required for most Marvell Bluetooth
  227. devices with UART interface.
  228. Say Y here to compile support for HCI MRVL protocol.
  229. config BT_HCIUART_AML
  230. bool "Amlogic protocol support"
  231. depends on BT_HCIUART
  232. depends on BT_HCIUART_SERDEV
  233. select BT_HCIUART_H4
  234. select FW_LOADER
  235. help
  236. The Amlogic protocol support enables Bluetooth HCI over serial
  237. port interface for Amlogic Bluetooth controllers.
  238. Say Y here to compile support for HCI AML protocol.
  239. config BT_HCIBCM203X
  240. tristate "HCI BCM203x USB driver"
  241. depends on USB
  242. select FW_LOADER
  243. help
  244. Bluetooth HCI BCM203x USB driver.
  245. This driver provides the firmware loading mechanism for the Broadcom
  246. Blutonium based devices.
  247. Say Y here to compile support for HCI BCM203x devices into the
  248. kernel or say M to compile it as module (bcm203x).
  249. config BT_HCIBCM4377
  250. tristate "HCI BCM4377/4378/4387/4388 PCIe driver"
  251. depends on PCI
  252. select FW_LOADER
  253. help
  254. Support for Broadcom BCM4377/4378/4387/4388 Bluetooth chipsets
  255. attached via PCIe. These are usually found in Apple machines.
  256. Say Y here to compile support for HCI BCM4377 family devices into the
  257. kernel or say M to compile it as module (hci_bcm4377).
  258. config BT_HCIBPA10X
  259. tristate "HCI BPA10x USB driver"
  260. depends on USB
  261. help
  262. Bluetooth HCI BPA10x USB driver.
  263. This driver provides support for the Digianswer BPA 100/105 Bluetooth
  264. sniffer devices.
  265. Say Y here to compile support for HCI BPA10x devices into the
  266. kernel or say M to compile it as module (bpa10x).
  267. config BT_HCIBFUSB
  268. tristate "HCI BlueFRITZ! USB driver"
  269. depends on USB
  270. select FW_LOADER
  271. help
  272. Bluetooth HCI BlueFRITZ! USB driver.
  273. This driver provides support for Bluetooth USB devices with AVM
  274. interface:
  275. AVM BlueFRITZ! USB
  276. Say Y here to compile support for HCI BFUSB devices into the
  277. kernel or say M to compile it as module (bfusb).
  278. config BT_HCIDTL1
  279. tristate "HCI DTL1 (PC Card) driver"
  280. depends on PCMCIA
  281. help
  282. Bluetooth HCI DTL1 (PC Card) driver.
  283. This driver provides support for Bluetooth PCMCIA devices with
  284. Nokia DTL1 interface:
  285. Nokia Bluetooth Card
  286. Socket Bluetooth CF Card
  287. Say Y here to compile support for HCI DTL1 devices into the
  288. kernel or say M to compile it as module (dtl1_cs).
  289. config BT_HCIBT3C
  290. tristate "HCI BT3C (PC Card) driver"
  291. depends on PCMCIA
  292. select FW_LOADER
  293. help
  294. Bluetooth HCI BT3C (PC Card) driver.
  295. This driver provides support for Bluetooth PCMCIA devices with
  296. 3Com BT3C interface:
  297. 3Com Bluetooth Card (3CRWB6096)
  298. HP Bluetooth Card
  299. Say Y here to compile support for HCI BT3C devices into the
  300. kernel or say M to compile it as module (bt3c_cs).
  301. config BT_HCIBLUECARD
  302. tristate "HCI BlueCard (PC Card) driver"
  303. depends on PCMCIA
  304. help
  305. Bluetooth HCI BlueCard (PC Card) driver.
  306. This driver provides support for Bluetooth PCMCIA devices with
  307. Anycom BlueCard interface:
  308. Anycom Bluetooth PC Card
  309. Anycom Bluetooth CF Card
  310. Say Y here to compile support for HCI BlueCard devices into the
  311. kernel or say M to compile it as module (bluecard_cs).
  312. config BT_HCIVHCI
  313. tristate "HCI VHCI (Virtual HCI device) driver"
  314. select WANT_DEV_COREDUMP
  315. help
  316. Bluetooth Virtual HCI device driver.
  317. This driver is required if you want to use HCI Emulation software.
  318. Say Y here to compile support for virtual HCI devices into the
  319. kernel or say M to compile it as module (hci_vhci).
  320. config BT_MRVL
  321. tristate "Marvell Bluetooth driver support"
  322. help
  323. The core driver to support Marvell Bluetooth devices.
  324. This driver is required if you want to support
  325. Marvell Bluetooth devices, such as 8688/8787/8797/8887/8897/8977/8987/8997.
  326. Say Y here to compile Marvell Bluetooth driver
  327. into the kernel or say M to compile it as module.
  328. config BT_MRVL_SDIO
  329. tristate "Marvell BT-over-SDIO driver"
  330. depends on BT_MRVL && MMC
  331. select FW_LOADER
  332. select WANT_DEV_COREDUMP
  333. help
  334. The driver for Marvell Bluetooth chipsets with SDIO interface.
  335. This driver is required if you want to use Marvell Bluetooth
  336. devices with SDIO interface. Currently SD8688/SD8787/SD8797/SD8887/SD8897/SD8977/SD8987/SD8997
  337. chipsets are supported.
  338. Say Y here to compile support for Marvell BT-over-SDIO driver
  339. into the kernel or say M to compile it as module.
  340. config BT_ATH3K
  341. tristate "Atheros firmware download driver"
  342. depends on BT_HCIBTUSB
  343. select FW_LOADER
  344. help
  345. Bluetooth firmware download driver.
  346. This driver loads the firmware into the Atheros Bluetooth
  347. chipset.
  348. Say Y here to compile support for "Atheros firmware download driver"
  349. into the kernel or say M to compile it as module (ath3k).
  350. config BT_MTKSDIO
  351. tristate "MediaTek HCI SDIO driver"
  352. depends on MMC
  353. depends on USB || !BT_HCIBTUSB_MTK
  354. select BT_MTK
  355. help
  356. MediaTek Bluetooth HCI SDIO driver.
  357. This driver is required if you want to use MediaTek Bluetooth
  358. with SDIO interface.
  359. Say Y here to compile support for MediaTek Bluetooth SDIO devices
  360. into the kernel or say M to compile it as module (btmtksdio).
  361. config BT_MTKUART
  362. tristate "MediaTek HCI UART driver"
  363. depends on SERIAL_DEV_BUS
  364. depends on USB || !BT_HCIBTUSB_MTK
  365. select BT_MTK
  366. help
  367. MediaTek Bluetooth HCI UART driver.
  368. This driver is required if you want to use MediaTek Bluetooth
  369. with serial interface.
  370. Say Y here to compile support for MediaTek Bluetooth UART devices
  371. into the kernel or say M to compile it as module (btmtkuart).
  372. config BT_QCOMSMD
  373. tristate "Qualcomm SMD based HCI support"
  374. depends on RPMSG || (COMPILE_TEST && RPMSG=n)
  375. depends on QCOM_WCNSS_CTRL || (COMPILE_TEST && QCOM_WCNSS_CTRL=n)
  376. select BT_QCA
  377. help
  378. Qualcomm SMD based HCI driver.
  379. This driver is used to bridge HCI data onto the shared memory
  380. channels to the WCNSS core.
  381. Say Y here to compile support for HCI over Qualcomm SMD into the
  382. kernel or say M to compile as a module.
  383. config BT_HCIRSI
  384. tristate
  385. help
  386. Redpine BT driver.
  387. This driver handles BT traffic from upper layers and pass
  388. to the RSI_91x coex module for further scheduling to device
  389. Say Y here to compile support for HCI over Redpine into the
  390. kernel or say M to compile as a module.
  391. config BT_VIRTIO
  392. tristate "Virtio Bluetooth driver"
  393. depends on VIRTIO
  394. help
  395. Virtio Bluetooth support driver.
  396. This driver supports Virtio Bluetooth devices.
  397. Say Y here to compile support for HCI over Virtio into the
  398. kernel or say M to compile as a module.
  399. config BT_NXPUART
  400. tristate "NXP protocol support"
  401. depends on SERIAL_DEV_BUS
  402. select CRC32
  403. select CRC8
  404. help
  405. NXP is serial driver required for NXP Bluetooth
  406. devices with UART interface.
  407. Say Y here to compile support for NXP Bluetooth UART device into
  408. the kernel, or say M here to compile as a module (btnxpuart).
  409. config BT_INTEL_PCIE
  410. tristate "Intel HCI PCIe driver"
  411. depends on PCI
  412. select BT_INTEL
  413. select FW_LOADER
  414. help
  415. Intel Bluetooth transport driver for PCIe.
  416. This driver is required if you want to use Intel Bluetooth device
  417. with PCIe interface.
  418. Say Y here to compiler support for Intel Bluetooth PCIe device into
  419. the kernel or say M to compile it as module (btintel_pcie)
  420. endmenu