Message ID | 20240311111349.723256-1-chancel.liu@nxp.com (mailing list archive) |
---|---|
Headers | show |
Series | ASoC: fsl: Support register and unregister rpmsg sound card through remoteproc | expand |
On Mon, Mar 11, 2024 at 7:14 PM Chancel Liu <chancel.liu@nxp.com> wrote: > > 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. Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com> Best regards Shengjiu Wang > > changes in v2 > - Fix build errors reported by kernel test robot > > changes in v3 > - Add a new patch for fsl_rpmsg to register CPU DAI with rpmsg channel > name > - Update imx-rpmsg.c to get DT node of ASoC CPU DAI device with rpmsg > channel name instead of using undocumented bindings > > Chancel Liu (5): > 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: fsl_rpmsg: Register CPU DAI with name of rpmsg channel > ASoC: fsl: imx-rpmsg: Update to correct DT node > > sound/soc/fsl/fsl_rpmsg.c | 43 ++++++++++++++++++++------------- > sound/soc/fsl/imx-audio-rpmsg.c | 21 +++++++++++++--- > sound/soc/fsl/imx-pcm-rpmsg.c | 11 ++++++--- > sound/soc/fsl/imx-rpmsg.c | 28 ++++++++++++++------- > 4 files changed, 71 insertions(+), 32 deletions(-) > > -- > 2.43.0 >
On Mon, 11 Mar 2024 20:13:44 +0900, Chancel Liu wrote: > 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. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/5] ASoC: fsl: imx-pcm-rpmsg: Register component with rpmsg channel name commit: 41f96cd53f2838ac4894491ac5eadb06f1e5b858 [2/5] ASoC: fsl: imx-audio-rpmsg: Register device with rpmsg channel name commit: dacc7459745df168152b5cceba34efade9b5e063 [3/5] ASoC: fsl: Let imx-audio-rpmsg register platform device for card commit: c73524768e9e1a7ac9eb3a4d36a1ac0d34f22644 [4/5] ASoC: fsl: fsl_rpmsg: Register CPU DAI with name of rpmsg channel commit: 0aa7f5406afa828a93d84d75c9b9ac991cd75367 [5/5] ASoC: fsl: imx-rpmsg: Update to correct DT node commit: c14445bdcb98feddf9afaeb05e6193cc1f8eec1a All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark