Skip to contentSkip to conversation

Bluetooth: btbcm: Introduce generic Broadcom Bluetooth support

PATCH In review Marcel Holtmann 2 participants 2 messages Apr 6, 2015 Bluetooth drivers

lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH v2 1/10 Bluetooth: btbcm: Introduce generic Broadcom Bluetooth support

The majority of Broadcom Bluetooth vendor commands are shared between USB and UART transports. This creates a separate module that eventually will hold all Broadcom specific commands, but for now just start with the commands to change the Bluetooth public address and check for the default address.

---
 drivers/bluetooth/Kconfig  |  3 ++
 drivers/bluetooth/Makefile |  1 +
 drivers/bluetooth/btbcm.c  | 99 ++++++++++++++++++++++++++++++++++++++++++++++
 drivers/bluetooth/btbcm.h  | 41 +++++++++++++++++++
 4 files changed, 144 insertions(+)
 create mode 100644 drivers/bluetooth/btbcm.c
 create mode 100644 drivers/bluetooth/btbcm.h
drivers/bluetooth/Kconfig +3 -0
index f8a41975c30d..4fbe067cd33a 100644
@@ -2,6 +2,9 @@
 menu "Bluetooth device drivers"
 	depends on BT
 
+config BT_BCM
+	tristate
+
 config BT_HCIBTUSB
 	tristate "HCI USB driver"
 	depends on USB
drivers/bluetooth/Makefile +1 -0
index 51f9d0c18963..51c98546fa03 100644
@@ -19,6 +19,7 @@ obj-$(CONFIG_BT_ATH3K)		+= ath3k.o
 obj-$(CONFIG_BT_MRVL)		+= btmrvl.o
 obj-$(CONFIG_BT_MRVL_SDIO)	+= btmrvl_sdio.o
 obj-$(CONFIG_BT_WILINK)		+= btwilink.o
+obj-$(CONFIG_BT_BCM)		+= btbcm.o
 
 btmrvl-y			:= btmrvl_main.o
 btmrvl-$(CONFIG_DEBUG_FS)	+= btmrvl_debugfs.o
drivers/bluetooth/btbcm.c new file +99 -0

99 lines not on this page · raw message

drivers/bluetooth/btbcm.h new file +41 -0

41 lines not on this page · raw message

Signature · 1 line
2.1.0
#1 lore raw

Hi Marcel,

Quoted 7 lines · Marcel Holtmann

The majority of Broadcom Bluetooth vendor commands are shared between USB and UART transports. This creates a separate module that eventually will hold all Broadcom specific commands, but for now just start with the commands to change the Bluetooth public address and check for the default address.

Quoted 8 lines
---
 drivers/bluetooth/Kconfig  |  3 ++
 drivers/bluetooth/Makefile |  1 +
 drivers/bluetooth/btbcm.c  | 99 ++++++++++++++++++++++++++++++++++++++++++++++
 drivers/bluetooth/btbcm.h  | 41 +++++++++++++++++++
 4 files changed, 144 insertions(+)
 create mode 100644 drivers/bluetooth/btbcm.c
 create mode 100644 drivers/bluetooth/btbcm.h

All 10 patches have been applied to bluetooth-next. Thanks.

Johan