ASoC: tas2781: Add tas2563 into driver
authorShenghao Ding <shenghao-ding@ti.com>
Thu, 4 Jan 2024 14:57:19 +0000 (22:57 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 5 Jan 2024 13:27:18 +0000 (13:27 +0000)
commit9f1bcd16e2bd41d758438f1d74e5f2d35f1e8c8e
tree652c77131482a77fc1494a82cfc08e2c2f4e3579
parente9aa44736cb75e901d76ee59d80db1ae79d516f1
ASoC: tas2781: Add tas2563 into driver

Move tas2563 from tas2562 driver to tas2781 driver to unbind tas2563 from
tas2562 driver code and bind it to tas2781 driver code, because tas2563
only work in bypass-DSP mode with tas2562 driver. In order to enable DSP
mode for tas2563, it has been moved to tas2781 driver. As to the hardware
part, such as register setting and DSP firmware, all these are stored in
the binary firmware. What tas2781 drivder does is to parse the firmware
and download it to the chip, then power on the chip. So, tas2781 driver
can be resued as tas2563 driver. Only attention will be paid to downloading
corresponding firmware.

Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
Link: https://msgid.link/r/20240104145721.1398-4-shenghao-ding@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2781-i2c.c