diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2014-06-19 18:45:01 +0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-06-24 20:04:55 +0000 |
commit | 447eafb55a284ada2e1127230d938d353d34dd06 (patch) | |
tree | 128f14a5e049521422e61f20530c7d1edea71839 /driver | |
parent | 88a5589c0e4483d190e82147ae84696246421bb3 (diff) | |
download | chrome-ec-447eafb55a284ada2e1127230d938d353d34dd06.tar.gz |
samus: fix input current to 2048
This changes the input current limit to 2048mA with no ramp up.
Problem is that the bq24773 is doing a really poor job of measuring
input current, so even though the zinger side can support 3A, the
samus side can cause over currents down to 2300mA. This is set
consertavily to avoid over current errors and will need to be
updated when the hardware allows.
BUG=chrome-os-partner:24461
BRANCH=none
TEST=Used bench top power supply to power multiple samus 2A proto
boards and gathered data on max current samus was drawing based on
input current setting. Samus was often underestimating current by
300-700mA.
Change-Id: Iabeb0d026f2b72a9ee539d92579ee6d11aeaa56b
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/205143
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'driver')
-rw-r--r-- | driver/battery/samus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/battery/samus.c b/driver/battery/samus.c index 72b1035e97..de361b2d59 100644 --- a/driver/battery/samus.c +++ b/driver/battery/samus.c @@ -52,7 +52,7 @@ const struct battery_info *battery_get_info(void) * wanted it in the first place. */ /* FIXME(crosbug.com/p/24461): determine correct values for this */ -#define MAX_INPUT_CURRENT 2432 +#define MAX_INPUT_CURRENT 2048 #define INPUT_CURRENT_INCR 64 static int fast_charging_allowed; |