Re: regulator: Policy for setting current limits

2012-08-07 Thread Mark Brown
On Tue, Aug 07, 2012 at 01:19:34AM +0200, Heiko Stübner wrote: > Am Montag, 6. August 2012, 13:56:33 schrieb Mark Brown: > > Regulators should be tending to the maximum in the available range and > > consumers should specify the widest range possible so both a and b. > Is this true for all

Re: regulator: Policy for setting current limits

2012-08-07 Thread Mark Brown
On Tue, Aug 07, 2012 at 01:19:34AM +0200, Heiko Stübner wrote: Am Montag, 6. August 2012, 13:56:33 schrieb Mark Brown: Regulators should be tending to the maximum in the available range and consumers should specify the widest range possible so both a and b. Is this true for all regulators

Re: regulator: Policy for setting current limits

2012-08-06 Thread Heiko Stübner
Am Montag, 6. August 2012, 13:56:33 schrieb Mark Brown: > 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

Re: regulator: Policy for setting current limits

2012-08-06 Thread Mark Brown
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.

Re: regulator: Policy for setting current limits

2012-08-06 Thread Mark Brown
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.

Re: regulator: Policy for setting current limits

2012-08-06 Thread Heiko Stübner
Am Montag, 6. August 2012, 13:56:33 schrieb Mark Brown: 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

regulator: Policy for setting current limits

2012-08-05 Thread Heiko Stübner
Hi, I hit a problem when setting a current limit and am not sure whose fault it is (i.e. which component to change). Therefore I'd appreciate a pointer in the right direction. After the recent changes the gpio-regulator always selects the minimal value to set. The gpio-vbus driver sets it's

regulator: Policy for setting current limits

2012-08-05 Thread Heiko Stübner
Hi, I hit a problem when setting a current limit and am not sure whose fault it is (i.e. which component to change). Therefore I'd appreciate a pointer in the right direction. After the recent changes the gpio-regulator always selects the minimal value to set. The gpio-vbus driver sets it's