Re: regulator: Policy for setting current limits
From: Mark Brown
Date: Mon Aug 06 2012 - 07:56:28 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/