[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240307074437.1472593-1-chancel.liu@nxp.com>
Date: Thu, 7 Mar 2024 16:44:33 +0900
From: Chancel Liu <chancel.liu@....com>
To: shengjiu.wang@...il.com,
Xiubo.Lee@...il.com,
festevam@...il.com,
nicoleotsuka@...il.com,
lgirdwood@...il.com,
broonie@...nel.org,
perex@...ex.cz,
tiwai@...e.com,
shawnguo@...nel.org,
s.hauer@...gutronix.de,
kernel@...gutronix.de,
linux-imx@....com,
alsa-devel@...a-project.org,
linuxppc-dev@...ts.ozlabs.org,
linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Cc: Chancel Liu <chancel.liu@....com>
Subject: [PATCH v2 0/4] ASoC: fsl: Support register and unregister rpmsg sound card through remoteproc
echo /lib/firmware/fw.elf > /sys/class/remoteproc/remoteproc0/firmware
(A) echo start > /sys/class/remoteproc/remoteproc0/state
(B) echo stop > /sys/class/remoteproc/remoteproc0/state
The rpmsg sound card is registered in (A) and unregistered in (B).
After "start", imx-audio-rpmsg registers devices for ASoC platform driver
and machine driver. Then sound card is registered. After "stop",
imx-audio-rpmsg unregisters devices for ASoC platform driver and machine
driver. Then sound card is unregistered.
changes in v2
- Fix build errors reported by kernel test robot
Chancel Liu (4):
ASoC: fsl: imx_pcm_rpmsg: Register component with rpmsg channel name
ASoC: fsl: imx-audio-rpmsg: Register device with rpmsg channel name
ASoC: fsl: Let imx-audio-rpmsg register platform device for card
ASoC: fsl: imx-rpmsg: Update to correct DT node
sound/soc/fsl/fsl_rpmsg.c | 11 -----------
sound/soc/fsl/imx-audio-rpmsg.c | 21 ++++++++++++++++++---
sound/soc/fsl/imx-pcm-rpmsg.c | 11 ++++++++---
sound/soc/fsl/imx-rpmsg.c | 21 ++++++++++++++++++---
4 files changed, 44 insertions(+), 20 deletions(-)
--
2.43.0
Powered by blists - more mailing lists