From: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
Cc: Jean-Michel Hautbois
<jean-michel.hautbois-B+Q8N6RmIDZBDgjK7y7TUQ@public.gmane.org>,
"fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org"
<fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
"alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org"
<alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org>,
"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"nicoleotsuka-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"
<nicoleotsuka-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH v2] audio: sgtl5000: Add MicBias resistor support in DT
Date: Mon, 13 Oct 2014 12:10:08 +0200 [thread overview]
Message-ID: <20141013101008.GF27755@sirena.org.uk> (raw)
In-Reply-To: <20141013100504.GA14739@leverpostej>
[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]
On Mon, Oct 13, 2014 at 11:05:04AM +0100, Mark Rutland wrote:
> On Sun, Oct 12, 2014 at 10:39:11PM +0100, Jean-Michel Hautbois wrote:
> > Some systems may require a different resistor than the default one (4K).
> > This adds a property in sgtl5000 codec.
> > It keeps the default of 4K when nothing is specified so it does not break
> > existing code.
> >
> > v2: modify the default case on DT parsing
Don't include noise like this in the changelog, add it after the --- as
covered in SubmittingPatches.
> > +- sgtl5000-micbias-resistor : the bias resistor to be used
> > + 1 or SGTL5000_MICBIAS_2K - MICBIAS resistor is set to 2K
> > + 2 or SGTL5000_MICBIAS_4K - MICBIAS resistor is set to 4K
> > + 3 or SGTL5000_MICBIAS_8K - MICBIAS resistor is set to 8K
> > + 0 or SGTL5000_MICBIAS_OFF - MICBIAS resistor is not used
> > + If this node is not mentioned or if the value is unknown, then
> > + micbias resistor is set to 4K.
> The SGTL5000_MICBIAS_* constants aren't in a DT header, so shouldn't be
> referenced here.
Or the constants should be moved of course but...
> Why not have mcbias-resistor-k-ohms as 2, 4, 8, or 0?
> That would be much easier to read as a human.
...this is even better.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2014-10-13 10:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-12 21:39 [PATCH v2] audio: sgtl5000: Add MicBias resistor support in DT Jean-Michel Hautbois
[not found] ` <1413149951-2882-1-git-send-email-jean-michel.hautbois-B+Q8N6RmIDZBDgjK7y7TUQ@public.gmane.org>
2014-10-13 10:05 ` Mark Rutland
2014-10-13 10:10 ` Mark Brown [this message]
[not found] ` <20141013101008.GF27755-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-10-13 10:18 ` Jean-Michel Hautbois
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=20141013101008.GF27755@sirena.org.uk \
--to=broonie-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
--cc=jean-michel.hautbois-B+Q8N6RmIDZBDgjK7y7TUQ@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=nicoleotsuka-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/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