[PATCH 1/2] ASoC: dt-bindings: Add NXP TFA9865 amplifier

From: Venkat Yadlapati via B4 Relay

Date: Sun Nov 15 2026 - 15:21:14 EST


From: Venkat Yadlapati <venkat.yadlapati@xxxxxxxxx>

The TFA9865 is a mono class-D speaker amplifier with a boost converter
and voltage/current sensing but no DSP. It is controlled over I2C and
receives audio over I2S/TDM.

An LLM was used to help write this commit message.

Signed-off-by: Venkat Yadlapati <venkat.yadlapati@xxxxxxxxx>
---
.../devicetree/bindings/sound/nxp,tfa9865.yaml | 65 ++++++++++++++++++++++
MAINTAINERS | 7 +++
2 files changed, 72 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/nxp,tfa9865.yaml b/Documentation/devicetree/bindings/sound/nxp,tfa9865.yaml
new file mode 100644
index 000000000000..955e25abe749
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/nxp,tfa9865.yaml
@@ -0,0 +1,65 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/nxp,tfa9865.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NXP/Goodix TFA9865 Audio Amplifier
+
+maintainers:
+ - Venkat Yadlapati <venkat.yadlapati@xxxxxxxxx>
+
+description:
+ The TFA9865 is a mono class-D speaker amplifier with an integrated boost
+ converter and voltage/current sensing. It is controlled over I2C and
+ receives audio over I2S/TDM.
+
+allOf:
+ - $ref: dai-common.yaml#
+
+properties:
+ compatible:
+ const: nxp,tfa9865
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ reset-gpios:
+ maxItems: 1
+
+ vddd-supply:
+ description: Digital supply (1.8 V)
+
+ '#sound-dai-cells':
+ const: 0
+
+ sound-name-prefix: true
+
+required:
+ - compatible
+ - reg
+ - '#sound-dai-cells'
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ audio-codec@35 {
+ compatible = "nxp,tfa9865";
+ reg = <0x35>;
+ interrupts-extended = <&tlmm 201 IRQ_TYPE_EDGE_FALLING>;
+ reset-gpios = <&tlmm 183 GPIO_ACTIVE_LOW>;
+ sound-name-prefix = "Speaker";
+ #sound-dai-cells = <0>;
+ };
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index 222b7fc2c3aa..bbe812e4257c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -20386,6 +20386,13 @@ F: drivers/gpu/drm/bridge/tda998x_drv.c
F: include/dt-bindings/display/tda998x.h
K: "nxp,tda998x"

+NXP TFA9865 AMPLIFIER DRIVER
+M: Venkat Yadlapati <venkat.yadlapati@xxxxxxxxx>
+L: linux-sound@xxxxxxxxxxxxxxx
+S: Maintained
+F: Documentation/devicetree/bindings/sound/nxp,tfa9865.yaml
+F: sound/soc/codecs/tfa9865.c
+
NXP TFA9879 DRIVER
M: Peter Rosin <peda@xxxxxxxxxxxxxx>
L: linux-sound@xxxxxxxxxxxxxxx

--
2.56.0