2011-08-03 08:31:26 +00:00
|
|
|
WM8741 audio CODEC
|
|
|
|
|
|
|
|
This device supports both I2C and SPI (configured with pin strapping
|
|
|
|
on the board).
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
|
|
|
|
- compatible : "wlf,wm8741"
|
|
|
|
|
|
|
|
- reg : the I2C address of the device for I2C, the chip select
|
|
|
|
number for SPI.
|
|
|
|
|
2015-05-13 09:39:01 +00:00
|
|
|
Optional properties:
|
|
|
|
|
|
|
|
- diff-mode: Differential output mode configuration. Default value for field
|
|
|
|
DIFF in register R8 (MODE_CONTROL_2). If absent, the default is 0, shall be:
|
|
|
|
0 = stereo
|
|
|
|
1 = mono left
|
|
|
|
2 = stereo reversed
|
|
|
|
3 = mono right
|
|
|
|
|
2011-08-03 08:31:26 +00:00
|
|
|
Example:
|
|
|
|
|
2018-05-20 12:53:41 +00:00
|
|
|
wm8741: codec@1a {
|
2011-08-03 08:31:26 +00:00
|
|
|
compatible = "wlf,wm8741";
|
|
|
|
reg = <0x1a>;
|
2015-05-13 09:39:01 +00:00
|
|
|
|
|
|
|
diff-mode = <3>;
|
2011-08-03 08:31:26 +00:00
|
|
|
};
|