public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Adrian Hunter <adrian.hunter@nokia.com>
Cc: lrg@slimlogic.co.uk, LKML <linux-kernel@vger.kernel.org>,
	linux-omap Mailing List <linux-omap@vger.kernel.org>
Subject: Re: [PATCH] regulator: twl4030 VAUX3 supports 3.0V
Date: Fri, 6 Mar 2009 11:16:20 -0800	[thread overview]
Message-ID: <200903061116.21544.david-b@pacbell.net> (raw)
In-Reply-To: <49B11EB0.30809@nokia.com>

On Friday 06 March 2009, Adrian Hunter wrote:
> TWL4030 and TWL5030 support 3.0V on VAUX3.

I double checked several technical reference manuals, and they
say otherwise.   The 3.0V settings in VAUX3_DEDICATED are very
consistently labeled as "TI cannot support these values", for
all current versions of chips with a VAUX3 supply:

  TWL4030 ES3.1
  TWL5030 ES1.1
  TPS65930 ES1.0 (more or less a cost-reduced TWL5030)
  TPS65950 ES1.0 (more or less TWL5030)

So, NAK on this.

Do you really need 3.0V out of that regulator?  If so,
then I'd rather see a patch exposing that CONFIG_*
setting to enable all the unsupported/out-of-range
values, rather than just selectively hacking those
tables to permit some (but not all) of them to be used
out-of-range.


> Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
> ---
> 
> According to TI:
> http://community.ti.com/forums/t/3777.aspx

That looks to me like some random TI developer reading the
manual and ignoring the label on those settings:  Yes if you
set that value it'll probably work.  But no, if you rely on
that it's working out-of-spec, and is clearly marked as such.


 
> 
> 
>  drivers/regulator/twl4030-regulator.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/regulator/twl4030-regulator.c b/drivers/regulator/twl4030-regulator.c
> index 8655443..1755026 100644
> --- a/drivers/regulator/twl4030-regulator.c
> +++ b/drivers/regulator/twl4030-regulator.c
> @@ -224,7 +224,7 @@ static const u16 VAUX2_VSEL_table[] = {
>  };
>  static const u16 VAUX3_VSEL_table[] = {
>  	1500, 1800, 2500, 2800,
> -	UNSUP(3000), UNSUP(3000), UNSUP(3000), UNSUP(3000),
> +	3000, 3000, 3000, 3000,
>  };
>  static const u16 VAUX4_VSEL_table[] = {
>  	700, 1000, 1200, UNSUP(1300),
> -- 
> 1.5.6.3
> 
> 

  parent reply	other threads:[~2009-03-06 19:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06 13:01 [PATCH] regulator: twl4030 VAUX3 supports 3.0V Adrian Hunter
2009-03-06 18:23 ` Liam Girdwood
2009-03-06 19:16 ` David Brownell [this message]
2009-03-06 22:18   ` Mark Brown
2009-03-06 22:48     ` David Brownell
2009-03-09 11:47       ` Liam Girdwood
2009-03-17  7:36         ` Adrian Hunter
2009-03-17 11:43           ` Liam Girdwood
2009-03-25  8:28             ` Adrian Hunter
2009-03-25 17:03               ` David Brownell
2009-03-26 14:21                 ` Adrian Hunter
2009-03-31 10:43                   ` Liam Girdwood

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=200903061116.21544.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=adrian.hunter@nokia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=lrg@slimlogic.co.uk \
    /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