From 6bfeb498552ea7f6f4dcbb670f291fd8c50e29bd Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Fri, 13 Sep 2013 09:57:17 -0700 Subject: Falco: correct input current limit for 45W adapter, Turbo off Change the charger's Input Current Register setting for the 45W adapter to match the latest spec. BUG=chrome-os-partner:20739 BRANCH=Falco,ToT TEST=manual Connect a 45W adapter, run the "battery" and "charger" commands on the EC console. When the battery charge is below 10% (turbo off), the "I_in" value displayed by the "charger" command should be 1536. Before it was 2560. Change-Id: I0483b5408aa2da352cd3aeda58e1656c095d86b2 Signed-off-by: Bill Richardson Reviewed-on: https://chromium-review.googlesource.com/169323 Reviewed-by: Randall Spangler (cherry picked from commit 3a2ef8cb38d9b0fcc638bbc9a5f7a465a8b14565) Reviewed-on: https://chromium-review.googlesource.com/169392 --- common/extpower_falco.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/extpower_falco.c b/common/extpower_falco.c index 2eef487e9e..bc308b6408 100644 --- a/common/extpower_falco.c +++ b/common/extpower_falco.c @@ -58,7 +58,7 @@ int ad_input_current[][NUM_AC_TURBO_STATES] = { * because the BQ24738 Input Current Register masks off bits 6-0. * FIXME: That constraint may vary with other chargers. */ {0x0a00, 0x0a00}, /* ADAPTER_UNKNOWN */ - {0x0a00, 0x0800}, /* ADAPTER_45W */ + {0x0600, 0x0800}, /* ADAPTER_45W */ {0x0a00, 0x0c00}, /* ADAPTER_65W */ {0x0f00, 0x1100} /* ADAPTER_90W */ }; -- cgit v1.2.1