xref: /freebsd/sys/contrib/device-tree/Bindings/sound/max9892x.txt (revision c7a063741720ef81d4caa4613242579d12f1d605)
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
33Optional properties:
34  - reset-gpios : GPIO to reset the device
35
36Example:
37
38codec: max98927@3a {
39   compatible = "maxim,max98927";
40   vmon-slot-no = <0>;
41   imon-slot-no = <1>;
42   interleave-mode = <0>;
43   reg = <0x3a>;
44};
45