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