On Mon, Jul 28, 2025 at 11:09 PM Iuliana Prodan wrote:
>
> On 7/28/2025 5:14 PM, Mathieu Poirier wrote:
> > On Mon, Jul 28, 2025 at 01:39:38PM +0300, Daniel Baluta wrote:
> >> On Tue, Jul 22, 2025 at 11:16 AM Shengjiu Wang
> >> wrote:
> >>>
> >&g
coredump, otherwise coredump will report error "ELF class is not set".
Fixes: ec0e5549f358 ("remoteproc: imx_dsp_rproc: Add remoteproc driver for DSP
on i.MX")
Signed-off-by: Shengjiu Wang
---
changes in v3
- merge two commit together
- add fixes tag and update commit message.
c
On Fri, Jul 18, 2025 at 7:24 PM Daniel Baluta wrote:
>
> On Fri, Jul 4, 2025 at 8:29 AM Shengjiu Wang wrote:
> >
> > When recovery is triggered, rproc_stop() is called first then
> > rproc_start(), but there is no rproc_unprepare_device() and
> > rproc_prepar
Add call rproc_coredump_set_elf_info() to initialize the elf info for
coredump, otherwise coredump will report error "ELF class is not set".
Signed-off-by: Shengjiu Wang
---
drivers/remoteproc/imx_dsp_rproc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/
. And make sure memory is cleared
before loading firmware.
Signed-off-by: Shengjiu Wang
---
drivers/remoteproc/imx_dsp_rproc.c | 43 +++---
1 file changed, 27 insertions(+), 16 deletions(-)
diff --git a/drivers/remoteproc/imx_dsp_rproc.c
b/drivers/remoteproc
ill in the coredump scope.
Shengjiu Wang (2):
remoteproc: imx_dsp_rproc: Add support of recovery process
remoteproc: imx_dsp_rproc: Add support of coredump
drivers/remoteproc/imx_dsp_rproc.c | 45 +++---
1 file changed, 29 insertions(+), 16 deletions(-)
--
2.34.1
On Wed, Jul 2, 2025 at 7:48 PM Shengjiu Wang wrote:
>
> On Wed, Jul 2, 2025 at 3:20 PM Shengjiu Wang wrote:
> >
> > On Tue, Jul 1, 2025 at 11:27 PM Mathieu Poirier
> > wrote:
> > >
> > > On Tue, Jul 01, 2025 at 10:28:33AM +0800, Shengjiu Wang wro
On Wed, Jul 2, 2025 at 3:20 PM Shengjiu Wang wrote:
>
> On Tue, Jul 1, 2025 at 11:27 PM Mathieu Poirier
> wrote:
> >
> > On Tue, Jul 01, 2025 at 10:28:33AM +0800, Shengjiu Wang wrote:
> > > On Tue, Jul 1, 2025 at 1:05 AM Mathieu Poirier
> > > wrote:
> &
On Tue, Jul 1, 2025 at 11:27 PM Mathieu Poirier
wrote:
>
> On Tue, Jul 01, 2025 at 10:28:33AM +0800, Shengjiu Wang wrote:
> > On Tue, Jul 1, 2025 at 1:05 AM Mathieu Poirier
> > wrote:
> > >
> > > On Wed, Jun 18, 2025 at 02:26:44PM +0800, S
On Tue, Jul 1, 2025 at 1:05 AM Mathieu Poirier
wrote:
>
> On Wed, Jun 18, 2025 at 02:26:44PM +0800, Shengjiu Wang wrote:
> > Add call rproc_coredump_set_elf_info() to initialize the elf info for
> > coredump, otherwise coredump will report an error "ELF class is not set&q
On Tue, Jul 1, 2025 at 12:49 AM Mathieu Poirier
wrote:
>
> On Thu, Jun 26, 2025 at 09:32:06AM +0800, Shengjiu Wang wrote:
> > On Wed, Jun 25, 2025 at 10:39 PM Mathieu Poirier
> > wrote:
> > >
> > > On Tue, 24 Jun 2025 at 21:25, Shengjiu Wang
> > > w
On Wed, Jun 25, 2025 at 10:39 PM Mathieu Poirier
wrote:
>
> On Tue, 24 Jun 2025 at 21:25, Shengjiu Wang wrote:
> >
> > On Mon, Jun 23, 2025 at 11:11 PM Mathieu Poirier
> > wrote:
> > >
> > > Good day,
> > >
> > > On Wed, Jun 18,
On Mon, Jun 23, 2025 at 11:11 PM Mathieu Poirier
wrote:
>
> Good day,
>
> On Wed, Jun 18, 2025 at 02:26:43PM +0800, Shengjiu Wang wrote:
> > when recovery is triggered, rproc_stop() is called first then
> > rproc_start(), but there is no rproc_unprepare_device() and
>
to stop callback, loading elf function also needs to be moved to start
callback, the load callback only store the firmware handler.
Signed-off-by: Shengjiu Wang
---
drivers/remoteproc/imx_dsp_rproc.c | 58 ++
1 file changed, 36 insertions(+), 22 deletions(-)
diff
Signed-off-by: Shengjiu Wang
---
drivers/remoteproc/imx_dsp_rproc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/remoteproc/imx_dsp_rproc.c
b/drivers/remoteproc/imx_dsp_rproc.c
index 9b9cddb224b0..9e7efb77b6e5 100644
--- a/drivers/remoteproc/imx_dsp_rproc.
Add coredump and recovery support.
Shengjiu Wang (2):
remoteproc: imx_dsp_rproc: Add support of recovery process
remoteproc: imx_dsp_rproc: Add support of coredump
drivers/remoteproc/imx_dsp_rproc.c | 64 ++
1 file changed, 39 insertions(+), 25 deletions
From: Viorel Suman
Enable Daisy Chain if in TDM mode and the number of played
channels is bigger than the maximum supported number of channels.
Signed-off-by: Viorel Suman
Signed-off-by: Shengjiu Wang
---
sound/soc/codecs/ak4458.c | 47 ++-
sound/soc
From: Viorel Suman
check the return value of ak4458_rstn_control.
Signed-off-by: Viorel Suman
Signed-off-by: Shengjiu Wang
---
changes in v2:
- fix "use of undeclared identifier 'ret'" reported by kernel test robot
sound/soc/codecs/ak4458.c | 21 -
From: Viorel Suman
check the return value of ak4458_rstn_control.
Signed-off-by: Viorel Suman
Signed-off-by: Shengjiu Wang
---
sound/soc/codecs/ak4458.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/sound/soc/codecs/ak4458.c b/sound/soc/codecs
Reset (aka power off) happens when the reset gpio is made active.
The reset gpio is GPIO_ACTIVE_LOW
Fixes: 920884777480 ("ASoC: ak5558: Add support for AK5558 ADC driver")
Signed-off-by: Shengjiu Wang
---
changes in v2:
- split the patch to two patches.
sound/soc/codecs/ak5558.c |
Change function name to ak5558_reset to match devicetree property
"reset-gpios".
Signed-off-by: Shengjiu Wang
---
changes in v2:
- split patches to two patches
sound/soc/codecs/ak5558.c | 23 +++
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a
Reset (aka power off) happens when the reset gpio is made active.
Change function name to ak5558_reset to match devicetree property
"reset-gpios".
Signed-off-by: Shengjiu Wang
---
sound/soc/codecs/ak5558.c | 30 ++
1 file changed, 10 insertions(+), 20
On Sun, Apr 11, 2021 at 10:43 PM Guenter Roeck wrote:
>
> On Fri, Mar 19, 2021 at 04:06:43PM +0800, Shengjiu Wang wrote:
> > When there is power domain bind with bus clock,
> >
> > The call flow:
> > devm_regmap_init_mmio_clk
> >- clk_prepare()
> >
s/show/slow/
Fixes: 920884777480 ("ASoC: ak5558: Add support for AK5558 ADC driver")
Signed-off-by: Shengjiu Wang
---
sound/soc/codecs/ak5558.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/ak5558.c b/sound/soc/codecs/ak5558.c
index 3a
Add compatible string "asahi-kasei,ak5552" for ak5552
Signed-off-by: Shengjiu Wang
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/sound/ak5558.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/sound/ak5
From: Viorel Suman
AK5552 is a 32-bit 2ch ADC and has the same register
map as AK5558.
Signed-off-by: Viorel Suman
Signed-off-by: Shengjiu Wang
---
changes in v2
- refine the control name.
sound/soc/codecs/ak5558.c | 97 ---
1 file changed, 90 insertions
On Tue, Mar 30, 2021 at 11:06 PM Mark Brown wrote:
>
> On Tue, Mar 30, 2021 at 02:32:51PM +0800, Shengjiu Wang wrote:
>
> > +static const struct snd_kcontrol_new ak5552_snd_controls[] = {
> > + SOC_ENUM("AK5552 Monaural Mode", ak5552_mono_enum[0]),
> >
Add compatible string "asahi-kasei,ak5552" for ak5552
Signed-off-by: Shengjiu Wang
---
Documentation/devicetree/bindings/sound/ak5558.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/sound/ak5558.txt
b/Documentation/devicetre
From: Viorel Suman
AK5552 is a 32-bit 2ch ADC and has the same register
map as AK5558.
Signed-off-by: Viorel Suman
Signed-off-by: Shengjiu Wang
---
sound/soc/codecs/ak5558.c | 93 ---
1 file changed, 88 insertions(+), 5 deletions(-)
diff --git a/sound/soc
rpmsg")
Signed-off-by: Shengjiu Wang
Reported-by: kernel test robot
---
sound/soc/fsl/fsl_rpmsg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/fsl/fsl_rpmsg.c b/sound/soc/fsl/fsl_rpmsg.c
index 2d09d8850e2c..ea5c973e2e84 100644
--- a/sound/soc/fsl/fsl_rpm
devm_regmap_init_mmio_clk.
Shengjiu Wang (6):
ASoC: fsl_esai: Don't use devm_regmap_init_mmio_clk
ASoC: fsl_spdif: Don't use devm_regmap_init_mmio_clk
ASoC: fsl_asrc: Don't use devm_regmap_init_mmio_clk
ASoC: fsl_easrc: Don't use devm_regmap_init_mmio_clk
ASoC: f
devm_regmap_init_mmio_clk,but explicitly enable
clock when it is used.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_easrc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sound/soc/fsl/fsl_easrc.c b/sound/soc/fsl/fsl_easrc.c
index 600e0d670ca6..5e33afe87c4a 100644
--- a/sound/soc
devm_regmap_init_mmio_clk,but explicitly enable
clock when it is used.
Signed-off-by: Shengjiu Wang
Reviewed-by: Viorel Suman
---
sound/soc/fsl/fsl_micfil.c | 25 -
1 file changed, 20 insertions(+), 5 deletions(-)
diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl
devm_regmap_init_mmio_clk,but explicitly enable
clock when it is used.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_spdif.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c
index 1cd3441d1c03..c631de325a6e 100644
--- a/sound
devm_regmap_init_mmio_clk,but explicitly enable
clock when it is used.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_esai.c | 48 ++--
1 file changed, 36 insertions(+), 12 deletions(-)
diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c
index
devm_regmap_init_mmio_clk,but explicitly enable
clock when it is used.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_audmix.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sound/soc/fsl/fsl_audmix.c b/sound/soc/fsl/fsl_audmix.c
index 8dc44dec7956..f931288e256c 100644
--- a
devm_regmap_init_mmio_clk,but explicitly enable
clock when it is used.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_asrc.c | 57 +++-
1 file changed, 44 insertions(+), 13 deletions(-)
diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl/fsl_asrc.c
index
Hi Mark
On Wed, Mar 10, 2021 at 9:26 PM Mark Brown wrote:
>
> On Wed, Mar 10, 2021 at 10:00:42AM +0800, Shengjiu Wang wrote:
>
> > changes in resend v2
> > - Add acked-by Charles
>
> Please don't resend for acks, it just makes for more noise.
ok, but could you
uot;ASoC: codec: wm9860: Refactor PLL out freq search")
Signed-off-by: Shengjiu Wang
---
sound/soc/codecs/wm8960.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c
index df351519a3a6..cda9cd935d4f 100644
--- a/sou
devm_regmap_init_mmio_clk, then explicitly enable clock when
using by pm_runtime_get(), if CONFIG_PM=n, then
fsl_sai_runtime_resume will be explicitly called.
Signed-off-by: Shengjiu Wang
Signed-off-by: Viorel Suman
---
sound/soc/fsl/fsl_sai.c | 48 +++--
1 file changed
Hi Mark
On Tue, Mar 16, 2021 at 9:51 PM Mark Brown wrote:
>
> On Tue, Mar 16, 2021 at 01:42:40PM +, Viorel Suman wrote:
>
> > To me it makes sense to manage the clocks and reset from the same place.
> > Currently we have the clocks management moved completely into runtime PM
> > fsl_sai_runti
The WM8958 codec is used on i.MX7D val board.
Signed-off-by: Shengjiu Wang
---
Documentation/devicetree/bindings/sound/fsl-asoc-card.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/fsl-asoc-card.txt
b/Documentation/devicetree/bindings/sound/fsl
WM8958 codec is used on some i.MX based platform.
So add it support in this generic driver.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/Kconfig | 2 ++
sound/soc/fsl/fsl-asoc-card.c | 17 +++--
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/sound/soc/fsl
On Tue, Mar 16, 2021 at 9:01 PM Mark Brown wrote:
>
> On Tue, Mar 16, 2021 at 05:27:06PM +0800, Shengjiu Wang wrote:
> > From: Viorel Suman
> >
> > SAI software reset is done in runtime resume,
> > there is no need to do it in fsl_sai_dai_probe.
>
> Pe
From: Viorel Suman
Remove redundant code and use snd_ctl_boolean_mono_info
instead.
Signed-off-by: Viorel Suman
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_spdif.c | 30 +++---
1 file changed, 3 insertions(+), 27 deletions(-)
diff --git a/sound/soc/fsl
From: Viorel Suman
SAI software reset is done in runtime resume,
there is no need to do it in fsl_sai_dai_probe.
Signed-off-by: Viorel Suman
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_sai.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc
Add compatible string for new added platforms which support spdif module.
They are i.MX8QXP, i.MX8MM, i.MX8MN, i.MX8MQ.
Signed-off-by: Shengjiu Wang
---
Documentation/devicetree/bindings/sound/fsl,spdif.yaml | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree
.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/Kconfig | 5 +
sound/soc/fsl/Makefile| 1 +
sound/soc/fsl/imx-pcm-rpmsg.c | 918 ++
sound/soc/fsl/imx-pcm-rpmsg.h | 512 +++
4 files changed, 1436 insertions(+)
create mode 100644
fsl_rpmsg is a virtual audio device. Mapping to real hardware
devices are SAI, DMA controlled by Cortex M core. What we see from
Linux side is a device which provides audio service by rpmsg channel.
Signed-off-by: Shengjiu Wang
---
.../devicetree/bindings/sound/fsl,rpmsg.yaml | 108
The platform device is not registered by device tree or
cpu dai driver, it is registered by the rpmsg channel,
So add a dedicated machine driver to handle this case.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/Kconfig | 11 +++
sound/soc/fsl/Makefile| 2 +
sound/soc/fsl/imx
This driver is used to accept the message from rpmsg audio
channel, and if this driver is probed, it will help to register
the platform driver, the platform driver will use this
audio channel to send and receive messages to and from Cortex-M
core.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl
This is a cpu dai driver for rpmsg audio use case,
which is mainly used for getting the user's configuration
from devicetree and configure the clocks which is used by
Cortex-M core.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/Kconfig | 10 ++
sound/soc/fsl/Makefile| 2 +
soun
ce will be registered by cpu dai driver.
- Fix do_div issue reported by kernel test robot
changes in v3:
- add local refcount for clk enablement in hw_params()
- update the document according Rob's comments
changes in v2:
- update codes and comments according to Mark's comments
Shengjiu W
Add snd_soc_pcm_component_ack back, which can be used to get an
updated buffer pointer in the platform driver.
On Asymmetric multiprocessor, this pointer can be sent to Cortex-M
core for audio processing.
Signed-off-by: Shengjiu Wang
---
include/sound/soc-component.h | 3 +++
sound/soc/soc
Hi Rob
On Thu, Mar 11, 2021 at 5:12 AM Rob Herring wrote:
>
> On Wed, Mar 10, 2021 at 6:33 AM Shengjiu Wang wrote:
> >
> > Hi Rob
> >
> > On Wed, Mar 10, 2021 at 10:49 AM Rob Herring wrote:
> > >
> > > On Mon, Mar 08, 2021 at 09:22:27PM +0800
Hi Rob
On Wed, Mar 10, 2021 at 10:49 AM Rob Herring wrote:
>
> On Mon, Mar 08, 2021 at 09:22:27PM +0800, Shengjiu Wang wrote:
> > fsl_rpmsg cpu dai driver is driver for rpmsg audio, which is mainly used
>
> Bindings describe h/w blocks, not drivers.
I will modify the descrip
it clock computation")
Signed-off-by: Shengjiu Wang
Signed-off-by: Daniel Baluta
Acked-by: Charles Keepax
---
changes in resend v2
- Add acked-by Charles
changes in v2:
- Find the real reason for the case, just patially remove bitclk relax
sound/soc/codecs/wm8960.c | 12 +---
1 fi
This driver is used to accept the message from rpmsg audio
channel, and if this driver is probed, it will help to register
the platform driver, the platform driver will use this
audio channel to send and receive messages to and from Cortex-M
core.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl
fsl_rpmsg cpu dai driver is driver for rpmsg audio, which is mainly used
for getting the user's configuration from device tree and configure the
clocks which is used by Cortex-M core. So in this document define the
needed property.
Signed-off-by: Shengjiu Wang
---
.../devicetree/bindings/
.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/Kconfig | 5 +
sound/soc/fsl/Makefile| 1 +
sound/soc/fsl/imx-pcm-rpmsg.c | 919 ++
sound/soc/fsl/imx-pcm-rpmsg.h | 512 +++
4 files changed, 1437 insertions(+)
create mode 100644
This is a cpu dai driver for rpmsg audio use case,
which is mainly used for getting the user's configuration
from devicetree and configure the clocks which is used by
Cortex-M core.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/Kconfig | 7 +
sound/soc/fsl/Makefile| 2 +
soun
The platform device is not registered by device tree or
cpu dai driver, it is registered by the rpmsg channel,
So add a dedicated machine driver to handle this case.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/Kconfig | 12
sound/soc/fsl/Makefile| 2 +
sound/soc/fsl/imx
Add snd_soc_pcm_component_ack back, which can be used to get an
updated buffer pointer in the platform driver.
On Asymmetric multiprocessor, this pointer can be sent to Cortex-M
core for audio processing.
Signed-off-by: Shengjiu Wang
---
include/sound/soc-component.h | 3 +++
sound/soc/soc
e the document according Rob's comments
changes in v2:
- update codes and comments according to Mark's comments
Shengjiu Wang (6):
ASoC: soc-component: Add snd_soc_pcm_component_ack
ASoC: fsl_rpmsg: Add CPU DAI driver for audio base on rpmsg
ASoC: dt-bindings: fsl_rpmsg: Add binding do
On Sun, Mar 7, 2021 at 4:37 AM Rob Herring wrote:
>
> On Thu, Feb 25, 2021 at 10:52:43AM +0800, Shengjiu Wang wrote:
> > Imx-rpmsg is a new added machine driver for supporting audio on Cortex-M
> > core. The Cortex-M core will control the audio interface, DMA and audio
&g
, so that when
no exact value can be derived from sysclk pick the closest
value greater than expected bitclk.
Signed-off-by: Shengjiu Wang
Reviewed-by: Daniel Baluta
---
changes in v2:
- Add debug message according to Charles's comments
sound/soc/codecs/wm8962.c | 23 +
From: Robin Gong
Request dma channel from specific dma controller instead of generic
dma controller list, otherwise, may get the wrong dma controller
if there are multi dma controllers such as i.MX8MP.
Signed-off-by: Robin Gong
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_asrc_dma.c
Hi
On Fri, Mar 5, 2021 at 4:05 AM Rob Herring wrote:
>
> On Thu, Feb 18, 2021 at 1:23 AM Shengjiu Wang wrote:
> >
> > On Thu, Feb 11, 2021 at 6:18 AM Rob Herring wrote:
> > >
> > > On Sun, Feb 07, 2021 at 06:23:55PM +0800, Shengjiu Wang wrote:
> > &
, so that when
no exact value can be derived from sysclk pick the closest
value greater than expected bitclk.
Signed-off-by: Shengjiu Wang
---
sound/soc/codecs/wm8962.c | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/sound/soc/codecs/wm8962.c b/sound
it clock computation")
Signed-off-by: Shengjiu Wang
Signed-off-by: Daniel Baluta
---
changes in v2:
- Find the real reason for the case, just patially remove bitclk relax
sound/soc/codecs/wm8960.c | 12 +---
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/sound/soc/code
ned-off-by: Daniel Baluta
Signed-off-by: Shengjiu Wang
---
sound/soc/codecs/wm8960.c | 29 +++--
1 file changed, 3 insertions(+), 26 deletions(-)
diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c
index df351519a3a6..368bec1dfbdb 100644
--- a/sound/soc/codecs
On Thu, Feb 25, 2021 at 9:17 PM Mark Brown wrote:
>
> On Thu, Feb 25, 2021 at 08:08:32PM +0800, Shengjiu Wang wrote:
>
> > If sound card doesn't need specific codec device, just
> > dummy codec is enough, then we can link the dummy component
> > directly.
&
means dummy component is specified.
simple-audio-card,codec {
sound-dai = <0>;
};
Signed-off-by: Shengjiu Wang
---
sound/soc/generic/simple-card.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/gen
.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/Kconfig | 5 +
sound/soc/fsl/Makefile| 1 +
sound/soc/fsl/imx-pcm-rpmsg.c | 919 ++
sound/soc/fsl/imx-pcm-rpmsg.h | 512 +++
4 files changed, 1437 insertions(+)
create mode 100644
The platform device is not registered by device tree or
cpu dai driver, it is registered by the rpmsg channel,
So add a dedicated machine driver to handle this case.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/Kconfig | 12
sound/soc/fsl/Makefile| 2 +
sound/soc/fsl/imx
h
the hardware.
Signed-off-by: Shengjiu Wang
---
.../bindings/sound/imx-audio-rpmsg.yaml | 55 +++
1 file changed, 55 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/imx-audio-rpmsg.yaml
diff --git a/Documentation/devicetree/bindings/sound/imx-
This driver is used to accept the message from rpmsg audio
channel, and if this driver is probed, it will help to register
the platform driver, the platform driver will use this
audio channel to send and receive message to and from Cortex-M
core.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl
fsl_rpmsg cpu dai driver is driver for rpmsg audio, which is mainly used
for getting the user's configuration from device tree and configure the
clocks which is used by Cortex-M core. So in this document define the
needed property.
Signed-off-by: Shengjiu Wang
---
.../devicetree/bindings/
.
changes in v3:
- add local refcount for clk enablement in hw_params()
- update the document according Rob's comments
changes in v2:
- update codes and comments according to Mark's comments
Shengjiu Wang (7):
ASoC: soc-component: Add snd_soc_pcm_component_ack
ASoC: fsl_rpmsg: Add CPU DAI
Add snd_soc_pcm_component_ack back, which can be used to get updated
buffer pointer in platform driver.
On Asymmetric multiprocessor, this pointer can be sent to Cortex-M
core for audio processing.
Signed-off-by: Shengjiu Wang
---
include/sound/soc-component.h | 3 +++
sound/soc/soc
This is a cpu dai driver for rpmsg audio use case,
which is mainly used for getting the user's configuration
from devicetree and configure the clocks which is used by
Cortex-M core.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/Kconfig | 7 +
sound/soc/fsl/Makefile| 2 +
soun
Add missed MODULE_DEVICE_TABLE for the driver can be loaded
automatically at boot.
Fixes: 920884777480 ("ASoC: ak5558: Add support for AK5558 ADC driver")
Cc:
Signed-off-by: Shengjiu Wang
---
sound/soc/codecs/ak5558.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/cod
Add missed MODULE_DEVICE_TABLE for the driver can be loaded
automatically at boot.
Fixes: 08660086eff9 ("ASoC: ak4458: Add support for AK4458 DAC driver")
Cc:
Signed-off-by: Shengjiu Wang
---
sound/soc/codecs/ak4458.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/cod
From: Viorel Suman
Move reset assert into runtime_resume since we
cannot rely on reset assert state when the device
is put out from suspend.
Signed-off-by: Viorel Suman
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_xcvr.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions
On SoCs such as i.MX7ULP, cpuidle has some levels which
may disable system/bus clocks, so need to add pm_qos to
prevent cpuidle from entering low level idles and make sure
system/bus clocks are enabled when sai is active.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_sai.c | 12
On Wed, Feb 10, 2021 at 11:39 PM Mark Brown wrote:
>
> On Wed, Feb 10, 2021 at 02:35:29PM +0800, Shengjiu Wang wrote:
> > On Wed, Feb 10, 2021 at 6:30 AM Mark Brown wrote:
>
> > > Like I say I'd actually recommend moving this control to DAPM.
>
> > I may und
On Thu, Feb 11, 2021 at 6:18 AM Rob Herring wrote:
>
> On Sun, Feb 07, 2021 at 06:23:55PM +0800, Shengjiu Wang wrote:
> > Imx-rpmsg is a new added machine driver for supporting audio on Cortex-M
> > core. The Cortex-M core will control the audio interface, DMA and audio
&g
On Thu, Feb 11, 2021 at 6:13 AM Rob Herring wrote:
>
> On Sun, Feb 07, 2021 at 06:23:51PM +0800, Shengjiu Wang wrote:
> > fsl_rpmsg cpu dai driver is driver for rpmsg audio, which is mainly used
> > for getting the user's configuration from device tree and configure the
&
On Wed, Feb 10, 2021 at 6:30 AM Mark Brown wrote:
>
> On Tue, Feb 09, 2021 at 05:16:16PM +0800, Shengjiu Wang wrote:
> > On Mon, Feb 8, 2021 at 7:53 PM Mark Brown wrote:
>
> > > hw_params() can be called multiple times and there's no need for it to
> > > be
On Mon, Feb 8, 2021 at 7:53 PM Mark Brown wrote:
>
> On Sun, Feb 07, 2021 at 06:23:50PM +0800, Shengjiu Wang wrote:
>
> > +static int fsl_rpmsg_hw_params(struct snd_pcm_substream *substream,
> > +struct snd_pcm_hw_params *params,
> > +
On Tue, Feb 9, 2021 at 12:39 AM Pierre-Louis Bossart
wrote:
>
>
>
> On 2/8/21 2:12 AM, Shengjiu Wang wrote:
> > This log message should be a debug message, because it
> > doesn't return directly but continue next loop.
> >
> > Signed-off-by: Shengjiu Wa
This log message should be a debug message, because it
doesn't return directly but continue next loop.
Signed-off-by: Shengjiu Wang
---
sound/soc/soc-pcm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index 605acec
.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/Kconfig | 5 +
sound/soc/fsl/Makefile| 1 +
sound/soc/fsl/imx-pcm-rpmsg.c | 919 ++
sound/soc/fsl/imx-pcm-rpmsg.h | 512 +++
4 files changed, 1437 insertions(+)
create mode 100644
;
> Signed-off-by: Rikard Falkeborn
Acked-by: Shengjiu Wang
h
the hardware.
Signed-off-by: Shengjiu Wang
---
.../bindings/sound/imx-audio-rpmsg.yaml | 48 +++
1 file changed, 48 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/imx-audio-rpmsg.yaml
diff --git a/Documentation/devicetree/bindings/sound/imx-
This driver is used to accept the message from rpmsg audio
channel, and if this driver is probed, it will help to register
the platform driver, the platform driver will use this
audio channel to send and receive message to and from Cortex-M
core.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl
The platform device is not registered by device tree or
cpu dai driver, it is registered by the rpmsg channel,
So add a dedicated machine driver to handle this case.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/Kconfig | 12
sound/soc/fsl/Makefile| 2 +
sound/soc/fsl/imx
Add snd_soc_pcm_component_ack back, which can be used to get updated
buffer pointer in platform driver.
On Asymmetric multiprocessor, this pointer can be sent to Cortex-M
core for audio processing.
Signed-off-by: Shengjiu Wang
---
include/sound/soc-component.h | 3 +++
sound/soc/soc
fsl_rpmsg cpu dai driver is driver for rpmsg audio, which is mainly used
for getting the user's configuration from device tree and configure the
clocks which is used by Cortex-M core. So in this document define the
needed property.
Signed-off-by: Shengjiu Wang
---
.../devicetree/bindings/
This is a cpu dai driver for rpmsg audio use case,
which is mainly used for getting the user's configuration
from devicetree and configure the clocks which is used by
Cortex-M core.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/Kconfig | 7 ++
sound/soc/fsl/Makefile| 2 +
soun
1 - 100 of 474 matches
Mail list logo