LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "H. Nikolaus Schaller" <hns@goldelico.com>
To: Marcel Holtmann <marcel@holtmann.org>,
	Johan Hedberg <johan.hedberg@gmail.com>
Cc: "open list:BLUETOOTH DRIVERS" <linux-bluetooth@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Discussions about the Letux Kernel 
	<letux-kernel@openphoenux.org>
Subject: bluetooth serdev driver for wi2wi w2cbw003?
Date: Fri, 26 Oct 2018 22:14:13 +0200	[thread overview]
Message-ID: <A82238EF-4EAE-4B6D-94A7-A098622B57E5@goldelico.com> (raw)

Hi,
what is the best strategy to support the above mentioned
bluetooth (+ wlan combo) chip by a serdev driver?

We have the chip up and running for long time with using
hciattach on the serial port (and no vendor specific
functions like firmware download). And our own out-of-tree
driver to control the power on/off.

But we now want to be able to use hcicontrol hci0 up/down
to control a regulator like the hci_ll.c driver is doing
with a gpio.

Which means we would like to use this DT:

&uart1 {
	pinctrl-names = "default";
	pinctrl-0 = <&uart1_pins>;

	bluetooth: bluetooth {
		compatible = "wi2wi,w2cbw003-bt";
		vdd-supply = <&vaux4>;
	};
};

Does such a driver already exist so that we just have to add
.compatible = "wi2wi,w2cbw003-bt" or should we start to
make one based on by hci_ll.c by removing firmware download
and special ti protocol handling?

Other maybe relevant information from the w2cbw003 data sheet:
- Bluetooth technology based on CSR BC04-ROM
- Data rate up to 3 Mbps for Bluetooth EDR
- It uses a standard HCI interface – any commercial stack or profile supporting the standard interface will work with W2CBW003.

Any directions are welcome.

BR and thanks,
Nikolaus


                 reply	other threads:[~2018-10-26 20:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A82238EF-4EAE-4B6D-94A7-A098622B57E5@goldelico.com \
    --to=hns@goldelico.com \
    --cc=johan.hedberg@gmail.com \
    --cc=letux-kernel@openphoenux.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --subject='Re: bluetooth serdev driver for wi2wi w2cbw003?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).