Amitkumar Karwar | 098ea6b | 2014-11-19 01:28:32 -0800 | [diff] [blame] | 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 | |
Amitkumar Karwar | 025a60a | 2014-11-19 01:28:33 -0800 | [diff] [blame] | 13 | - btmrvl,gpio-gap : gpio and gap (in msecs) combination to be |
| 14 | configured. |
| 15 | |
Amitkumar Karwar | 098ea6b | 2014-11-19 01:28:32 -0800 | [diff] [blame] | 16 | Example: |
| 17 | |
Amitkumar Karwar | 025a60a | 2014-11-19 01:28:33 -0800 | [diff] [blame] | 18 | GPIO pin 13 is configured as a wakeup source and GAP is set to 100 msecs |
| 19 | in below example. |
| 20 | |
Amitkumar Karwar | 098ea6b | 2014-11-19 01:28:32 -0800 | [diff] [blame] | 21 | btmrvl { |
| 22 | compatible = "btmrvl,cfgdata"; |
| 23 | |
| 24 | btmrvl,cal-data = /bits/ 8 < |
| 25 | 0x37 0x01 0x1c 0x00 0xff 0xff 0xff 0xff 0x01 0x7f 0x04 0x02 |
| 26 | 0x00 0x00 0xba 0xce 0xc0 0xc6 0x2d 0x00 0x00 0x00 0x00 0x00 |
| 27 | 0x00 0x00 0xf0 0x00>; |
Amitkumar Karwar | 025a60a | 2014-11-19 01:28:33 -0800 | [diff] [blame] | 28 | btmrvl,gpio-gap = <0x0d64>; |
Amitkumar Karwar | 098ea6b | 2014-11-19 01:28:32 -0800 | [diff] [blame] | 29 | }; |