1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/adi,max98396.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices MAX98396 Speaker Amplifier Device Tree Bindings
10 - Ryan Lee <ryans.lee@analog.com>
13 The MAX98396 is a mono Class-DG speaker amplifier with I/V sense.
14 The device provides a PCM interface for audio data and a standard
15 I2C interface for control data communication.
16 The MAX98397 is a variant of MAX98396 with wide input supply range.
25 description: I2C address of the device.
28 description: slot number of the voltage sense monitor
29 $ref: "/schemas/types.yaml#/definitions/uint32"
35 description: slot number of the current sense monitor
36 $ref: "/schemas/types.yaml#/definitions/uint32"
42 description: slot number of speaker DSP monitor
43 $ref: "/schemas/types.yaml#/definitions/uint32"
50 For cases where a single combined channel for the I/V sense data
51 is not sufficient, the device can also be configured to share
52 a single data output channel on alternating frames.
53 In this configuration, the current and voltage data will be frame
54 interleaved on a single output channel.
64 additionalProperties: false
68 #include <dt-bindings/gpio/gpio.h>
72 max98396: amplifier@39 {
73 compatible = "adi,max98396";
75 adi,vmon-slot-no = <0>;
76 adi,imon-slot-no = <1>;
77 reset-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;