ASoC: imx-pcm-rpmsg: Add platform driver for audio base on rpmsg
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 12 Mar 2021 02:38:44 +0000 (10:38 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 25 Mar 2021 13:58:10 +0000 (13:58 +0000)
commit3c00eceb2a5391ed1ca6703b71cad35ab8cd4352
treebce90116ebc40f356161b647dbe338092f82fab8
parent1935050de0b6c6c961e9de51d5b5d05642f861f1
ASoC: imx-pcm-rpmsg: Add platform driver for audio base on rpmsg

Platform driver based on rpmsg is the interface for sending and
receiving rpmsg to and from M core. It will tell the Cortex-M core
sound format/rate/channel, where is the data buffer, where is
the period size, when to start, when to stop and when suspend
or resume happen, each this behavior there is defined rpmsg
command.

Especially we designed the low power audio case, that is to
allocate a large buffer and fill the data, then Cortex-A core can go
to sleep mode, Cortex-M core continue to play the sound, when the
buffer is consumed, Cortex-M core will trigger the Cortex-A core to
wake up.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1615516725-4975-6-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/Kconfig
sound/soc/fsl/Makefile
sound/soc/fsl/imx-pcm-rpmsg.c [new file with mode: 0644]
sound/soc/fsl/imx-pcm-rpmsg.h [new file with mode: 0644]