Skip to contentSkip to conversation

Bluetooth: Add defines for SPI, I2C & local HCI bus types

PATCH In review Johan Hedberg 1 participant 2 messages Apr 22, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Bluetooth: Add defines for SPI, I2C & local HCI bus types

From: Johan Hedberg <[email protected]>

Extend the set of possible HCI bus types with SPI, I2C and local. A local bus means that the controller is part of the same address space/CPU as the host and doesn't have a physical HCI transport as such.

---
 include/net/bluetooth/hci.h | 3 +++
 1 file changed, 3 insertions(+)
include/net/bluetooth/hci.h +3 -0
index 5d38d980b89d..b3024f4090e8 100644
@@ -61,6 +61,9 @@
 #define HCI_RS232	4
 #define HCI_PCI		5
 #define HCI_SDIO	6
+#define HCI_SPI		7
+#define HCI_I2C		8
+#define HCI_LOCAL	9
 
 /* HCI controller types */
 #define HCI_BREDR	0x00
Signature · 1 line
2.5.5
#1 lore raw

Hi,

Quoted 15 lines · Johan Hedberg

Extend the set of possible HCI bus types with SPI, I2C and local. A local bus means that the controller is part of the same address space/CPU as the host and doesn't have a physical HCI transport as such.

---
 include/net/bluetooth/hci.h | 3 +++
 1 file changed, 3 insertions(+)
include/net/bluetooth/hci.h +0 -0
index 5d38d980b89d..b3024f4090e8 100644

include/net/bluetooth/hci.h line 66

Quoted 6 lines
include/net/bluetooth/hci.h +3 -0
@@ -61,6 +61,9 @@
 #define HCI_RS232	4
 #define HCI_PCI		5
 #define HCI_SDIO	6
+#define HCI_SPI		7
+#define HCI_I2C		8
+#define HCI_LOCAL	9

v2 sent. Decided to drop 'local' for now and use use 'virtual' for that.

Johan