mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
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 <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/169323 Reviewed-by: Randall Spangler <rspangler@chromium.org> (cherry picked from commit 3a2ef8cb38d9b0fcc638bbc9a5f7a465a8b14565) Reviewed-on: https://chromium-review.googlesource.com/169392
This commit is contained in:
committed by
chrome-internal-fetch
parent
87d694a906
commit
6bfeb49855
@@ -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 */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user