diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2021-03-12 05:38:44 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-25 16:58:10 +0300 |
commit | 3c00eceb2a5391ed1ca6703b71cad35ab8cd4352 (patch) | |
tree | bce90116ebc40f356161b647dbe338092f82fab8 /sound/soc/fsl/Kconfig | |
parent | 1935050de0b6c6c961e9de51d5b5d05642f861f1 (diff) | |
download | linux-3c00eceb2a5391ed1ca6703b71cad35ab8cd4352.tar.xz |
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>
Diffstat (limited to 'sound/soc/fsl/Kconfig')
-rw-r--r-- | sound/soc/fsl/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index 8dbdc0c5ba58..3d3d14f3793e 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig @@ -133,6 +133,11 @@ config SND_SOC_IMX_AUDIO_RPMSG tristate depends on RPMSG +config SND_SOC_IMX_PCM_RPMSG + tristate + depends on SND_SOC_IMX_AUDIO_RPMSG + select SND_SOC_GENERIC_DMAENGINE_PCM + config SND_SOC_IMX_AUDMUX tristate "Digital Audio Mux module support" help |