mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
6d174cc4f2
The imx-spdif machine driver creates audio card to directly use an S/PDIF device. However, it doesn't support interacting with an ASRC. fsl-asoc-card already has the support to create audio card which can use the ASRC. Merge the S/PDIF support from imx-spdif into driver fsl-asoc-card to extend the support of S/PDIF audio card with the use of ASRC devices. fsl-asoc-card uses slightly different DT properties than imx-spdif: * the "spdif-controller" property from imx-spdif is named "audio-cpu" in fsl-asoc-card. * fsl-asoc-card uses codecs explicitly declared in DT with "audio-codec". With an SPDIF, codec drivers spdif_transmitter and spdif_receiver should be used. Driver imx-spdif used instead the dummy codec and a pair of boolean properties, "spdif-in" and "spdif-out". To keep backward compatibility, support for "spdif-controller", "spdif-in" and "spdif-out" is also added to fsl-asoc-card. However, it is recommended to use the new properties if possible. It is better to declare transmitter and/or receiver in DT than using the dummy codec. DTs using compatible "fsl,imx-audio-spdif" are still compatible, and fsl-asoc-card will behave the same as imx-spdif for these DTs. Signed-off-by: Elinor Montmasson <elinor.montmasson@savoirfairelinux.com> Link: https://patch.msgid.link/20240627083104.123357-5-elinor.montmasson@savoirfairelinux.com Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
efika-audio-fabric.c | ||
eukrea-tlv320.c | ||
fsl-asoc-card.c | ||
fsl_asrc.c | ||
fsl_asrc.h | ||
fsl_asrc_common.h | ||
fsl_asrc_dma.c | ||
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_qmc_audio.c | ||
fsl_rpmsg.c | ||
fsl_rpmsg.h | ||
fsl_sai.c | ||
fsl_sai.h | ||
fsl_spdif.c | ||
fsl_spdif.h | ||
fsl_ssi.c | ||
fsl_ssi.h | ||
fsl_ssi_dbg.c | ||
fsl_utils.c | ||
fsl_utils.h | ||
fsl_xcvr.c | ||
fsl_xcvr.h | ||
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-ssi.h | ||
Kconfig | ||
lpc3xxx-i2s.c | ||
lpc3xxx-i2s.h | ||
lpc3xxx-pcm.c | ||
Makefile | ||
mpc5200_dma.c | ||
mpc5200_dma.h | ||
mpc5200_psc_ac97.c | ||
mpc5200_psc_i2s.c | ||
p1022_ds.c | ||
p1022_rdk.c | ||
pcm030-audio-fabric.c |