[alsa-devel] SAIF configuration on imx28

Fabio Estevam festevam at gmail.com
Wed Aug 22 23:30:58 CEST 2012


On Wed, Aug 22, 2012 at 5:25 AM, George Stefan
<stefan.george87 at gmail.com> wrote:

> aplay -l
>
> **** List of PLAYBACK Hardware Devices ****
>
> card 0: mxsevk [mxs-evk], device 0: cinterion pcm cinterion-0 []
>
>   Subdevices: 1/1
>
>   Subdevice #0: subdevice #0
>
>
> ~ # arecord -l
> **** List of CAPTURE Hardware Devices ****
> card 0: mxsevk [mxs-evk], device 0: cinterion pcm cinterion-0 []
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0

Shouldn't this register as pcm cinterion-1 instead?

On mx28evk we have:

root at freescale ~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: mxssgtl5000 [mxs_sgtl5000], device 0: HiFi Playback sgtl5000-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: mxssgtl5000 [mxs_sgtl5000], device 1: HiFi Capture sgtl5000-1 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

and we register it as:

static struct snd_soc_dai_link mxs_sgtl5000_dai[] = {
	{
		.name		= "HiFi Tx",
		.stream_name	= "HiFi Playback",
		.codec_dai_name	= "sgtl5000",
		.codec_name	= "sgtl5000.0-000a",
		.cpu_dai_name	= "mxs-saif.0",
		.platform_name	= "mxs-saif.0",
		.ops		= &mxs_sgtl5000_hifi_ops,
	}, {
		.name		= "HiFi Rx",
		.stream_name	= "HiFi Capture",
		.codec_dai_name	= "sgtl5000",
		.codec_name	= "sgtl5000.0-000a",
		.cpu_dai_name	= "mxs-saif.1",
		.platform_name	= "mxs-saif.1",
		.ops		= &mxs_sgtl5000_hifi_ops,
	},
};

Regards,

Fabio Estevam


More information about the Alsa-devel mailing list