xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/max98373.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMaxim Integrated MAX98373 Speaker Amplifier
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis device supports I2C.
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunRequired properties:
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun - compatible : "maxim,max98373"
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun - reg : the I2C address of the device.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunOptional properties:
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun  - maxim,vmon-slot-no : slot number used to send voltage information
14*4882a593Smuzhiyun                   or in inteleave mode this will be used as
15*4882a593Smuzhiyun                   interleave slot.
16*4882a593Smuzhiyun                   slot range : 0 ~ 15,  Default : 0
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun  - maxim,imon-slot-no : slot number used to send current information
19*4882a593Smuzhiyun                   slot range : 0 ~ 15,  Default : 0
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun  - maxim,spkfb-slot-no : slot number used to send speaker feedback information
22*4882a593Smuzhiyun                   slot range : 0 ~ 15,  Default : 0
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun  - maxim,interleave-mode : For cases where a single combined channel
25*4882a593Smuzhiyun		   for the I/V sense data is not sufficient, the device can also be configured
26*4882a593Smuzhiyun		   to share a single data output channel on alternating frames.
27*4882a593Smuzhiyun		   In this configuration, the current and voltage data will be frame interleaved
28*4882a593Smuzhiyun		   on a single output channel.
29*4882a593Smuzhiyun                   Boolean, define to enable the interleave mode, Default : false
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunExample:
32*4882a593Smuzhiyun
33*4882a593Smuzhiyuncodec: max98373@31 {
34*4882a593Smuzhiyun   compatible = "maxim,max98373";
35*4882a593Smuzhiyun   reg = <0x31>;
36*4882a593Smuzhiyun   maxim,vmon-slot-no = <0>;
37*4882a593Smuzhiyun   maxim,imon-slot-no = <1>;
38*4882a593Smuzhiyun   maxim,spkfb-slot-no = <2>;
39*4882a593Smuzhiyun   maxim,interleave-mode;
40*4882a593Smuzhiyun};
41