mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
83bea088f9
Implement SPDIF bypass mode. It implies internal SoC routing of SPDIF input signal to SPDIF output signal. The test bed requires two boards: B1 configured in bypass mode, and B2 to feed B1 SPDIF RX port and read B1 SPDIF TX port: B2 TX -> B1 RX, B2 RX <- B1 TX. The test procedure: a) Boot both boards b) B2: start "arecord <spdifcard> -r 48kHz | aplay <local DAC>" c) B2: start "aplay <spdifcard> -r 48kHz <2ch 48kHz audio file>" d) B1: enable bypass mode: amixer -cimxspdif cset numid=8,iface=PCM,name='Bypass Mode' on e) B2: check DAC audio, make sure the same sample rate is used at steps b) and c), in example above the rate is 48kHz. f) B1: try to run "aplay" or "arecord" on imxspdif card while in bypass mode - both must fail until bypass mode is disabled g) B1: disable bypass mode: amixer -cimxspdif cset numid=8,iface=PCM,name='Bypass Mode' off h) B1: check the usual playback and capture on imxspdif card. During this test try to set bypass mode - must not be allowed while playback or capture is running. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Link: https://lore.kernel.org/r/1632649760-1651-1-git-send-email-shengjiu.wang@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
efika-audio-fabric.c | ||
eukrea-tlv320.c | ||
fsl_asrc_common.h | ||
fsl_asrc_dma.c | ||
fsl_asrc.c | ||
fsl_asrc.h | ||
fsl_aud2htx.c | ||
fsl_aud2htx.h | ||
fsl_audmix.c | ||
fsl_audmix.h | ||
fsl_dma.c | ||
fsl_dma.h | ||
fsl_easrc.c | ||
fsl_easrc.h | ||
fsl_esai.c | ||
fsl_esai.h | ||
fsl_micfil.c | ||
fsl_micfil.h | ||
fsl_mqs.c | ||
fsl_rpmsg.c | ||
fsl_rpmsg.h | ||
fsl_sai.c | ||
fsl_sai.h | ||
fsl_spdif.c | ||
fsl_spdif.h | ||
fsl_ssi_dbg.c | ||
fsl_ssi.c | ||
fsl_ssi.h | ||
fsl_utils.c | ||
fsl_utils.h | ||
fsl_xcvr.c | ||
fsl_xcvr.h | ||
fsl-asoc-card.c | ||
imx-audio-rpmsg.c | ||
imx-audmix.c | ||
imx-audmux.c | ||
imx-audmux.h | ||
imx-card.c | ||
imx-es8328.c | ||
imx-hdmi.c | ||
imx-pcm-dma.c | ||
imx-pcm-fiq.c | ||
imx-pcm-rpmsg.c | ||
imx-pcm-rpmsg.h | ||
imx-pcm.h | ||
imx-rpmsg.c | ||
imx-sgtl5000.c | ||
imx-spdif.c | ||
imx-ssi.h | ||
Kconfig | ||
Makefile | ||
mpc5200_dma.c | ||
mpc5200_dma.h | ||
mpc5200_psc_ac97.c | ||
mpc5200_psc_i2s.c | ||
mpc8610_hpcd.c | ||
p1022_ds.c | ||
p1022_rdk.c | ||
pcm030-audio-fabric.c |