Sound record on Devkit8000 with DT boot issue

Anil Kumar anilk4.v at gmail.com
Tue Feb 12 14:20:33 EST 2013


Hi Peter,

On Mon, Feb 11, 2013 at 11:44 PM, Peter Ujfalusi <peter.ujfalusi at ti.com> wrote:
> Hi,
>
> On 02/11/2013 06:58 PM, Anil Kumar wrote:
>>> Here you should have something like:
>>> ti,audio-routing =
>>>         "Ext Spk", "PREDRIVEL",
>>>         "Ext Spk", "PREDRIVER",
>>>         "MAINMIC", "Main Mic",
>>>         "Main Mic", "Mic Bias 1";
>>>
>>> So you connect the MicBias1 to Main Mic. When you start playback MicBias1 will
>>> be turned on for you.
>>
>> I tried with this routing (next-20130211 tag kernel). But it is not
>> working for me.
>> So i have gone through other board and found snd_soc_dapm_route for
>>
>> 1) zoom2.c
>>        {"MAINMIC", NULL, "Mic Bias 1"},
>>        {"Mic Bias 1", NULL, "Ext Mic"},

I was giving zoom2 reference from kernel 3.8-rc5.

>>
>> 2) omap3pandora.c
>>         {"MAINMIC", NULL, "Mic Bias 1"},
>>         {"Mic Bias 1", NULL, "Mic (internal)"},

same as above comment.

>>
>> But for omap-twl4030.c it is
>>         {"MAINMIC", NULL, "Main Mic"},
>>         {"Main Mic", NULL, "Mic Bias 1"},
>>
>>  It Should will be as ?
>>         {"MAINMIC", NULL, "Mic Bias 1"},
>>         {"Mic Bias 1", NULL, "Main Mic"},
>>
>> Because with this i am able to get audio on Devkit8000 as
>>              ti,audio-routing =
>>                         "Ext Spk", "PREDRIVEL",
>>                         "Ext Spk", "PREDRIVER",
>>                         "MAINMIC", "Mic Bias 1",
>>                         "Mic Bias 1", "Main Mic";
>
> In 3.9 this should not work...
>
> linux-next should not have zoom2 at least and I converted the machine drivers
> as well in regards to micbias handling:
> e04d6e5 ASoC: twl4030: Convert MICBIAS to SUPPLY widget
> 57d61b9 ASoC: OMAP: Remove obsolete machine drivers for Zoom2 and SDP3430

My board is not botting with linux-next ((next-20130211). So i have
taken omap-twl4030.c changes from next-20130211
and merged into 3.8-rc5 as it does have. But missed changes for
twl4030.c. With these all changes it is working for me now .
Sorry for noise.

I am really thanks for this.
Anil
[...]


More information about the devicetree-discuss mailing list