[PATCH RFC 1/3] dt-bindings: sound: Add NXP TFA98XX TFA2 amplifier binding
From: David Heidelberg via B4 Relay
Date: Sun Aug 02 2026 - 08:44:49 EST
From: David Heidelberg <david@xxxxxxx>
Add a YAML devicetree binding schema for the NXP/Goodix TFA98XX TFA2
family of I2C-controlled smart speaker amplifiers with on-chip DSP.
The binding covers supported chip variants (TFA9872 through
TFA9912) and documents the optional reset and IRQ GPIO properties.
Signed-off-by: David Heidelberg <david@xxxxxxx>
---
.../devicetree/bindings/sound/nxp,tfa98xx.yaml | 54 ++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/nxp,tfa98xx.yaml b/Documentation/devicetree/bindings/sound/nxp,tfa98xx.yaml
new file mode 100644
index 0000000000000..e80c046894454
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/nxp,tfa98xx.yaml
@@ -0,0 +1,54 @@
+# SPDX-License-Identifier: (GPL-2.0-only)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/nxp,tfa98xx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NXP/Goodix TFA98xx (TFA2) smart speaker amplifiers
+
+maintainers:
+ - David Heidelberg <david@xxxxxxx>
+
+description:
+ The TFA98xx (TFA2) family are I2C-controlled class-D speaker amplifiers
+ with an integrated CoolFlux DSP.
+
+allOf:
+ - $ref: dai-common.yaml#
+
+properties:
+ compatible:
+ enum:
+ - nxp,tfa9894
+
+ reg:
+ maxItems: 1
+
+ reset-gpios:
+ maxItems: 1
+
+ '#sound-dai-cells':
+ const: 0
+
+required:
+ - compatible
+ - reg
+ - '#sound-dai-cells'
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ audio-codec@34 {
+ compatible = "nxp,tfa9894";
+ reg = <0x34>;
+ reset-gpios = <&tlmm 69 GPIO_ACTIVE_HIGH>;
+ #sound-dai-cells = <0>;
+ };
+ };
--
2.53.0