Kconfig 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  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. select CRC_CCITT
  158. help
  159. The HCI Three-wire UART Transport Layer makes it possible to
  160. user the Bluetooth HCI over a serial port interface. The HCI
  161. Three-wire UART Transport Layer assumes that the UART
  162. communication may have bit errors, overrun errors or burst
  163. errors and thereby making CTS/RTS lines unnecessary.
  164. Say Y here to compile support for Three-wire UART protocol.
  165. config BT_HCIUART_INTEL
  166. bool "Intel protocol support"
  167. depends on BT_HCIUART
  168. depends on GPIOLIB
  169. select BT_HCIUART_H4
  170. select BT_INTEL
  171. help
  172. The Intel protocol support enables Bluetooth HCI over serial
  173. port interface for Intel Bluetooth controllers.
  174. Say Y here to compile support for Intel protocol.
  175. config BT_HCIUART_BCM
  176. bool "Broadcom protocol support"
  177. depends on BT_HCIUART
  178. depends on BT_HCIUART_SERDEV
  179. depends on (!ACPI || SERIAL_DEV_CTRL_TTYPORT)
  180. depends on GPIOLIB
  181. select BT_HCIUART_H4
  182. select BT_BCM
  183. help
  184. The Broadcom protocol support enables Bluetooth HCI over serial
  185. port interface for Broadcom Bluetooth controllers.
  186. Say Y here to compile support for Broadcom protocol.
  187. config BT_HCIUART_RTL
  188. bool "Realtek protocol support"
  189. depends on BT_HCIUART
  190. depends on BT_HCIUART_SERDEV
  191. depends on GPIOLIB
  192. depends on (ACPI || SERIAL_DEV_CTRL_TTYPORT)
  193. select BT_HCIUART_3WIRE
  194. select BT_RTL
  195. help
  196. The Realtek protocol support enables Bluetooth HCI over 3-Wire
  197. serial port interface for Realtek Bluetooth controllers.
  198. Say Y here to compile support for Realtek protocol.
  199. config BT_HCIUART_QCA
  200. bool "Qualcomm Atheros protocol support"
  201. depends on BT_HCIUART
  202. depends on BT_HCIUART_SERDEV
  203. select BT_HCIUART_H4
  204. select BT_QCA
  205. help
  206. The Qualcomm Atheros protocol supports HCI In-Band Sleep feature
  207. over serial port interface(H4) between controller and host.
  208. This protocol is required for UART clock control for QCA Bluetooth
  209. devices.
  210. Say Y here to compile support for QCA protocol.
  211. config BT_HCIUART_AG6XX
  212. bool "Intel AG6XX protocol support"
  213. depends on BT_HCIUART
  214. select BT_HCIUART_H4
  215. select BT_INTEL
  216. help
  217. The Intel/AG6XX protocol support enables Bluetooth HCI over serial
  218. port interface for Intel ibt 2.1 Bluetooth controllers.
  219. Say Y here to compile support for Intel AG6XX protocol.
  220. config BT_HCIUART_MRVL
  221. bool "Marvell protocol support"
  222. depends on BT_HCIUART
  223. depends on BT_HCIUART_SERDEV
  224. select BT_HCIUART_H4
  225. help
  226. Marvell is serial protocol for communication between Bluetooth
  227. device and host. This protocol is required for most Marvell Bluetooth
  228. devices with UART interface.
  229. Say Y here to compile support for HCI MRVL protocol.
  230. config BT_HCIUART_AML
  231. bool "Amlogic protocol support"
  232. depends on BT_HCIUART
  233. depends on BT_HCIUART_SERDEV
  234. select BT_HCIUART_H4
  235. select FW_LOADER
  236. help
  237. The Amlogic protocol support enables Bluetooth HCI over serial
  238. port interface for Amlogic Bluetooth controllers.
  239. Say Y here to compile support for HCI AML protocol.
  240. config BT_HCIBCM203X
  241. tristate "HCI BCM203x USB driver"
  242. depends on USB
  243. select FW_LOADER
  244. help
  245. Bluetooth HCI BCM203x USB driver.
  246. This driver provides the firmware loading mechanism for the Broadcom
  247. Blutonium based devices.
  248. Say Y here to compile support for HCI BCM203x devices into the
  249. kernel or say M to compile it as module (bcm203x).
  250. config BT_HCIBCM4377
  251. tristate "HCI BCM4377/4378/4387/4388 PCIe driver"
  252. depends on PCI
  253. select FW_LOADER
  254. help
  255. Support for Broadcom BCM4377/4378/4387/4388 Bluetooth chipsets
  256. attached via PCIe. These are usually found in Apple machines.
  257. Say Y here to compile support for HCI BCM4377 family devices into the
  258. kernel or say M to compile it as module (hci_bcm4377).
  259. config BT_HCIBPA10X
  260. tristate "HCI BPA10x USB driver"
  261. depends on BT_HCIUART
  262. depends on USB
  263. select BT_HCIUART_H4
  264. help
  265. Bluetooth HCI BPA10x USB driver.
  266. This driver provides support for the Digianswer BPA 100/105 Bluetooth
  267. sniffer devices.
  268. Say Y here to compile support for HCI BPA10x devices into the
  269. kernel or say M to compile it as module (bpa10x).
  270. config BT_HCIBFUSB
  271. tristate "HCI BlueFRITZ! USB driver"
  272. depends on USB
  273. select FW_LOADER
  274. help
  275. Bluetooth HCI BlueFRITZ! USB driver.
  276. This driver provides support for Bluetooth USB devices with AVM
  277. interface:
  278. AVM BlueFRITZ! USB
  279. Say Y here to compile support for HCI BFUSB devices into the
  280. kernel or say M to compile it as module (bfusb).
  281. config BT_HCIDTL1
  282. tristate "HCI DTL1 (PC Card) driver"
  283. depends on PCMCIA && HAS_IOPORT
  284. help
  285. Bluetooth HCI DTL1 (PC Card) driver.
  286. This driver provides support for Bluetooth PCMCIA devices with
  287. Nokia DTL1 interface:
  288. Nokia Bluetooth Card
  289. Socket Bluetooth CF Card
  290. Say Y here to compile support for HCI DTL1 devices into the
  291. kernel or say M to compile it as module (dtl1_cs).
  292. config BT_HCIBT3C
  293. tristate "HCI BT3C (PC Card) driver"
  294. depends on PCMCIA && HAS_IOPORT
  295. select FW_LOADER
  296. help
  297. Bluetooth HCI BT3C (PC Card) driver.
  298. This driver provides support for Bluetooth PCMCIA devices with
  299. 3Com BT3C interface:
  300. 3Com Bluetooth Card (3CRWB6096)
  301. HP Bluetooth Card
  302. Say Y here to compile support for HCI BT3C devices into the
  303. kernel or say M to compile it as module (bt3c_cs).
  304. config BT_HCIBLUECARD
  305. tristate "HCI BlueCard (PC Card) driver"
  306. depends on PCMCIA && HAS_IOPORT
  307. help
  308. Bluetooth HCI BlueCard (PC Card) driver.
  309. This driver provides support for Bluetooth PCMCIA devices with
  310. Anycom BlueCard interface:
  311. Anycom Bluetooth PC Card
  312. Anycom Bluetooth CF Card
  313. Say Y here to compile support for HCI BlueCard devices into the
  314. kernel or say M to compile it as module (bluecard_cs).
  315. config BT_HCIVHCI
  316. tristate "HCI VHCI (Virtual HCI device) driver"
  317. select WANT_DEV_COREDUMP
  318. help
  319. Bluetooth Virtual HCI device driver.
  320. This driver is required if you want to use HCI Emulation software.
  321. Say Y here to compile support for virtual HCI devices into the
  322. kernel or say M to compile it as module (hci_vhci).
  323. config BT_MRVL
  324. tristate "Marvell Bluetooth driver support"
  325. help
  326. The core driver to support Marvell Bluetooth devices.
  327. This driver is required if you want to support
  328. Marvell Bluetooth devices, such as 8688/8787/8797/8887/8897/8977/8987/8997.
  329. Say Y here to compile Marvell Bluetooth driver
  330. into the kernel or say M to compile it as module.
  331. config BT_MRVL_SDIO
  332. tristate "Marvell BT-over-SDIO driver"
  333. depends on BT_MRVL && MMC
  334. select FW_LOADER
  335. select WANT_DEV_COREDUMP
  336. help
  337. The driver for Marvell Bluetooth chipsets with SDIO interface.
  338. This driver is required if you want to use Marvell Bluetooth
  339. devices with SDIO interface. Currently SD8688/SD8787/SD8797/SD8887/SD8897/SD8977/SD8987/SD8997
  340. chipsets are supported.
  341. Say Y here to compile support for Marvell BT-over-SDIO driver
  342. into the kernel or say M to compile it as module.
  343. config BT_ATH3K
  344. tristate "Atheros firmware download driver"
  345. depends on BT_HCIBTUSB
  346. select FW_LOADER
  347. help
  348. Bluetooth firmware download driver.
  349. This driver loads the firmware into the Atheros Bluetooth
  350. chipset.
  351. Say Y here to compile support for "Atheros firmware download driver"
  352. into the kernel or say M to compile it as module (ath3k).
  353. config BT_MTKSDIO
  354. tristate "MediaTek HCI SDIO driver"
  355. depends on MMC
  356. depends on USB || !BT_HCIBTUSB_MTK
  357. select BT_MTK
  358. help
  359. MediaTek Bluetooth HCI SDIO driver.
  360. This driver is required if you want to use MediaTek Bluetooth
  361. with SDIO interface.
  362. Say Y here to compile support for MediaTek Bluetooth SDIO devices
  363. into the kernel or say M to compile it as module (btmtksdio).
  364. config BT_MTKUART
  365. tristate "MediaTek HCI UART driver"
  366. depends on BT_HCIUART
  367. depends on SERIAL_DEV_BUS
  368. depends on USB || !BT_HCIBTUSB_MTK
  369. select BT_HCIUART_H4
  370. select BT_MTK
  371. help
  372. MediaTek Bluetooth HCI UART driver.
  373. This driver is required if you want to use MediaTek Bluetooth
  374. with serial interface.
  375. Say Y here to compile support for MediaTek Bluetooth UART devices
  376. into the kernel or say M to compile it as module (btmtkuart).
  377. config BT_QCOMSMD
  378. tristate "Qualcomm SMD based HCI support"
  379. depends on RPMSG || (COMPILE_TEST && RPMSG=n)
  380. depends on QCOM_WCNSS_CTRL || (COMPILE_TEST && QCOM_WCNSS_CTRL=n)
  381. select BT_QCA
  382. help
  383. Qualcomm SMD based HCI driver.
  384. This driver is used to bridge HCI data onto the shared memory
  385. channels to the WCNSS core.
  386. Say Y here to compile support for HCI over Qualcomm SMD into the
  387. kernel or say M to compile as a module.
  388. config BT_HCIRSI
  389. tristate
  390. help
  391. Redpine BT driver.
  392. This driver handles BT traffic from upper layers and pass
  393. to the RSI_91x coex module for further scheduling to device
  394. Say Y here to compile support for HCI over Redpine into the
  395. kernel or say M to compile as a module.
  396. config BT_VIRTIO
  397. tristate "Virtio Bluetooth driver"
  398. depends on VIRTIO
  399. help
  400. Virtio Bluetooth support driver.
  401. This driver supports Virtio Bluetooth devices.
  402. Say Y here to compile support for HCI over Virtio into the
  403. kernel or say M to compile as a module.
  404. config BT_NXPUART
  405. tristate "NXP protocol support"
  406. depends on BT_HCIUART
  407. depends on SERIAL_DEV_BUS
  408. select BT_HCIUART_H4
  409. select CRC32
  410. select CRC8
  411. help
  412. NXP is serial driver required for NXP Bluetooth
  413. devices with UART interface.
  414. Say Y here to compile support for NXP Bluetooth UART device into
  415. the kernel, or say M here to compile as a module (btnxpuart).
  416. config BT_INTEL_PCIE
  417. tristate "Intel HCI PCIe driver"
  418. depends on PCI
  419. select BT_INTEL
  420. select FW_LOADER
  421. help
  422. Intel Bluetooth transport driver for PCIe.
  423. This driver is required if you want to use Intel Bluetooth device
  424. with PCIe interface.
  425. Say Y here to compiler support for Intel Bluetooth PCIe device into
  426. the kernel or say M to compile it as module (btintel_pcie)
  427. endmenu