diff mbox series

[v1,1/3] hciattach: Add BCM43xx 3-wire variant

Message ID 20201218190609.107898-2-dave.jones@canonical.com
State New
Headers show
Series [v1,1/3] hciattach: Add BCM43xx 3-wire variant | expand

Commit Message

Dave Jones Dec. 18, 2020, 7:06 p.m. UTC
Adds the bcm43xx-3wire variant to the hciattach tool; this is for use
when the Raspberry Pi's mini-UART (which lacks flow-control) is used
instead of the PL011 UART to drive the bluetooth module.

Signed-off-by: Dave Jones <dave.jones@canonical.com>
---
 tools/hciattach.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/tools/hciattach.c b/tools/hciattach.c
index 276a4e56e..503f067bc 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -1078,6 +1078,9 @@  struct uart_t uart[] = {
 	{ "bcm43xx",    0x0000, 0x0000, HCI_UART_H4,   115200, 3000000,
 				FLOW_CTL, DISABLE_PM, NULL, bcm43xx, NULL  },
 
+	{ "bcm43xx-3wire", 0x0000, 0x0000, HCI_UART_3WIRE, 115200, 3000000,
+				0, DISABLE_PM, NULL, bcm43xx, NULL  },
+
 	{ "ath3k",    0x0000, 0x0000, HCI_UART_ATH3K, 115200, 115200,
 			FLOW_CTL, DISABLE_PM, NULL, ath3k_ps, ath3k_pm  },