1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/sound/maxim 4 $id: http://devicetree.org/schemas/sound/maxim,max98357a.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Maxim Integrated MAX98357A/MAX98360A am 7 title: Maxim Integrated MAX98357A/MAX98360A amplifier 8 8 9 maintainers: 9 maintainers: 10 - Tzung-Bi Shih <tzungbi@kernel.org> 10 - Tzung-Bi Shih <tzungbi@kernel.org> 11 11 12 description: 12 description: 13 Maxim Integrated MAX98357A/MAX98360A is a di 13 Maxim Integrated MAX98357A/MAX98360A is a digital pulse-code modulation (PCM) 14 input Class D amplifier. 14 input Class D amplifier. 15 15 16 allOf: 16 allOf: 17 - $ref: dai-common.yaml# 17 - $ref: dai-common.yaml# 18 18 19 properties: 19 properties: 20 compatible: 20 compatible: 21 enum: 21 enum: 22 - maxim,max98357a 22 - maxim,max98357a 23 - maxim,max98360a 23 - maxim,max98360a 24 24 25 '#sound-dai-cells': 25 '#sound-dai-cells': 26 const: 0 26 const: 0 27 27 28 sdmode-gpios: 28 sdmode-gpios: 29 maxItems: 1 29 maxItems: 1 30 description: 30 description: 31 Chip's SD_MODE pin. If missing the chip 31 Chip's SD_MODE pin. If missing the chip is always on. 32 32 33 sdmode-delay: 33 sdmode-delay: 34 $ref: /schemas/types.yaml#/definitions/uin 34 $ref: /schemas/types.yaml#/definitions/uint32 35 description: 35 description: 36 Delay time for SD_MODE pin changes inten 36 Delay time for SD_MODE pin changes intended to make I2S clocks ready 37 before SD_MODE is unmuted in order to av 37 before SD_MODE is unmuted in order to avoid the speaker pop noise. 38 38 39 required: 39 required: 40 - compatible 40 - compatible 41 41 42 unevaluatedProperties: false 42 unevaluatedProperties: false 43 43 44 examples: 44 examples: 45 - | 45 - | 46 #include <dt-bindings/gpio/gpio.h> 46 #include <dt-bindings/gpio/gpio.h> 47 47 48 amplifier { 48 amplifier { 49 compatible = "maxim,max98360a"; 49 compatible = "maxim,max98360a"; 50 #sound-dai-cells = <0>; 50 #sound-dai-cells = <0>; 51 sdmode-gpios = <&qcom_pinmux 25 GPIO_A 51 sdmode-gpios = <&qcom_pinmux 25 GPIO_ACTIVE_HIGH>; 52 }; 52 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.