xref: /freebsd/sys/contrib/device-tree/Bindings/sound/max9892x.txt (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
1Maxim Integrated MAX98925/MAX98926/MAX98927 Speaker Amplifier
2
3This device supports I2C.
4
5Required properties:
6
7  - compatible : should be one of the following
8    - "maxim,max98925"
9    - "maxim,max98926"
10    - "maxim,max98927"
11
12  - vmon-slot-no : slot number used to send voltage information
13                   or in inteleave mode this will be used as
14                   interleave slot.
15                   MAX98925/MAX98926 slot range : 0 ~ 30,  Default : 0
16                   MAX98927 slot range : 0 ~ 15,  Default : 0
17
18  - imon-slot-no : slot number used to send current information
19                   MAX98925/MAX98926 slot range : 0 ~ 30,  Default : 0
20                   MAX98927 slot range : 0 ~ 15,  Default : 0
21
22  - interleave-mode : When using two MAX9892X in a system it is
23                   possible to create ADC data that that will
24                   overflow the frame size. Digital Audio Interleave
25                   mode provides a means to output VMON and IMON data
26                   from two devices on a single DOUT line when running
27                   smaller frames sizes such as 32 BCLKS per LRCLK or
28                   48 BCLKS per LRCLK.
29                   Range : 0 (off), 1 (on),  Default : 0
30
31  - reg : the I2C address of the device for I2C
32
33Example:
34
35codec: max98927@3a {
36   compatible = "maxim,max98927";
37   vmon-slot-no = <0>;
38   imon-slot-no = <1>;
39   interleave-mode = <0>;
40   reg = <0x3a>;
41};
42