xref: /freebsd/sys/contrib/device-tree/Bindings/sound/wm8741.txt (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1WM8741 audio CODEC
2
3This device supports both I2C and SPI (configured with pin strapping
4on the board).
5
6Required 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
13Optional 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
22Example:
23
24wm8741: codec@1a {
25	compatible = "wlf,wm8741";
26	reg = <0x1a>;
27
28	diff-mode = <3>;
29};
30