This is the log as ti,audio-routing: we are using Am335x processor, 3.14 kernel --
[ 2.606978] evm_aic3x_init,ret:0
[ 2.615042] tlv320aic31xx-codec 1-0018: ASoC: DAPM unknown pin MONO_LOUT
[ 2.622280] tlv320aic31xx-codec 1-0018: ASoC: DAPM unknown pin HPLCOM
[ 2.629158] tlv320aic31xx-codec 1-0018: ASoC: DAPM unknown pin HPRCOM
[ 2.638245] davinci_evm sound.12: tlv320aic31xx-hifi <-> 4803c000.mcasp mapping ok
[ 2.646387] davinci_evm sound.12: ASoC: no source widget found for HPLOUT
[ 2.653617] davinci_evm sound.12: ASoC: Failed to add route HPLOUT -> direct -> Headphone Jack
[ 2.662721] davinci_evm sound.12: ASoC: no source widget found for HPROUT
[ 2.669894] davinci_evm sound.12: ASoC: Failed to add route HPROUT -> direct -> Headphone Jack
[ 2.678974] davinci_evm sound.12: ASoC: no source widget found for LLOUT
[ 2.686017] davinci_evm sound.12: ASoC: Failed to add route LLOUT -> direct -> Line Out
[ 2.694462] davinci_evm sound.12: ASoC: no source widget found for LROUT
[ 2.701533] davinci_evm sound.12: ASoC: Failed to add route LROUT -> direct -> Line Out
in the Audio Dac Example in the wikipedia:
The snd_soc_dapm_widget and snd_soc_dapm_route structures are not going to be utilized in this case; they there if power management capabilities are taken into account. These structures can be deleted.
can we delete the widgets and damp_route structures: below is the structure from davinci-evm.c
/* davinci-evm machine dapm widgets */
static const struct snd_soc_dapm_widget aic3x_dapm_widgets[] = {
SND_SOC_DAPM_HP("Headphone Jack", NULL),
SND_SOC_DAPM_LINE("Line Out", NULL),
SND_SOC_DAPM_MIC("Mic Jack", NULL),
SND_SOC_DAPM_LINE("Line In", NULL),
};
/* davinci-evm machine audio_mapnections to the codec pins */
static const struct snd_soc_dapm_route audio_map[] = {
/* Headphone connected to HPLOUT, HPROUT */
{"Headphone Jack", NULL, "HPLOUT"},
{"Headphone Jack", NULL, "HPROUT"},
/* Line Out connected to LLOUT, RLOUT */
{"Line Out", NULL, "LLOUT"},
{"Line Out", NULL, "RLOUT"},
/* Mic connected to (MIC3L | MIC3R) */
{"MIC3L", NULL, "Mic Bias"},
{"MIC3R", NULL, "Mic Bias"},
{"Mic Bias", NULL, "Mic Jack"},
/* Line In connected to (LINE1L | LINE2L), (LINE1R | LINE2R) */
{"LINE1L", NULL, "Line In"},
{"LINE2L", NULL, "Line In"},
{"LINE1R", NULL, "Line In"},
{"LINE2R", NULL, "Line In"},
};
as i given the ti, audio routing in the dts file as like this :
ti,audio-routing =
"Headphone Jack", "HPLOUT",
"Headphone Jack", "HPROUT",
"Line Out", "LLOUT",
"Line Out", "LROUT";
please any one help in this --
Awaiting for your replies.....
regards,
Viswanath K