From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Anil Kumar <anilk4.v@gmail.com>
Cc: alsa-devel@alsa-project.org, tony@atomide.com,
devicetree-discuss@lists.ozlabs.org,
linux-kernel@vger.kernel.org,
Liam Girdwood <liam.r.girdwood@linux.intel.com>,
tiwai@suse.de, thomas@tomweber.eu
Subject: Re: Sound record on Devkit8000 with DT boot issue
Date: Mon, 11 Feb 2013 19:14:05 +0100 [thread overview]
Message-ID: <511934ED.2020104@ti.com> (raw)
In-Reply-To: <CABYxbz7HcZTK+y20mtDR+1coRUbUMgNHNDdJ3O7Ln7U7d0LEzA@mail.gmail.com>
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"},
>
> 2) omap3pandora.c
> {"MAINMIC", NULL, "Mic Bias 1"},
> {"Mic Bias 1", NULL, "Mic (internal)"},
>
> 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
--
Péter
WARNING: multiple messages have this Message-ID (diff)
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Anil Kumar <anilk4.v@gmail.com>
Cc: <linux-kernel@vger.kernel.org>,
<devicetree-discuss@lists.ozlabs.org>,
<alsa-devel@alsa-project.org>, <tony@atomide.com>,
<thomas@tomweber.eu>, <perex@perex.cz>, <tiwai@suse.de>,
Liam Girdwood <liam.r.girdwood@linux.intel.com>
Subject: Re: Sound record on Devkit8000 with DT boot issue
Date: Mon, 11 Feb 2013 19:14:05 +0100 [thread overview]
Message-ID: <511934ED.2020104@ti.com> (raw)
In-Reply-To: <CABYxbz7HcZTK+y20mtDR+1coRUbUMgNHNDdJ3O7Ln7U7d0LEzA@mail.gmail.com>
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"},
>
> 2) omap3pandora.c
> {"MAINMIC", NULL, "Mic Bias 1"},
> {"Mic Bias 1", NULL, "Mic (internal)"},
>
> 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
--
Péter
next prev parent reply other threads:[~2013-02-11 18:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-10 15:21 Sound record on Devkit8000 with DT boot issue Anil Kumar
2013-02-11 13:17 ` Peter Ujfalusi
2013-02-11 13:17 ` Peter Ujfalusi
2013-02-11 17:58 ` Anil Kumar
2013-02-11 18:14 ` Peter Ujfalusi [this message]
2013-02-11 18:14 ` Peter Ujfalusi
2013-02-12 3:20 ` Anil Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=511934ED.2020104@ti.com \
--to=peter.ujfalusi@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=anilk4.v@gmail.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=liam.r.girdwood@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=thomas@tomweber.eu \
--cc=tiwai@suse.de \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.