]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite4e13688a1349cb99db95dcbd760a657ae67dabd
treebce90116ebc40f356161b647dbe338092f82fab8
parent53f946ee8441243923a56f23e9e4a4260b5a514f
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]