[PATCH RFC 0/3] Initial TFA2 family driver for tfa98xx
David Heidelberg via B4 Relay <[email protected]> Sun, 02 Aug 2026 14:42:39 +0200
| Newsgroups | org.kernel.vger.phone-devel,org.kernel.feeds.b4-sent,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound |
|---|---|
| Message-ID | <[email protected]> |
Introduce basic speaker support for the OnePlus 6T, using the tfa98xx driver. I've tested this driver only with speaker on OnePlus 6T. Please be careful with volume levels, as the speaker protection are available only with CoolFlux DSP enabled. The downstream driver requires the firmware to bring up CoolFlux DSP, but this driver completly avoids the DSP and thus operates without the firmware. This driver is different enough to not share the TFA1 codebase (tfa989x). In the future, should be possible to extend this driver with other tfa98xx TFA2 family based chips. This RFC version mainly exist for early adopters (e.g. other phones using tfa98xx amplifiers). You can find the code at: https://codeberg.org/sdm845/linux/commits/branch/b4/tfa98xx-upstream Signed-off-by: David Heidelberg <[email protected]> --- David Heidelberg (3): dt-bindings: sound: Add NXP TFA98XX TFA2 amplifier binding ASoC: codecs: tfa98xx: add driver for TFA2 amplifiers arm64: dts: qcom: sdm845-oneplus-fajita: Enable speaker codec .../devicetree/bindings/sound/nxp,tfa98xx.yaml | 54 +++ MAINTAINERS | 7 + arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts | 22 +- sound/soc/codecs/Kconfig | 11 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/tfa98xx.c | 421 +++++++++++++++++++++ 6 files changed, 510 insertions(+), 7 deletions(-) --- base-commit: 95d6a9ccef99117115e41e9adb271243bd5e985b change-id: 20260802-tfa98xx-upstream-fa89ce77b7fb Best regards, -- David Heidelberg <[email protected]>