AnsweredAssumed Answered

Audio Codec wm8960 input channel Routing

Question asked by VIJAY R on Feb 15, 2016
Latest reply on Feb 17, 2016 by VIJAY R

Hi,

 

          I need small information on Audio Codec(WM8960) drivers.I took sabresd reference for my project, in my board Audio Codec working fine( I can able to record & Listen audio),As per imx-wm8960(Machine drivers) routed Audio Codec(WM8960) to MIC(input1 ADC to store audio in Process) & Head_phone(Processor's DAC to output channel).

 

 

But As per my requirements i need to play Auxiliary audio stream which connected to 2nd input channel & FM in 3rd input channel(Like below pic).

 

So how i can route it in imx-wm8960.c file like below.

 

 

static const struct snd_soc_dapm_route imx6_audio_map[] = {

 

    { "Headphone Jack",         NULL,           "HP_L"      },

    { "Headphone Jack",         NULL,           "HP_R"      },

 

    { "Speaker_L",              NULL,           "SPK_LP"    },

    { "Speaker_L",              NULL,           "SPK_LN"    },

    { "Speaker_R",              NULL,           "SPK_RP"    },

    { "Speaker_R",              NULL,           "SPK_RN"    },

 

    { "LINPUT1",                NULL,           "MICB"      },

    { "MICB",                   NULL,           "Mic Jack"  },

 

//    { "LINPUT3",                "LINPUT3 Switch",       "HP_L"   },

//    { "RINPUT3",                "RINPUT3 Switch",       "HP_R"   },

     

}

 

 

I am waiting for your reply. Thank you.

Screenshot from 2016-02-16 11:33:32.png

Outcomes