1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/awinic,aw8738.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Awinic AW8738 Audio Amplifier
10 - Stephan Gerhold <stephan@gerhold.net>
13 The Awinic AW8738 is a simple audio amplifier with different operation modes
14 (set using one-wire pulse control). The mode configures the speaker-guard
15 function (primarily the power limit for the amplifier).
18 - $ref: dai-common.yaml#
26 GPIO used for one-wire pulse control. The pin is typically called SHDN
27 (active-low), but this is misleading since it is actually more than
28 just a simple shutdown/enable control.
32 description: Operation mode (number of pulses for one-wire pulse control)
33 $ref: /schemas/types.yaml#/definitions/uint32
37 sound-name-prefix: true
44 additionalProperties: false
48 #include <dt-bindings/gpio/gpio.h>
50 compatible = "awinic,aw8738";
51 mode-gpios = <&msmgpio 114 GPIO_ACTIVE_HIGH>;
53 sound-name-prefix = "Speaker Amp";