From: Fabio Estevam <festevam@gmail.com>
To: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com>
Cc: Shengjiu Wang <shengjiu.wang@freescale.com>,
Lars-Peter Clausen <lars@metafoo.de>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
Nicolin Chen <nicoleotsuka@gmail.com>,
Markus Pargmann <mpa@pengutronix.de>,
Michael Trimarchi <michael@amarulasolutions.com>,
Shawn Guo <shawn.guo@freescale.com>
Subject: Re: No sound captured with SGTL5000 on i.MX6 in I²S master mode
Date: Thu, 9 Oct 2014 12:19:23 -0300 [thread overview]
Message-ID: <CAOMZO5DHFgJRH_c-6rUCdfhX7ejHYMdjXCCFTNzjQ7qOfSQ+=A@mail.gmail.com> (raw)
In-Reply-To: <CAL8zT=j=hXA8oCFGfhW=NwuFX6w70_GT+r5qHMk+tCLX7YOocg@mail.gmail.com>
On Thu, Oct 9, 2014 at 12:14 PM, Jean-Michel Hautbois
<jean-michel.hautbois@vodalys.com> wrote:
> Ouch, nice catch :).
>
> Here is what I understand, in my cas, sgtl5000 has its clock routed
> through a FPGA.
> If the FPGA has not yet be probed, then, the module fails in loading :
> [ 4.985762] sgtl5000: probe of 1-000a failed with error -5
>
> This is why after removing it and probing it again manually, it works.
>
> This module should be able to defer probing too, is it going to be
> done by someone or do I try to send some patch for this ?
We do defer probing already:
sgtl5000->mclk = devm_clk_get(&client->dev, NULL);
if (IS_ERR(sgtl5000->mclk)) {
ret = PTR_ERR(sgtl5000->mclk);
dev_err(&client->dev, "Failed to get mclock: %d\n", ret);
/* Defer the probe to see if the clk will be provided later */
if (ret == -ENOENT)
return -EPROBE_DEFER;
return ret;
}
>
> BTW, I don't have sound on the microphone input, and I think there is
> no way to select micbias voltage level neither from the source code
> nor the DT ?
> It could be interetsing to have something like sgtl5000-micbias-vg
> which would give control on the voltage bias parameter ?
> And maybe also something for bias resistor too ?
>
> I can try to patch something.
That would be great, thanks.
next prev parent reply other threads:[~2014-10-09 15:19 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-18 12:56 No sound captured with SGTL5000 on i.MX6 in I²S master mode Jean-Michel Hautbois
2014-09-18 13:30 ` Fabio Estevam
2014-09-18 13:35 ` Michael Trimarchi
2014-09-18 13:45 ` Jean-Michel Hautbois
2014-09-18 13:55 ` Michael Trimarchi
2014-09-18 14:09 ` Jean-Michel Hautbois
2014-09-18 16:09 ` Jean-Michel Hautbois
2014-09-18 17:05 ` Nicolin Chen
2014-09-18 17:26 ` Michael Trimarchi
2014-09-18 17:45 ` Nicolin Chen
2014-09-18 18:03 ` Michael Trimarchi
2014-09-18 18:13 ` Nicolin Chen
2014-09-18 18:18 ` Michael Trimarchi
2014-09-18 17:28 ` Fabio Estevam
2014-09-18 17:49 ` Nicolin Chen
2014-09-18 17:58 ` Fabio Estevam
2014-09-18 18:07 ` Nicolin Chen
2014-09-18 18:14 ` Fabio Estevam
2014-09-18 18:39 ` Nicolin Chen
2014-09-18 23:35 ` Fabio Estevam
2014-09-18 23:50 ` Nicolin Chen
2014-09-19 7:42 ` Jean-Michel Hautbois
2014-09-19 7:52 ` Nicolin Chen
2014-09-19 9:18 ` Jean-Michel Hautbois
2014-09-19 12:53 ` Jean-Michel Hautbois
2014-10-09 14:02 ` Jean-Michel Hautbois
2014-10-09 14:18 ` Fabio Estevam
2014-10-09 14:26 ` Jean-Michel Hautbois
2014-10-09 15:06 ` Fabio Estevam
2014-10-09 15:14 ` Jean-Michel Hautbois
2014-10-09 15:19 ` Fabio Estevam [this message]
2014-10-10 15:49 ` Jean-Michel Hautbois
2014-10-10 15:54 ` Fabio Estevam
2014-09-22 3:26 ` Fabio Estevam
2014-09-22 3:41 ` Nicolin Chen
2014-09-18 17:19 ` Nicolin Chen
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='CAOMZO5DHFgJRH_c-6rUCdfhX7ejHYMdjXCCFTNzjQ7qOfSQ+=A@mail.gmail.com' \
--to=festevam@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=jean-michel.hautbois@vodalys.com \
--cc=lars@metafoo.de \
--cc=michael@amarulasolutions.com \
--cc=mpa@pengutronix.de \
--cc=nicoleotsuka@gmail.com \
--cc=shawn.guo@freescale.com \
--cc=shengjiu.wang@freescale.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).