-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Amitkumar Karwar
authored and
Marcel Holtmann
committed
Nov 19, 2014
1 parent
0378b59
commit 098ea6b
Showing
2 changed files
with
36 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
btmrvl | ||
------ | ||
|
||
Required properties: | ||
|
||
- compatible : must be "btmrvl,cfgdata" | ||
|
||
Optional properties: | ||
|
||
- btmrvl,cal-data : Calibration data downloaded to the device during | ||
initialization. This is an array of 28 values(u8). | ||
|
||
Example: | ||
|
||
btmrvl { | ||
compatible = "btmrvl,cfgdata"; | ||
|
||
btmrvl,cal-data = /bits/ 8 < | ||
0x37 0x01 0x1c 0x00 0xff 0xff 0xff 0xff 0x01 0x7f 0x04 0x02 | ||
0x00 0x00 0xba 0xce 0xc0 0xc6 0x2d 0x00 0x00 0x00 0x00 0x00 | ||
0x00 0x00 0xf0 0x00>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters