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