Commit | Line | Data |
---|---|---|
80080ec5 MB |
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 | ||
c354b54c SS |
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 | ||
80080ec5 MB |
22 | Example: |
23 | ||
24 | codec: wm8741@1a { | |
25 | compatible = "wlf,wm8741"; | |
26 | reg = <0x1a>; | |
c354b54c SS |
27 | |
28 | diff-mode = <3>; | |
80080ec5 | 29 | }; |