Thread (5 messages) 5 messages, 2 authors, 2016-02-03

RE: [PATCH] hciattach: Add support for Marvell Bluetooth device

flat view

From: Amitkumar Karwar <hidden>
Date: 2016-01-27 15:33:24

Hi Marcel,
From: linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth-
owner@vger.kernel.org] On Behalf Of Marcel Holtmann
Sent: Wednesday, January 27, 2016 8:51 PM
To: Amitkumar Karwar
Cc: linux-bluetooth@vger.kernel.org; Cathy Luo; Nishant Sarmukadam;
Ganapathi Bhat
Subject: Re: [PATCH] hciattach: Add support for Marvell Bluetooth device
=20
Hi Amitkumar,
=20
quoted
This patch enables the Marvell Bluetooth device (UART sku) over the H4
protocol. It configures the baudrate and download firmware to bring up
the device.

Command syntax: hciattach /dev/ttyUSB0 marvell

Make sure to place the marvell_hci_uart.conf file in
/lib/firmware/mrvl/

This file should contain below info:
HELPER_FILE_PATH=3D<full path of helper binary> FIRMWARE_FILE_PATH=3D<f=
ull
quoted
path of firmware binary> FIRMWARE_DOWNLOAD_BAUD_RATE=3D<firmware
download baud rate>
=20
I would prefer if you create a drivers/bluetooth/hci_mrvl.c kernel
driver that works with btattach. We are trying to phase out hciattach
and not add more vendor specifics.
=20
For at least Intel and Broadcom hardware we have full in kernel support
for firmware loading and configuration. And the benefit is that code can
be shared between UART and USB.
=20
Thanks for the quick reply.
We are working on in kernel firmware download support as well by adding hci=
_mrvl.c file. We will submit the driver patch in couple of days.

This hciattach enhancement would be really useful for the users having olde=
r kernel. Both the approaches can work independently, as here H4 UART proto=
col is being used instead of MRVL.
Could you please considered this patch?

Regards,
Amitkumar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help