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: name-prefix.yaml#
28 description: optional GPIO to be asserted when receiver mode is enabled.
30 sound-name-prefix: true
33 description: regulator phandle for the VDDD power supply.
49 additionalProperties: false
58 compatible = "nxp,tfa9895";
60 sound-name-prefix = "Speaker Left";
61 #sound-dai-cells = <0>;
64 compatible = "nxp,tfa9895";
66 sound-name-prefix = "Speaker Right";
67 #sound-dai-cells = <0>;
72 #include <dt-bindings/gpio/gpio.h>
77 speaker_codec_top: audio-codec@34 {
78 compatible = "nxp,tfa9897";
80 vddd-supply = <&pm8916_l6>;
81 rcv-gpios = <&msmgpio 50 GPIO_ACTIVE_HIGH>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&speaker_top_default>;
84 sound-name-prefix = "Speaker Top";
85 #sound-dai-cells = <0>;
88 speaker_codec_bottom: audio-codec@36 {
89 compatible = "nxp,tfa9897";
91 vddd-supply = <&pm8916_l6>;
92 rcv-gpios = <&msmgpio 111 GPIO_ACTIVE_HIGH>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&speaker_bottom_default>;
95 sound-name-prefix = "Speaker Bottom";
96 #sound-dai-cells = <0>;