Hi all,
Based on the e2e forum suggestion from this link --- http://e2e.ti.com/support/data_converters/audio_converters/f/64/t/266169.aspx
we are trying to bring up audio codec in a OMAP4460 board. But during kernel bootup we are getting this error:
[ 2.659423] soc-audio soc-audio: binding Legacy McBSP2 at idx 0
[ 2.659423] soc-audio soc-audio: CPU DAI omap-mcbsp.2 not registered
[ 2.661529] soc-audio soc-audio: CODEC tlv320aic325x-codec not registered
[ 2.661560] soc-audio soc-audio: Registered card 'Tablet44xx'
The way we had initialized the audio machine driver in the kernel is:
/* Digital audio interface glue - connects codec <--> CPU */
static struct snd_soc_dai_link sdp44xx_aic3256_dai[] = {
{
.name = "Legacy McBSP2",
.stream_name = "tlv320aic325x-codec",
.cpu_dai_name ="omap-mcbsp.2", // Mcbsp 2
.codec_dai_name = "tlv320aic325x-MM_EXT",
.platform_name = "omap-pcm-audio",
.codec_name = "tlv320aic325x-codec",
.init = sdp44xx_aic3256_init,
.ops = &sdp44xx_aic3256_ops,
},
};
/* Audio machine driver */
static struct snd_soc_card snd_soc_sdp44xx_aic3256 = {
.name = "Tablet44xx",
.dai_link = sdp44xx_aic3256_dai,
.num_links = ARRAY_SIZE(sdp44xx_aic3256_dai),
.codec_conf = sdp44xx_codec_conf,
.num_configs = ARRAY_SIZE(sdp44xx_codec_conf),
};
Can someone help us on what is being missed in getting through with the registration of the codec and MCBSP interfaces?
Thanks and regards
Rajam R