OSDN Git Service

firmware: cs_dsp: add driver to support firmware loading on Cirrus Logic DSPs
authorSimon Trimmer <simont@opensource.cirrus.com>
Mon, 13 Sep 2021 16:00:57 +0000 (17:00 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Sep 2021 12:00:42 +0000 (13:00 +0100)
commitf6bc909e7673c30abcbdb329e7d0aa2e83c103d7
tree88b93cf757f56bef051555ef8fbb30c83e8af9dc
parent2dd044641ec3672433b9fe3ec47b236621757aa8
firmware: cs_dsp: add driver to support firmware loading on Cirrus Logic DSPs

wm_adsp originally provided firmware loading on some audio DSP and was
implemented as an ASoC codec driver. However, the firmware loading now
covers a wider range of DSP cores and peripherals containing them,
beyond just audio. So it needs to be available to non-audio drivers. All
the core firmware loading support has been moved into a new driver
cs_dsp, leaving only the ASoC-specific parts in wm_adsp.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210913160057.103842-17-simont@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
MAINTAINERS
drivers/firmware/Kconfig
drivers/firmware/Makefile
drivers/firmware/cirrus/Kconfig [new file with mode: 0644]
drivers/firmware/cirrus/Makefile [new file with mode: 0644]
drivers/firmware/cirrus/cs_dsp.c [new file with mode: 0644]
include/linux/firmware/cirrus/cs_dsp.h [new file with mode: 0644]
include/linux/firmware/cirrus/wmfw.h [moved from sound/soc/codecs/wmfw.h with 100% similarity]
sound/soc/codecs/Kconfig
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.h