From: Ilya Faenson <ifaenson@broadcom.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: <linux-bluetooth@vger.kernel.org>,
Arend van Spriel <arend@broadcom.com>,
Ilya Faenson <ifaenson@broadcom.com>
Subject: [PATCH v2 1/5] Broadcom Bluetooth UART Device Tree bindings
Date: Wed, 10 Jun 2015 16:05:16 -0400 [thread overview]
Message-ID: <1433966720-17482-2-git-send-email-ifaenson@broadcom.com> (raw)
In-Reply-To: <1433966720-17482-1-git-send-email-ifaenson@broadcom.com>
Device Tree bindings to configure the Broadcom Bluetooth UART device.
Signed-off-by: Ilya Faenson <ifaenson@broadcom.com>
---
.../devicetree/bindings/net/bluetooth/btbcm.txt | 82 ++++++++++++++++++++++
1 file changed, 82 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/bluetooth/btbcm.txt
diff --git a/Documentation/devicetree/bindings/net/bluetooth/btbcm.txt b/Documentation/devicetree/bindings/net/bluetooth/btbcm.txt
new file mode 100644
index 0000000..2679819
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/bluetooth/btbcm.txt
@@ -0,0 +1,82 @@
+btbcm
+------
+
+Required properties:
+
+ - compatible : must be "brcm,brcm-bt-uart".
+ - tty : tty device connected to this Bluetooth device.
+
+Optional properties:
+
+ - bt-host-wake-gpios : bt-host-wake input GPIO to be used as an interrupt.
+
+ - bt-wake-gpios : bt-wake output GPIO to be used to suspend / resume device.
+
+ - bt-reg-on-gpios : reg-on output GPIO to be used to power device on/off.
+
+ - oper-speed : Bluetooth device operational baud rate.
+ Default: 3000000.
+
+ - manual-fc : flow control UART in suspend / resume scenarios.
+ Default: 0.
+
+ - configure-sleep : configure suspend / resume flag.
+ Default: false.
+
+ - configure-audio : configure platform PCM SCO flag.
+ Default: false.
+
+ - pcm-clockmode : PCM clock mode. 0-slave, 1-master.
+ Default: 0.
+
+ - pcm-fillmethod : PCM fill method. 0 to 3.
+ Default: 2.
+
+ - pcm-fillnum : PCM number of fill bits. 0 to 3.
+ Default: 0.
+
+ - pcm-fillvalue : PCM fill value. 0 to 7.
+ Default: 3.
+
+ - pcm-incallbitclock : PCM interface rate. 0-128Kbps, 1-256Kbps, 2-512Kbps,
+ 3-1024Kbps, 4-2048Kbps.
+ Default: 0.
+
+ - pcm-lsbfirst : PCM LSB first. 0 or 1.
+ Default: 0.
+
+ - pcm-rightjustify : PCM Justify. 0-left, 1-right.
+ Default: 0.
+
+ - pcm-routing : PCM routing. 0-PCM, 1-SCO over HCI.
+ Default: 0.
+
+ - pcm-shortframesync : PCM sync. 0-short, 1-long.
+ Default: 0.
+
+ - pcmsyncmode : PCM sync mode. 0-slave, 1-master.
+ Default: 0.
+
+
+Example:
+
+ brcm4354_bt_uart: brcm4354-bt-uart {
+ compatible = "brcm,brcm-bt-uart";
+ bt-wake-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
+ bt-host-wake-gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>;
+ tty = "ttyS0";
+ oper-speed = <3000000>;
+ configure-sleep;
+ configure-audio;
+ pcm-clockmode = <0>;
+ pcm-fillmethod = <2>;
+ pcm-fillnum = <0>;
+ pcm-fillvalue = <3>;
+ pcm-incallbitclock = <0>;
+ pcm-lsbfirst = <0>;
+ pcm-rightjustify = <0>;
+ pcm-routing = <0>;
+ pcm-shortframesync = <0>;
+ pcm-syncmode = <0>;
+ };
+
--
1.9.1
next prev parent reply other threads:[~2015-06-10 20:05 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-10 20:05 [PATCH v2 0/5] Broadcom Bluetooth UART device driver Ilya Faenson
2015-06-10 20:05 ` Ilya Faenson [this message]
2015-06-11 9:39 ` [PATCH v2 1/5] Broadcom Bluetooth UART Device Tree bindings Marcel Holtmann
2015-06-12 15:32 ` Ilya Faenson
2015-06-12 15:39 ` Marcel Holtmann
2015-06-12 16:51 ` Ilya Faenson
2015-06-10 20:05 ` [PATCH v2 2/5] H4 line discipline enhancements Ilya Faenson
2015-06-11 10:05 ` Marcel Holtmann
2015-06-12 15:36 ` Ilya Faenson
2015-06-10 20:05 ` [PATCH v2 3/5] Broadcom Bluetooth UART Platform Driver Ilya Faenson
2015-06-12 8:45 ` Marcel Holtmann
2015-06-12 16:26 ` Ilya Faenson
2015-06-13 8:04 ` Marcel Holtmann
2015-06-13 14:12 ` Ilya Faenson
2015-06-10 20:05 ` [PATCH v2 4/5] Support the BCM4354 Bluetooth UART device Ilya Faenson
2015-06-12 8:47 ` Marcel Holtmann
2015-06-12 16:26 ` Ilya Faenson
2015-06-10 20:05 ` [PATCH v2 5/5] BlueZ Broadcom UART Protocol Ilya Faenson
2015-06-12 9:31 ` Marcel Holtmann
2015-06-12 16:47 ` Ilya Faenson
2015-06-13 7:53 ` Marcel Holtmann
2015-06-13 14:10 ` Ilya Faenson
2015-06-15 9:34 ` Frederic Danis
2015-06-15 10:04 ` Marcel Holtmann
2015-06-12 8:27 ` [PATCH v2 0/5] Broadcom Bluetooth UART device driver Loic Poulain
2015-06-12 15:38 ` Ilya Faenson
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=1433966720-17482-2-git-send-email-ifaenson@broadcom.com \
--to=ifaenson@broadcom.com \
--cc=arend@broadcom.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.