Devicetree
 help / color / mirror / Atom feed
* [PATCH RFC 0/3] Initial TFA2 family driver for tfa98xx
@ 2026-08-02 12:42 David Heidelberg via B4 Relay
  2026-08-02 12:42 ` [PATCH RFC 1/3] dt-bindings: sound: Add NXP TFA98XX TFA2 amplifier binding David Heidelberg via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-08-02 12:42 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Jaroslav Kysela, Takashi Iwai, Bjorn Andersson,
	Konrad Dybcio
  Cc: linux-sound, devicetree, linux-kernel, linux-arm-msm, phone-devel,
	David Heidelberg

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 <david@ixit.cz>
---
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 <david@ixit.cz>



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-08-02 12:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-02 12:42 [PATCH RFC 0/3] Initial TFA2 family driver for tfa98xx David Heidelberg via B4 Relay
2026-08-02 12:42 ` [PATCH RFC 1/3] dt-bindings: sound: Add NXP TFA98XX TFA2 amplifier binding David Heidelberg via B4 Relay
2026-08-02 12:45   ` sashiko-bot
2026-08-02 12:42 ` [PATCH RFC 2/3] ASoC: codecs: tfa98xx: add driver for TFA2 amplifiers David Heidelberg via B4 Relay
2026-08-02 12:48   ` sashiko-bot
2026-08-02 12:42 ` [PATCH RFC 3/3] arm64: dts: qcom: sdm845-oneplus-fajita: Enable speaker codec David Heidelberg via B4 Relay
2026-08-02 12:55   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox