Skip to content

Commit b482941

Browse files
jhedbergmark-inderhees
authored andcommitted
Bluetooth: drivers: Sync bus types with BlueZ
The authoritative source of these values is BlueZ: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/lib/hci.h#n38 Update our values with the above. The IPM definiton doesn't exist in BlueZ, but should be added there to make sure we don't get out of sync again. Signed-off-by: Johan Hedberg <[email protected]>
1 parent d49f1fc commit b482941

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

dts/bindings/bluetooth/bt-hci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ properties:
1919
- "sdio"
2020
- "spi"
2121
- "i2c"
22+
- "smd"
23+
- "virtio"
2224
- "ipm"
2325
bt-hci-quirks:
2426
type: string-array

include/zephyr/drivers/bluetooth.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ enum bt_hci_bus {
6969
BT_HCI_BUS_SDIO = 6,
7070
BT_HCI_BUS_SPI = 7,
7171
BT_HCI_BUS_I2C = 8,
72-
BT_HCI_BUS_IPM = 9,
72+
BT_HCI_BUS_SMD = 9,
73+
BT_HCI_BUS_VIRTIO = 10,
74+
BT_HCI_BUS_IPM = 11,
7375
};
7476

7577
#define BT_DT_HCI_QUIRK_OR(node_id, prop, idx) \

0 commit comments

Comments
 (0)