aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2014-11-19 04:28:33 -0500
committerMarcel Holtmann <marcel@holtmann.org>2014-11-19 10:22:42 -0500
commit025a60a752261fd479a4bb74cf7cb04fdc313ec7 (patch)
tree8a8d400406c7e9cb31d58565a9aa0d821c3407b7 /Documentation
parent098ea6bc4cb5890d09b1b79154fa11182e0f71e0 (diff)
Bluetooth: btmrvl: add DT-bindings for gpio-gap
This can be used to have GPIO host wakeup method suitable for the platform and configurable GAP for host sleep handshake. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Cathy Luo <cluo@marvell.com> Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/btmrvl.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/btmrvl.txt b/Documentation/devicetree/bindings/btmrvl.txt
index cdd57680a749..58f964bb0a52 100644
--- a/Documentation/devicetree/bindings/btmrvl.txt
+++ b/Documentation/devicetree/bindings/btmrvl.txt
@@ -10,8 +10,14 @@ Optional properties:
10 - btmrvl,cal-data : Calibration data downloaded to the device during 10 - btmrvl,cal-data : Calibration data downloaded to the device during
11 initialization. This is an array of 28 values(u8). 11 initialization. This is an array of 28 values(u8).
12 12
13 - btmrvl,gpio-gap : gpio and gap (in msecs) combination to be
14 configured.
15
13Example: 16Example:
14 17
18GPIO pin 13 is configured as a wakeup source and GAP is set to 100 msecs
19in below example.
20
15btmrvl { 21btmrvl {
16 compatible = "btmrvl,cfgdata"; 22 compatible = "btmrvl,cfgdata";
17 23
@@ -19,4 +25,5 @@ btmrvl {
19 0x37 0x01 0x1c 0x00 0xff 0xff 0xff 0xff 0x01 0x7f 0x04 0x02 25 0x37 0x01 0x1c 0x00 0xff 0xff 0xff 0xff 0x01 0x7f 0x04 0x02
20 0x00 0x00 0xba 0xce 0xc0 0xc6 0x2d 0x00 0x00 0x00 0x00 0x00 26 0x00 0x00 0xba 0xce 0xc0 0xc6 0x2d 0x00 0x00 0x00 0x00 0x00
21 0x00 0x00 0xf0 0x00>; 27 0x00 0x00 0xf0 0x00>;
28 btmrvl,gpio-gap = <0x0d64>;
22}; 29};