AnsweredAssumed Answered

How to Enable CS4299 audio codec using AC97 on IMX6q seco platform

Question asked by Prasanna Prabhu S on Jun 27, 2016
Latest reply on Jul 12, 2016 by Prasanna Prabhu S

Hi All,


I am using IMx6q seco platform and I need some support to enable CS4299 audio codec on my platform. I am currently kernel version 3.0.35.Also I donnot see any cs4299.c in sound/soc/codec or in sound/soc/imx directories and only I see in some patch files applied on sound/pci/ac97/ac97_codec.c file

{ 0x43525930, 0xfffffff8, "CS4299",             patch_cirrus_cs4299,    NULL },

defined in structure

static const struct ac97_codec_id snd_ac97_codec_ids[] = {.


I was going through one of ac97  codec for reference vt1613 which is defined in sound/soc/codec/vt1613.c and sound/soc/imx/imx-ac97-vt1613.c and some configurations I see in board file also



static struct platform_device mx6_seco_q7_imx_audio_device = {

        .name           = "imx-vt1613",


static struct platform_device mx6_seco_q7_audio_device = {

       .name           = "vt1613-ac97",




static int imx6q_init_audio(void) {

#ifdef CONFIG_Q7_SND_SOC_IMX_AC97_VT1613

        mxc_register_device(&mx6_seco_q7_imx_audio_device, &mx6_seco_q7_audio_data);

        mxc_register_device(&mx6_seco_q7_audio_device, NULL);

        imx6q_add_imx_ssi(SSI_CH_NUMBER - 1, &mx6_seco_q7_ssi_pdata);


. Is that 2 driver initialisation are needed?



Please some one help me integrating the same.


Thanks and Regards,