| 1 |
WM8741 audio CODEC |
| 2 |
|
| 3 |
This device supports both I2C and SPI (configured with pin strapping |
| 4 |
on the board). |
| 5 |
|
| 6 |
Required properties: |
| 7 |
|
| 8 |
- compatible : "wlf,wm8741" |
| 9 |
|
| 10 |
- reg : the I2C address of the device for I2C, the chip select |
| 11 |
number for SPI. |
| 12 |
|
| 13 |
Optional properties: |
| 14 |
|
| 15 |
- diff-mode: Differential output mode configuration. Default value for field |
| 16 |
DIFF in register R8 (MODE_CONTROL_2). If absent, the default is 0, shall be: |
| 17 |
0 = stereo |
| 18 |
1 = mono left |
| 19 |
2 = stereo reversed |
| 20 |
3 = mono right |
| 21 |
|
| 22 |
Example: |
| 23 |
|
| 24 |
wm8741: codec@1a { |
| 25 |
compatible = "wlf,wm8741"; |
| 26 |
reg = <0x1a>; |
| 27 |
|
| 28 |
diff-mode = <3>; |
| 29 |
}; |