1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/adi,max98388.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices MAX98388 Speaker Amplifier
10 - Ryan Lee <ryans.lee@analog.com>
13 The MAX98388 is a mono Class-D speaker amplifier with I/V feedback.
14 The device provides a PCM interface for audio data and a standard
15 I2C interface for control data communication.
18 - $ref: dai-common.yaml#
32 description: slot number of the voltage feedback monitor
33 $ref: /schemas/types.yaml#/definitions/uint32
39 description: slot number of the current feedback monitor
40 $ref: /schemas/types.yaml#/definitions/uint32
47 For cases where a single combined channel for the I/V feedback data
48 is not sufficient, the device can also be configured to share
49 a single data output channel on alternating frames.
50 In this configuration, the current and voltage data will be frame
51 interleaved on a single output channel.
62 unevaluatedProperties: false
66 #include <dt-bindings/gpio/gpio.h>
70 max98388: amplifier@39 {
71 compatible = "adi,max98388";
73 #sound-dai-cells = <0>;
74 adi,vmon-slot-no = <0>;
75 adi,imon-slot-no = <1>;
77 reset-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;