Hi all,
i am using TLV320AIC3100 codec for our Allwinner processor.
i did machine driver code but registration of codec failed in soc_bind_dai_link.
telling CODEC DAI tlv320aic3x-hifi and codec dai name not registered.
i think i am missing codec configuration in my machine driver.
/* Digital audio interface glue - connects codec <--> CPU */
static struct snd_soc_dai_link rx51_dai[] = {
{
.name = "TLV320AIC34",
.stream_name = "AIC34",
.cpu_dai_name = "sun7i-i2s.0",
.codec_dai_name = "tlv320aic3x-hifi",
.init = rx51_aic34_init,
.platform_name = "sun7i-i2s-pcm-audio.0",
.codec_name = "tlv320aic23-codec.2-001a",
//.dai_fmt = SND_SOC_DAIFMT_DSP_A | SND_SOC_DAIFMT_IB_NF |
// SND_SOC_DAIFMT_CBM_CFM,
.ops = &rx51_ops,
},
};
/* Audio card */
static struct snd_soc_card rx51_sound_card = {
.name = "RX-51",
.owner = THIS_MODULE,
.dai_link = &rx51_dai,
.num_links = 1,
//.num_rtd = 1,
//.aux_dev = rx51_aux_dev,
//.num_aux_devs = ARRAY_SIZE(rx51_aux_dev),
//.codec_conf = rx51_codec_conf,
//.num_configs = ARRAY_SIZE(rx51_codec_conf),
};
How to decide codec_name because the extension is different in different example(tlv320aic23-codec.2-001a).
Did i missing any thing?.
i checked my external codec with i2ctools which is working fine.
Regards
Punith