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