Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Maxim Integrated MAX98373 Speaker Amplifier |
| 2 | |
| 3 | This device supports I2C. |
| 4 | |
| 5 | Required properties: |
| 6 | |
| 7 | - compatible : "maxim,max98373" |
| 8 | |
| 9 | - reg : the I2C address of the device. |
| 10 | |
| 11 | Optional 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 | |
| 31 | Example: |
| 32 | |
| 33 | codec: 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 | }; |