summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/max98926.txt
blob: 0b7f4e4d5f9a5c18b53398fe2291cc84e5e2b134 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
max98926 audio CODEC

This device supports I2C.

Required properties:

  - compatible : "maxim,max98926"

  - vmon-slot-no : slot number used to send voltage information
                   or in inteleave mode this will be used as
                   interleave slot.

  - imon-slot-no : slot number used to send current information

  - interleave-mode : When using two MAX98926 in a system it is
                      possible to create ADC data that that will
                      overflow the frame size. Digital Audio Interleave
                      mode provides a means to output VMON and IMON data
                      from two devices on a single DOUT line when running
                      smaller frames sizes such as 32 BCLKS per LRCLK or
                      48 BCLKS per LRCLK.

  - reg : the I2C address of the device for I2C

Example:

codec: max98926@1a {
   compatible = "maxim,max98926";
   vmon-slot-no = <0>;
   imon-slot-no = <2>;
   reg = <0x1a>;
};