brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · 83ba866 Raw
53 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/maxim,max98357a.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Maxim Integrated MAX98357A/MAX98360A amplifier8 9maintainers:10  - Tzung-Bi Shih <tzungbi@kernel.org>11 12description:13  Maxim Integrated MAX98357A/MAX98360A is a digital pulse-code modulation (PCM)14  input Class D amplifier.15 16allOf:17  - $ref: dai-common.yaml#18 19properties:20  compatible:21    enum:22      - maxim,max98357a23      - maxim,max98360a24 25  '#sound-dai-cells':26    const: 027 28  sdmode-gpios:29    maxItems: 130    description:31      Chip's SD_MODE pin.  If missing the chip is always on.32 33  sdmode-delay:34    $ref: /schemas/types.yaml#/definitions/uint3235    description:36      Delay time for SD_MODE pin changes intended to make I2S clocks ready37      before SD_MODE is unmuted in order to avoid the speaker pop noise.38 39required:40  - compatible41 42unevaluatedProperties: false43 44examples:45  - |46    #include <dt-bindings/gpio/gpio.h>47 48    amplifier {49        compatible = "maxim,max98360a";50        #sound-dai-cells = <0>;51        sdmode-gpios = <&qcom_pinmux 25 GPIO_ACTIVE_HIGH>;52    };53