Messages in this thread | | | From | Heiko Stübner <> | Subject | regulator: Policy for setting current limits | Date | Mon, 6 Aug 2012 01:27:56 +0200 |
| |
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 current limits as 0 - x mA (x = 100, 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.
So the question is, what is the correct way to handle this:
(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
Thanks Heiko
| |