ASoC: codecs: tas5720: add support for TAS5720A-Q1 (automotive) variant
authorSteffen Aschbacher <steffen.aschbacher@stihl.de>
Sat, 28 Jan 2023 08:27:42 +0000 (10:27 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 30 Jan 2023 13:35:15 +0000 (13:35 +0000)
commitc24a62be09d8a0c7ede1c209055a4ac6760a45ee
treef833ffd3d8d6ddd3946785936a2cc891aaaf47d6
parent879142be618c05d234db31cbf69f101c53b7892f
ASoC: codecs: tas5720: add support for TAS5720A-Q1 (automotive) variant

This change adds support the TAS5720A-Q1 audio codec, in the same driver as
tas5720.

Functionally, this driver is pretty similar to it's TAS5720x variant.

The first 3 registers are the same, so the main control and device
identification can happen with these registers.

The next registers differ.
This variant offers control (in the registers) for 2 speakers, which is
implemented here (in a basic manner).

Signed-off-by: Steffen Aschbacher <steffen.aschbacher@stihl.de>
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Link: https://lore.kernel.org/r/20230128082744.41849-2-alex@shruggie.ro
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas5720.c
sound/soc/codecs/tas5720.h