XCVR driver is not only used for i.MX8MP platform, so update driver name
to make it more generic.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_xcvr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c
index 83aea341c1b6
Add several improvements for the sai interface.
1.allow to set mclk rate with zero clk_id for master mode
2.add xlate_tdm_slot_mask() callback to avoid channel constrain
3.separate 'is_dsp_mode' for tx and rx
4.separate set_tdm_slot() for tx and rx
Shengjiu Wang (4):
ASoC: fsl_sai
The transmitter and receiver of SAI can be used for different slot number
and slot width configuration, so refine fsl_sai_set_dai_tdm_slot(), add
fsl_sai_set_dai_tdm_slot_tx() for tx and fsl_sai_set_dai_tdm_slot_rx()
for rx.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_sai.c | 45
The transmitter and receiver of SAI can be used for different dsp modes,
then 'is_dsp_mode' needs to be separated.
Expand 'is_dsp_mode' to array 'is_dsp_mode[]' to support different
configuration of tx and rx.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_sai
so add an empty xlate_tdm_slot_mask() callback to avoid the
channel constraint in __soc_pcm_hw_params().
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_sai.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index bcb46a0b5e68..9a450f
n to be if clk_id is
zero, then set the FSL_SAI_CLK_MAST1's rate. This would not change the
original function for master mode.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_sai.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/sound/so
With audio graph card, original cpu dai is changed to codec device in
backend, so if cpu dai is dummy device in backend, get the codec dai
device, which is the real hardware device connected.
The specific case is ASRC->SAI->AMIX->CODEC.
Signed-off-by: Shengjiu Wang
---
soun
In order to make the audmix device linked by audio graph card, make
'dais' property to be optional.
If 'dais' property exists, then register the imx-audmix card driver.
otherwise, it should be linked by audio graph card.
Signed-off-by: Shengjiu Wang
---
sound/soc/f
Make 'dais' property to be optional. When there is no 'dais' property,
driver won't register the card, dts should have audio graph card node
for linking this device.
Signed-off-by: Shengjiu Wang
---
Documentation/devicetree/bindings/sound/fsl,audmix.yaml | 1 -
1
This device can be used in conjunction with audio-graph-card to provide
an endpoint for binding with the other side of the audio link.
Signed-off-by: Shengjiu Wang
---
.../devicetree/bindings/sound/fsl,audmix.yaml | 60 +++
1 file changed, 60 insertions(+)
diff --git a
This device can be used in conjunction with audio-graph-card to provide
an endpoint for binding with the other side of the audio link.
Signed-off-by: Shengjiu Wang
---
.../devicetree/bindings/sound/fsl,sai.yaml| 51 +++
1 file changed, 51 insertions(+)
diff --git a
Change 'dais' property to be optional, that fsl_audmix device can be
linked with SAI device by audio graph card.
Shengjiu Wang (4):
ASoC: dt-bindings: fsl,sai: Document audio graph port
ASoC: dt-bindings: fsl,audmix: Document audio graph port
ASoC: dt-bindings: fsl,audmix:
> receiver")
> Signed-off-by: Chancel Liu
Acked-by: Shengjiu Wang
Best regards
Shengjiu Wang
> ---
> - changes in v3
> Squash two fix patches in one commit
>
> sound/soc/fsl/fsl_sai.c| 6 +++---
> sound/soc/fsl/imx-audmix.c | 4 ++--
> 2 files changed, 5 inser
With the DPCM case, the backend only support capture or playback, then
the linked frontend can only support capture or playback, but frontend
can't automatically enable only capture or playback, it needs the input
from dt-binding.
Signed-off-by: Shengjiu Wang
Reviewed-by: Daniel Baluta
Rev
Refer to audio graph card, add playback-only and capture-only property
for imx-audio-card.yaml for the case that only playback or capture is
supported.
Signed-off-by: Shengjiu Wang
Reviewed-by: Daniel Baluta
Reviewed-by: Iuliana Prodan
---
.../devicetree/bindings/sound/imx-audio-card.yaml
changes in v2:
- wrap at 75 chars for commit messages
Shengjiu Wang (2):
ASoC: dt-bindings: imx-card: Add playback-only and capture-only
property
ASoC: imx-card: Add playback_only or capture_only support
.../devicetree/bindings/sound/imx-audio-card.yaml | 14 ++
sound/soc
t; [8.839917] fsl-asoc-card sound-wm8960: ASoC: source widget CPU-Capture
> overwritten
>
> Use different stream names to avoid such warnings.
Only this change should cause issue for imx-audmix driver.
Best regards
Shengjiu Wang
>
> Fixes: 15c958390460 ("ASoC: fsl_sai: Ad
Refer to audio graph card, add playback-only and capture-only property
for imx-audio-card.yaml for the case that only playback or capture is
supported.
Signed-off-by: Shengjiu Wang
Reviewed-by: Daniel Baluta
---
.../devicetree/bindings/sound/imx-audio-card.yaml | 8
1 file
With the DPCM case, the backend only support capture or playback, then
the linked frontend can only support capture or playback, but frontend
can't automatically enable only capture or playback, it needs the input
from dt-binding.
Signed-off-by: Shengjiu Wang
Reviewed-by: Daniel B
Be similar to audio graph card, support playback or capture only for
imx-audio-card.
imx-card can't directly refer to audio-graph-port.yaml, because it is
not based on 'ports'. Add playback-only and capture-only property
directly
changes in v2:
- wrap at 75 chars for commit mes
, rate constraint
may be specific for each platform, which is not necessary for machine
driver, so remove it.
Fixes: b86ef5367761 ("ASoC: fsl: Add Audio Mixer machine driver")
Signed-off-by: Shengjiu Wang
---
changes in v2:
- remove cpu_mclk and related constraint setting
sound/soc/fsl/im
chine driver")
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/imx-audmix.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/fsl/imx-audmix.c b/sound/soc/fsl/imx-audmix.c
index 231400661c90..1b16470b2f7c 100644
--- a/sound/soc/fsl/imx-audmix.c
+++ b/sound/soc/fsl/imx-audmix.c
On Tue, Feb 11, 2025 at 11:32 PM Frank Li wrote:
>
> On Tue, Feb 11, 2025 at 11:57:36AM +0800, Shengjiu Wang wrote:
> > Refer to audio graph card, add playback-only and capture-only property
> > for imx-audio-card.yaml for the case that only playback or capture
> > is s
On Tue, Feb 11, 2025 at 11:34 PM Frank Li wrote:
>
> On Tue, Feb 11, 2025 at 11:57:37AM +0800, Shengjiu Wang wrote:
> > With the DPCM case, the backend only support capture or
> > playback, then the linked frontend can only support
> > capture or playback, but fron
Be similar to audio graph card, support playback or capture only
for imx-audio-card.
Shengjiu Wang (2):
ASoC: dt-bindings: imx-card: Add playback-only and capture-only
property
ASoC: imx-card: Add playback_only or capture_only support
.../devicetree/bindings/sound/imx-audio-card.yaml
With the DPCM case, the backend only support capture or
playback, then the linked frontend can only support
capture or playback, but frontend can't automatically
enable only capture or playback, it needs the input
from dt-binding.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/imx-card.
Refer to audio graph card, add playback-only and capture-only property
for imx-audio-card.yaml for the case that only playback or capture
is supported.
Signed-off-by: Shengjiu Wang
---
.../devicetree/bindings/sound/imx-audio-card.yaml | 8
1 file changed, 8 insertions(+)
diff
: Shengjiu Wang
---
sound/soc/fsl/fsl_micfil.c | 49 ++
sound/soc/fsl/fsl_micfil.h | 1 +
2 files changed, 45 insertions(+), 5 deletions(-)
diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c
index fa4136683392..73d8910a6188 100644
--- a/sound/soc
"pair->dma_buffer" as a flag for memory to memory case,
when it is allocated, handle the suspend operation for the related
pairs.
Fixes: 24a01710f627 ("ASoC: fsl_asrc_m2m: Add memory to memory function")
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_asrc_m2m.c | 2 +-
1 fil
The asrc_m2m_device_run() function is the main process function
of converting, the error need to be returned to user, that user
can handle error case properly.
Fixes: 24a01710f627 ("ASoC: fsl_asrc_m2m: Add memory to memory function")
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_
1. Fix the suspend failure for memory to peripheral function.
2. Return error value for processing function.
Shengjiu Wang (2):
ASoC: fsl_asrc_m2m: only handle pairs for m2m in the suspend
ASoC: fsl_asrc_m2m: return error value in asrc_m2m_device_run()
sound/soc/fsl/fsl_asrc_m2m.c | 16
Add compatible string "fsl,imx943-micfil" for i.MX943 platform.
The definition of register map and some register bit map is
different on the i.MX943 platform.
Signed-off-by: Shengjiu Wang
---
Documentation/devicetree/bindings/sound/fsl,micfil.yaml | 1 +
1 file changed, 1 insertio
.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_micfil.c | 98 ++
sound/soc/fsl/fsl_micfil.h | 2 +-
2 files changed, 78 insertions(+), 22 deletions(-)
diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c
index e908cfb594ab..1075598a6647
On i.MX943, the FIFO data address is changed and the bit width
of CICOSR is changed.
Add a new compatible string and update driver for these changes.
Shengjiu Wang (2):
ASoC: fsl_micfil: Add i.MX943 platform support
ASoC: dt-bindings: fsl,micfil: Add compatible string for i.MX943
platform
-by: Shengjiu Wang
---
sound/soc/fsl/fsl_mqs.c | 28
1 file changed, 28 insertions(+)
diff --git a/sound/soc/fsl/fsl_mqs.c b/sound/soc/fsl/fsl_mqs.c
index 0513e9e8402e..e34e5ea98de5 100644
--- a/sound/soc/fsl/fsl_mqs.c
+++ b/sound/soc/fsl/fsl_mqs.c
@@ -410,12 +410,40
compatible strings are
"fsl,imx943-aonmix-mqs", "fsl,imx943-wakeupmix-mqs".
Signed-off-by: Shengjiu Wang
---
Documentation/devicetree/bindings/sound/fsl,mqs.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/fsl,mqs.yaml
b/Docu
There are two MQS instances on the i.MX943 platform.
The definition of bit positions in the control register are
different. In order to support these MQS modules, define
two compatible strings to distinguish them.
Shengjiu Wang (2):
ASoC: fsl_mqs: Add i.MX943 platform support
ASoC: dt
: sparse:got restricted snd_pcm_format_t [assigned]
[usertype] k
Fixes: 24a01710f627 ("ASoC: fsl_asrc_m2m: Add memory to memory function")
Reported-by: kernel test robot
Closes:
https://lore.kernel.org/oe-kbuild-all/202412180043.paa4t4sq-...@intel.com/
Signed-off-by: Shengjiu Wang
On Thu, Dec 12, 2024 at 7:45 PM Mark Brown wrote:
>
> On Thu, Dec 12, 2024 at 03:45:07PM +0800, Shengjiu Wang wrote:
> > Implement the ASRC memory to memory function using
> > the compress framework, user can use this function with
> > compress ioctl interface.
> >
Register m2m platform device, that user can
use M2M feature.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_asrc.c | 37 +
1 file changed, 33 insertions(+), 4 deletions(-)
diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl
Register m2m platform device,that user can
use M2M feature.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_easrc.c | 33 +++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/sound/soc/fsl/fsl_easrc.c b/sound/soc/fsl
add 'src_d' in union snd_codec_options
structure. These are mainly used for capbility query.
Signed-off-by: Jaroslav Kysela
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
Acked-by: Vinod Koul
---
include/uapi/sound/compress_params.h | 23 +--
1 file changed, 21 inser
output length according to input length
m2m_get_maxburst: burst size for dma
m2m_pair_suspend: suspend function of pair, optional.
m2m_pair_resume: resume function of pair
get_output_fifo_size: get remaining data size in FIFO
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc
ASRC can be used on memory to memory case, define several
functions for m2m usage and export them as function pointer.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_easrc.c | 228 ++
sound/soc/fsl/fsl_easrc.h | 4 +
2 files
Implement the ASRC memory to memory function using
the compress framework, user can use this function with
compress ioctl interface.
This feature can be shared by ASRC and EASRC drivers
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/Kconfig | 2 +
sound
ASRC_RATIO_MOD in this version because it uses .set_metadata()
Will wait Jaroslav's update or other better method in the future.
- Address some comments from Pierre.
changes in v2:
- Remove the changes in compress API
- drop the SNDRV_COMPRESS_SRC_RATIO_MOD
- drop the SND_AUDIOCODEC_SRC an
On Wed, Dec 11, 2024 at 11:28 PM Mark Brown wrote:
>
> On Wed, Dec 11, 2024 at 11:08:47AM +0800, Shengjiu Wang wrote:
> > Implement the ASRC memory to memory function using
> > the compress framework, user can use this function with
> > compress ioctl interface.
> >
ASRC can be used on memory to memory case, define several
functions for m2m usage and export them as function pointer.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_easrc.c | 228 ++
sound/soc/fsl/fsl_easrc.h | 4 +
2 files
Register m2m platform device,that user can
use M2M feature.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_easrc.c | 33 +++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/sound/soc/fsl/fsl_easrc.c b/sound/soc/fsl
add 'src_d' in union snd_codec_options
structure. These are mainly used for capbility query.
Signed-off-by: Jaroslav Kysela
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
Acked-by: Vinod Koul
---
include/uapi/sound/compress_params.h | 23 +--
1 file changed, 21 inser
Register m2m platform device, that user can
use M2M feature.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_asrc.c | 37 +
1 file changed, 33 insertions(+), 4 deletions(-)
diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl
Implement the ASRC memory to memory function using
the compress framework, user can use this function with
compress ioctl interface.
This feature can be shared by ASRC and EASRC drivers
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/Kconfig | 1 +
sound
output length according to input length
m2m_get_maxburst: burst size for dma
m2m_pair_suspend: suspend function of pair, optional.
m2m_pair_resume: resume function of pair
get_output_fifo_size: get remaining data size in FIFO
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc
ethod in the future.
- Address some comments from Pierre.
changes in v2:
- Remove the changes in compress API
- drop the SNDRV_COMPRESS_SRC_RATIO_MOD
- drop the SND_AUDIOCODEC_SRC and struct snd_dec_src
- define private metadata key value
ASRC_OUTPUT_FORMAT/ASRC_OUTPUT_RATE/ASRC_RATIO_MOD
Shengji
; rates according to different clock sources.
>
> In ASoC drivers switch to this new function.
Acked-by: Shengjiu Wang
Best regards
Shengjiu Wang
>
> Chancel Liu (4):
> ASoC: fsl_utils: Add function to constrain rates
> ASoC: fsl_micfil: Switch to common sample rate constraint f
ASRC can be used on memory to memory case, define several
functions for m2m usage and export them as function pointer.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_easrc.c | 228 ++
sound/soc/fsl/fsl_easrc.h | 4 +
2 files
ESS_SRC_RATIO_MOD
- drop the SND_AUDIOCODEC_SRC and struct snd_dec_src
- define private metadata key value
ASRC_OUTPUT_FORMAT/ASRC_OUTPUT_RATE/ASRC_RATIO_MOD
Shengjiu Wang (6):
ALSA: compress: Add output rate and output format support
ASoC: fsl_asrc: define functions for memory to memory us
Register m2m platform device,that user can
use M2M feature.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_easrc.c | 33 +++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/sound/soc/fsl/fsl_easrc.c b/sound/soc/fsl
Implement the ASRC memory to memory function using
the compress framework, user can use this function with
compress ioctl interface.
This feature can be shared by ASRC and EASRC drivers
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/Kconfig | 1 +
sound
add 'src_d' in union snd_codec_options
structure. These are mainly used for capbility query.
Signed-off-by: Jaroslav Kysela
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
include/uapi/sound/compress_params.h | 23 +--
1 file changed, 21 insertions(+), 2 deletions
Register m2m platform device, that user can
use M2M feature.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_asrc.c | 37 +
1 file changed, 33 insertions(+), 4 deletions(-)
diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl
output length according to input length
m2m_get_maxburst: burst size for dma
m2m_pair_suspend: suspend function of pair, optional.
m2m_pair_resume: resume function of pair
get_output_fifo_size: get remaining data size in FIFO
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc
Define regmap for PHY and PLL registers, the PHY and PLL
registers are accessed by AI interface in controller.
So that driver can use regcache to recover registers
after suspend and resume.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_xcvr.c | 224
firmware
are overwritten. Besides only in eARC mode is it necessary
to load XCVR firmware.
Signed-off-by: Shengjiu Wang
Signed-off-by: Chancel Liu
---
sound/soc/fsl/fsl_xcvr.c | 160 +--
1 file changed, 118 insertions(+), 42 deletions(-)
diff --git a/sound/soc/fsl
Define regmap for PHY and PLL registers, the PHY and PLL
registers are accessed by AI interface in controller.
Then driver can use regcache to recover registers
after suspend and resume.
Shengjiu Wang (2):
ASoC: fsl_xcvr: Use regmap for PHY and PLL registers
ASoC: fsl_xcvr: Add suspend and
nstead of
open-coding")
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_spdif.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c
index b6ff04f7138a..ee946e0d3f49 100644
--- a/sound/soc/fsl/fsl_spdif.c
+++ b/sound
nstead of
open-coding")
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_xcvr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c
index 1e0bfd59d511..9c184ab73468 100644
--- a/sound/soc/fsl/fsl_xcvr.c
+++ b/soun
need to be IFACE_MIXER.
changes in v2:
- add fixes tag
Shengjiu Wang (2):
ASoC: fsl_xcvr: change IFACE_PCM to IFACE_MIXER
ASoC: fsl_spdif: change IFACE_PCM to IFACE_MIXER
sound/soc/fsl/fsl_spdif.c | 2 +-
sound/soc/fsl/fsl_xcvr.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.34.1
need to be IFACE_MIXER.
Shengjiu Wang (2):
ASoC: fsl_xcvr: change IFACE_PCM to IFACE_MIXER
ASoC: fsl_spdif: change IFACE_PCM to IFACE_MIXER
sound/soc/fsl/fsl_spdif.c | 2 +-
sound/soc/fsl/fsl_xcvr.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.34.1
As the snd_soc_card_get_kcontrol() is updated to use
snd_ctl_find_id_mixer() in
commit 897cc72b0837 ("ASoC: soc-card: Use
snd_ctl_find_id_mixer() instead of open-coding")
which make the iface fix to be IFACE_MIXER.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_spdif.c | 2
As the snd_soc_card_get_kcontrol() is updated to use
snd_ctl_find_id_mixer() in
commit 897cc72b0837 ("ASoC: soc-card: Use
snd_ctl_find_id_mixer() instead of open-coding")
which make the iface fix to be IFACE_MIXER.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_xcvr.c | 2 +-
1 fi
ESS_SRC_RATIO_MOD
- drop the SND_AUDIOCODEC_SRC and struct snd_dec_src
- define private metadata key value
ASRC_OUTPUT_FORMAT/ASRC_OUTPUT_RATE/ASRC_RATIO_MOD
Shengjiu Wang (6):
ALSA: compress: Add output rate and output format support
ASoC: fsl_asrc: define functions for memory to memory us
Register m2m platform device, that user can
use M2M feature.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_asrc.c | 37 +
1 file changed, 33 insertions(+), 4 deletions(-)
diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl
Register m2m platform device,that user can
use M2M feature.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_easrc.c | 33 +++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/sound/soc/fsl/fsl_easrc.c b/sound/soc/fsl
Implement the ASRC memory to memory function using
the compress framework, user can use this function with
compress ioctl interface.
This feature can be shared by ASRC and EASRC drivers
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/Kconfig | 1 +
sound
ASRC can be used on memory to memory case, define several
functions for m2m usage and export them as function pointer.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_easrc.c | 228 ++
sound/soc/fsl/fsl_easrc.h | 4 +
2 files
output length according to input length
m2m_get_maxburst: burst size for dma
m2m_pair_suspend: suspend function of pair, optional.
m2m_pair_resume: resume function of pair
get_output_fifo_size: get remaining data size in FIFO
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc
add 'src_d' in union snd_codec_options
structure. These are mainly used for capbility query.
Signed-off-by: Jaroslav Kysela
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
include/uapi/sound/compress_params.h | 23 +--
1 file changed, 21 insertions(+), 2 deletions
add 'src_d' in union snd_codec_options
structure. These are mainly used for capbility query.
Signed-off-by: Jaroslav Kysela
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
include/uapi/sound/compress_params.h | 23 +--
1 file changed, 21 insertions(+), 2 deletions
Register m2m platform device, that user can
use M2M feature.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_asrc.c | 37 +
1 file changed, 33 insertions(+), 4 deletions(-)
diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl
Register m2m platform device,that user can
use M2M feature.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_easrc.c | 33 +++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/sound/soc/fsl/fsl_easrc.c b/sound/soc/fsl
ASRC can be used on memory to memory case, define several
functions for m2m usage and export them as function pointer.
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/fsl_easrc.c | 228 ++
sound/soc/fsl/fsl_easrc.h | 4 +
2 files
output length according to input length
m2m_get_maxburst: burst size for dma
m2m_pair_suspend: suspend function of pair, optional.
m2m_pair_resume: resume function of pair
get_output_fifo_size: get remaining data size in FIFO
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc
Implement the ASRC memory to memory function using
the compress framework, user can use this function with
compress ioctl interface.
This feature can be shared by ASRC and EASRC drivers
Signed-off-by: Shengjiu Wang
Acked-by: Jaroslav Kysela
---
sound/soc/fsl/Kconfig | 1 +
sound
ESS_SRC_RATIO_MOD
- drop the SND_AUDIOCODEC_SRC and struct snd_dec_src
- define private metadata key value
ASRC_OUTPUT_FORMAT/ASRC_OUTPUT_RATE/ASRC_RATIO_MOD
Shengjiu Wang (6):
ALSA: compress: Add output rate and output format support
ASoC: fsl_asrc: define functions for memory to memory us
On i.MX95, the MQS module in Always-on (AON) domain only can
be accessed by System Controller Management Interface (SCMI)
MISC Protocol. So define a specific regmap_config for the case.
Signed-off-by: Shengjiu Wang
---
changes in v2:
- fix compile issue when IMX_SCMI_MISC_DRV=m but
On Sat, Oct 12, 2024 at 2:15 PM Shengjiu Wang wrote:
>
> On i.MX95, the MQS module in Always-on (AON) domain only can
> be accessed by System Controller Management Interface (SCMI)
> MISC Protocol. So define a specific regmap_config for the case.
>
find an issue when IMX_SCMI
On Wed, Oct 23, 2024 at 1:32 PM Vinod Koul wrote:
>
> On 25-09-24, 14:55, Shengjiu Wang wrote:
> > This function is base on the accelerator implementation
> > for compress API:
> > https://patchwork.kernel.org/project/alsa-devel/patch/20240731083843.59911-1-pe...@pere
n alsa-lib will help to convert the
unsupported rate for the driver.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_micfil.c | 38 ++
1 file changed, 38 insertions(+)
diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c
index 4e65966d54fc..61
On i.MX95, the MQS module in Always-on (AON) domain only can
be accessed by System Controller Management Interface (SCMI)
MISC Protocol. So define a specific regmap_config for the case.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_mqs.c | 41 +
1
Irq handler need to be executed as fast as possible, so
the log in irq handler is better to use dev_dbg which needs
to be enabled when debugging.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_esai.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/fsl
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/imx-card.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/sound/soc/fsl/imx-card.c b/sound/soc/fsl/imx-card.c
index a7215bad6484..2f3dbbd15791 100644
--- a/sound/soc/fsl/imx-card.c
+++ b/sound/soc/fsl/imx-card.c
@@ -370,6 +370,11 @@ static
From: Chancel Liu
CS42888 codec provides 4 multi-bit ADC and 8 multi-bit DAC.
Add support for this codec in imx-card ASoC machine driver.
Signed-off-by: Chancel Liu
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/imx-card.c | 54 ++--
1 file changed, 47
add cs42888 codec support
Chancel Liu (2):
ASoC: imx-card: Set mclk for codec
ASoC: imx-card: Add CS42888 support
sound/soc/fsl/imx-card.c | 59 +++-
1 file changed, 52 insertions(+), 7 deletions(-)
--
2.34.1
This enables the interrupt to be asserted when there
is a change in Capabilities data structure / Latency
request of the CMDC Status register.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_xcvr.c | 4
sound/soc/fsl/fsl_xcvr.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/sound
reset the DMAC path.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_xcvr.c | 90 ++--
sound/soc/fsl/fsl_xcvr.h | 4 ++
2 files changed, 81 insertions(+), 13 deletions(-)
diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c
index 9e24d6462c01
Enable interrupt of cmdc status update and the interrupts for
wrong preamble received.
Shengjiu Wang (2):
ASoC: fsl_xcvr: enable interrupt of cmdc status update
ASoC: fsl_xcvr: reset RX dpath after wrong preamble
sound/soc/fsl/fsl_xcvr.c | 94 ++--
sound
FCONT=1 means On FIFO error, the SAI will continue from the
same word that caused the FIFO error to set after the FIFO
warning flag has been cleared.
Set FCONT bit in control register to avoid the channel swap
issue after SAI xrun.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_sai.c | 5
Enable micfil error interrupt, in the error handler,
FIFO state and OUT state need to be cleared.
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_micfil.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl
The last parameter 1 means BIT(0), which should be the
correct BIT(X).
Fixes: 47a70e6fc9a8 ("ASoC: Add MICFIL SoC Digital Audio Interface driver.")
Signed-off-by: Shengjiu Wang
---
sound/soc/fsl/fsl_micfil.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sou
1 - 100 of 825 matches
Mail list logo