Skip to content

Commit c2b636b

Browse files
tedd-anVudentz
authored andcommitted
Bluetooth: btintel_pcie: Add support for PCIe transport
Add initial code to support Intel bluetooth devices based on PCIe transport. Allocate memory for TX & RX buffers, internal structures, initialize interrupts for TX & RX and PCIe device. Signed-off-by: Tedd Ho-Jeong An <[email protected]> Suggested-by: Bjorn Helgaas <[email protected]> Suggested-by: Paul Menzel <[email protected]> Signed-off-by: Kiran K <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent 67d4dba commit c2b636b

File tree

5 files changed

+1495
-1
lines changed

5 files changed

+1495
-1
lines changed

drivers/bluetooth/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,5 +478,16 @@ config BT_NXPUART
478478
Say Y here to compile support for NXP Bluetooth UART device into
479479
the kernel, or say M here to compile as a module (btnxpuart).
480480

481+
config BT_INTEL_PCIE
482+
tristate "Intel HCI PCIe driver"
483+
depends on PCI
484+
select BT_INTEL
485+
select FW_LOADER
486+
help
487+
Intel Bluetooth transport driver for PCIe.
488+
This driver is required if you want to use Intel Bluetooth device
489+
with PCIe interface.
481490

491+
Say Y here to compiler support for Intel Bluetooth PCIe device into
492+
the kernel or say M to compile it as module (btintel_pcie)
482493
endmenu

drivers/bluetooth/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ obj-$(CONFIG_BT_HCIBTUSB) += btusb.o
1717
obj-$(CONFIG_BT_HCIBTSDIO) += btsdio.o
1818

1919
obj-$(CONFIG_BT_INTEL) += btintel.o
20+
obj-$(CONFIG_BT_INTEL_PCIE) += btintel_pcie.o btintel.o
2021
obj-$(CONFIG_BT_ATH3K) += ath3k.o
2122
obj-$(CONFIG_BT_MRVL) += btmrvl.o
2223
obj-$(CONFIG_BT_MRVL_SDIO) += btmrvl_sdio.o

drivers/bluetooth/btintel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ struct btintel_data {
209209
#define btintel_wait_on_flag_timeout(hdev, nr, m, to) \
210210
wait_on_bit_timeout(btintel_get_flag(hdev), (nr), m, to)
211211

212-
#if IS_ENABLED(CONFIG_BT_INTEL)
212+
#if IS_ENABLED(CONFIG_BT_INTEL) || IS_ENABLED(CONFIG_BT_INTEL_PCIE)
213213

214214
int btintel_check_bdaddr(struct hci_dev *hdev);
215215
int btintel_enter_mfg(struct hci_dev *hdev);

0 commit comments

Comments
 (0)