This series of patches starts with a few small clean ups for the ADSP code, and then finally adds support for the rev 1 and 2 firmware file formats. The revision 1 format is in common usage in the field so it is long overdue to get support for that merged to mainline. The revision 2 format is fairly new but is starting to see some deployment as well.
There is still more work todo here. The main next step is to add support for arbitary length controls through the TLV binary control feature that was recently added to the kernel. This patch series will truncate any long controls to 512 bytes.
Thanks, Charles
Charles Keepax (13): ASoC: wm_adsp: Split out adsp1 & 2 setup algorithms ASoC: wm_adsp: Improve variable naming ASoC: wm_adsp: Remove len field from wm_adsp_alg_region ASoC: wm_adsp: Limit firmware control name to ALSA control name size ASoC: wm_adsp: Move temporary control name to the stack ASoC: wm_adsp: Clean up low level control read/write functions ASoC: wm_adsp: Factor out creation of alg_regions ASoC: wm_adsp: Remove private field from wm_coeff_ctl ASoC: wm_adsp: Group all the ALSA control functions together ASoC: wm_adsp: Add basic support for rev 1 firmware file format ASoC: wm_adsp: Add support for DSP control flags ASoC: wm_adsp: Add support for rev 2 firmware file format ASoC: wm_adsp: Warn that firmware file format 0 is depreciated
sound/soc/codecs/wm_adsp.c | 1129 +++++++++++++++++++++++++++----------------- sound/soc/codecs/wm_adsp.h | 6 +- sound/soc/codecs/wmfw.h | 44 ++- 3 files changed, 733 insertions(+), 446 deletions(-)