[RFC PATCH 0/2] TAS2563 DSP Firmware Loader

From: Dan Murphy
Date: Tue Jun 09 2020 - 13:29:13 EST


Hello

The TAS2563 amplifier has a DSP that can run programs and configurations to
produce alternate audio experiences. The DSP firmware is not a typical firmware
as the binary may contain various programs and configurations that are
selectable during run time.

These programs and configurations are selectable via files under the I2C dev
node. There may be a better way to select this through ALSA controls but I was
unable to find a good example of this. This is why this is an RFC patchset.

Dan

Dan Murphy (2):
dt-bindings: tas2562: Add firmware support for tas2563
ASoc: tas2563: DSP Firmware loading support

.../devicetree/bindings/sound/tas2562.yaml | 4 +
sound/soc/codecs/Makefile | 2 +-
sound/soc/codecs/tas2562.c | 48 ++-
sound/soc/codecs/tas2562.h | 25 ++
sound/soc/codecs/tas25xx_dsp_loader.c | 377 ++++++++++++++++++
sound/soc/codecs/tas25xx_dsp_loader.h | 93 +++++
6 files changed, 530 insertions(+), 19 deletions(-)
create mode 100644 sound/soc/codecs/tas25xx_dsp_loader.c
create mode 100644 sound/soc/codecs/tas25xx_dsp_loader.h

--
2.26.2