# Maxim Integrated MAX98504 class D mono speaker amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Maxim Integrated MAX98504 class D mono speaker amplifier.

<!-- SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;sound&#47;maxim&#44;max98504&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Maxim Integrated MAX98504 speaker amplifier supports I2C control interface with an IRQ output signal, PCM and PDM digital audio interface (DAI) and a differential analog input.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;maxim&#44;max98504&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-3230aa21a8e1b5454040"></a>

### <code>DIOVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-bc22b86a699ed19f7b01"></a>

### <code>DVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-f5d88bb44576878b10c3"></a>

### <code>PVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-9dbc4c3eb42b3ffea7ea"></a>

### <code>maxim&#44;brownout&#45;threshold</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e088b1da23312dd1b19b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Maximum value (<code>maximum</code>):** <span id="dt-81633ad0f99a0f69714f"><code>21</code></span>

**Default value (<code>default</code>):** <span id="dt-ee9639dc2168a457a410"><code>0</code></span>

<div id="dt-a45d0528d3b5ffcc70e8">
<p style="white-space: pre-wrap">PVDD brownout threshold, where values correspond to 2.6V, 2.65V...3.65V voltage range.  Property also enables the PVDD brownout protection.</p>
</div>

<a id="dt-b303d7bbcbe7b494a719"></a>

### <code>maxim&#44;brownout&#45;attenuation</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a5daba450920d230caaa">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Maximum value (<code>maximum</code>):** <span id="dt-7e967c7d661817c59546"><code>6</code></span>

**Default value (<code>default</code>):** <span id="dt-a40b694f7605a75f82ac"><code>0</code></span>

<div id="dt-576f5aa6f0037dd8327f">
<p style="white-space: pre-wrap">Brownout attenuation to the speaker gain applied during the "attack hold" and "timed hold" phase, the value must be from 0...6 (dB) range.</p>
</div>

<a id="dt-a4ed07d74a3cd48d4a8b"></a>

### <code>maxim&#44;brownout&#45;attack&#45;hold&#45;ms</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-08caf48e7b93e8056c5a"><code>255</code></span>

**Default value (<code>default</code>):** <span id="dt-0a6a5e554014ce4e74ab"><code>0</code></span>

<div id="dt-44431553e9ab507f04de">
<p style="white-space: pre-wrap">Brownout attack hold phase time in ms, VBATBROWN_ATTK_HOLD, register 0x0018.</p>
</div>

<a id="dt-1f1309edacc6b12e2ed8"></a>

### <code>maxim&#44;brownout&#45;timed&#45;hold&#45;ms</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-6a7dbd896ace49c8f9f2"><code>255</code></span>

**Default value (<code>default</code>):** <span id="dt-7c638ec004625dd34168"><code>0</code></span>

<div id="dt-bf8d3baade73b6cc55ed">
<p style="white-space: pre-wrap">Brownout timed hold phase time in ms, VBATBROWN_TIME_HOLD, register 0x0019.</p>
</div>

<a id="dt-c8ff303c421eb41dee49"></a>

### <code>maxim&#44;brownout&#45;release&#45;rate&#45;ms</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-aeb1e242caaa471cbefa"><code>255</code></span>

**Default value (<code>default</code>):** <span id="dt-b46a055bf4f8877a72ff"><code>0</code></span>

<div id="dt-e3c5f51214f947c326bb">
<p style="white-space: pre-wrap">Brownout release phase step time in ms, VBATBROWN_RELEASE, register 0x001A.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    amplifier@31 {
        compatible = "maxim,max98504";
        reg = &lt;0x31&gt;;

        DIOVDD-supply = &lt;&amp;ldo3_reg&gt;;
        DVDD-supply = &lt;&amp;ldo3_reg&gt;;
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause</span></p>

</details>
