1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/nxp,tfa989x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP/Goodix TFA989X (TFA1) Audio Amplifiers
10 - Stephan Gerhold <stephan@gerhold.net>
13 - $ref: dai-common.yaml#
29 description: optional GPIO to be asserted when receiver mode is enabled.
31 sound-name-prefix: true
34 description: regulator phandle for the VDDD power supply.
50 additionalProperties: false
59 compatible = "nxp,tfa9895";
61 sound-name-prefix = "Speaker Left";
62 #sound-dai-cells = <0>;
65 compatible = "nxp,tfa9895";
67 sound-name-prefix = "Speaker Right";
68 #sound-dai-cells = <0>;
73 #include <dt-bindings/gpio/gpio.h>
78 speaker_codec_top: audio-codec@34 {
79 compatible = "nxp,tfa9897";
81 vddd-supply = <&pm8916_l6>;
82 rcv-gpios = <&msmgpio 50 GPIO_ACTIVE_HIGH>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&speaker_top_default>;
85 sound-name-prefix = "Speaker Top";
86 #sound-dai-cells = <0>;
89 speaker_codec_bottom: audio-codec@36 {
90 compatible = "nxp,tfa9897";
92 vddd-supply = <&pm8916_l6>;
93 rcv-gpios = <&msmgpio 111 GPIO_ACTIVE_HIGH>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&speaker_bottom_default>;
96 sound-name-prefix = "Speaker Bottom";
97 #sound-dai-cells = <0>;