LKML Archive on
help / color / mirror / Atom feed
From: "H. Nikolaus Schaller" <>
To: Marcel Holtmann <>,
	Johan Hedberg <>
Cc: "open list:BLUETOOTH DRIVERS" <>,
	LKML <>,
	Discussions about the Letux Kernel 
Subject: bluetooth serdev driver for wi2wi w2cbw003?
Date: Fri, 26 Oct 2018 22:14:13 +0200	[thread overview]
Message-ID: <> (raw)

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,

                 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:

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

  git send-email \ \ \ \ \ \ \ \
    --subject='Re: bluetooth serdev driver for wi2wi w2cbw003?' \

* 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).