diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2014-11-19 04:28:32 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-19 10:22:41 -0500 |
commit | 098ea6bc4cb5890d09b1b79154fa11182e0f71e0 (patch) | |
tree | 0d66eef2ccb830153e2a645e9a8de5ad84519f3e /Documentation/devicetree/bindings/btmrvl.txt | |
parent | 0378b59770130a994272b176a2a4346dc27361e9 (diff) |
Bluetooth: btmrvl: add DT bindings documentation
Calibration data can be downloaded through device tree method. This
patch adds the documentation. Also, instead of searching device tree
node by name using of_find_node_by_name() API, let's use
for_each_compatible_node().
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/devicetree/bindings/btmrvl.txt')
-rw-r--r-- | Documentation/devicetree/bindings/btmrvl.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/btmrvl.txt b/Documentation/devicetree/bindings/btmrvl.txt new file mode 100644 index 000000000000..cdd57680a749 --- /dev/null +++ b/Documentation/devicetree/bindings/btmrvl.txt | |||
@@ -0,0 +1,22 @@ | |||
1 | btmrvl | ||
2 | ------ | ||
3 | |||
4 | Required properties: | ||
5 | |||
6 | - compatible : must be "btmrvl,cfgdata" | ||
7 | |||
8 | Optional properties: | ||
9 | |||
10 | - btmrvl,cal-data : Calibration data downloaded to the device during | ||
11 | initialization. This is an array of 28 values(u8). | ||
12 | |||
13 | Example: | ||
14 | |||
15 | btmrvl { | ||
16 | compatible = "btmrvl,cfgdata"; | ||
17 | |||
18 | btmrvl,cal-data = /bits/ 8 < | ||
19 | 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 | ||
21 | 0x00 0x00 0xf0 0x00>; | ||
22 | }; | ||