[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120806115632.GB16861@opensource.wolfsonmicro.com>
Date: Mon, 6 Aug 2012 12:56:33 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Heiko Stübner <heiko@...ech.de>
Cc: Liam Girdwood <lrg@...com>, linux-kernel@...r.kernel.org,
Axel Lin <axel.lin@...il.com>
Subject: Re: regulator: Policy for setting current limits
On Mon, Aug 06, 2012 at 01:27:56AM +0200, Heiko Stübner wrote:
> 500). Therefore if 500mA are the upper limit but the regulator also supports
> lower values, these lower values always get selected (100mA in my case).
> In contrast pda_power sets the target current as both lower and upper limit.
This isn't good, it means that the regulator has to be able to deliver
exactly the limit requested.
> (a) let the gpio-regulator select the max current (in contrast to the minimum
> voltage)
> (b) change gpio-vbus to also use the target current as min and max value
> (c) something else
Regulators should be tending to the maximum in the available range and
consumers should specify the widest range possible so both a and b.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists