Maxim Integrated MAX98357A/MAX98360A amplifier

Schema identifier ($id): "http://devicetree.org/schemas/sound/maxim,max98357a.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tzung-Bi Shih <tzungbi@kernel.org>"

Maxim Integrated MAX98357A/MAX98360A is a digital pulse-code modulation (PCM) input Class D amplifier.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dai-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "maxim,max98357a", "maxim,max98360a"

#sound-dai-cells — not listed as required here #

Exact value (const): 0

sdmode-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Chip's SD_MODE pin. If missing the chip is always on.

sdmode-delay — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Delay time for SD_MODE pin changes intended to make I2S clocks ready before SD_MODE is unmuted in order to avoid the speaker pop noise.

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

amplifier {
    compatible = "maxim,max98360a";
    #sound-dai-cells = <0>;
    sdmode-gpios = <&qcom_pinmux 25 GPIO_ACTIVE_HIGH>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page