public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v4] tools/btattach: add marvell support
@ 2016-03-03 11:56 Amitkumar Karwar
  2016-03-03 11:56 ` [PATCH v4] Bluetooth: hci_uart: Support firmware download for Marvell Amitkumar Karwar
  0 siblings, 1 reply; 5+ messages in thread
From: Amitkumar Karwar @ 2016-03-03 11:56 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: Cathy Luo, linux-kernel, Nishant Sarmukadam, Ganapathi Bhat

From: Ganapathi Bhat <gbhat@marvell.com>

User needs to issue below command for Marvell devices
btattach -P marvell -B /dev/ttyUSB#

---
 tools/btattach.c  | 1 +
 tools/hciattach.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tools/btattach.c b/tools/btattach.c
index a025bb0..7807e9f 100644
--- a/tools/btattach.c
+++ b/tools/btattach.c
@@ -214,6 +214,7 @@ static const struct {
 	{ "intel", HCI_UART_INTEL },
 	{ "bcm",   HCI_UART_BCM   },
 	{ "qca",   HCI_UART_QCA   },
+	{ "marvell", HCI_UART_MRVL   },
 	{ }
 };
 
diff --git a/tools/hciattach.h b/tools/hciattach.h
index 4279a33..e109c3e 100644
--- a/tools/hciattach.h
+++ b/tools/hciattach.h
@@ -42,6 +42,7 @@
 #define HCI_UART_INTEL	6
 #define HCI_UART_BCM	7
 #define HCI_UART_QCA	8
+#define HCI_UART_MRVL	10
 
 #define HCI_UART_RAW_DEVICE	0
 #define HCI_UART_RESET_ON_INIT	1
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-17 14:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-03 11:56 [PATCH BlueZ v4] tools/btattach: add marvell support Amitkumar Karwar
2016-03-03 11:56 ` [PATCH v4] Bluetooth: hci_uart: Support firmware download for Marvell Amitkumar Karwar
2016-03-14  6:32   ` Amitkumar Karwar
2016-03-14 15:54   ` Loic Poulain
2016-03-17 14:36     ` Amitkumar Karwar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox