mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 02:15:14 +00:00
pi3usb9281: Limit DCP port to 500mA charge current
According to specification, a DCP port is only required to provide 500mA @ 4.75V, though actual supply limit can vary upward significantly. Set the current limit on DCP ports to 500mA to reflect this reality. BUG=chrome-os-partner:32003 TEST=None BRANCH=Samus Change-Id: I46e25b44baaa41ddf173880e52d7485d952ebf23 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/236772 Reviewed-by: Alec Berg <alecaberg@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
165cf6c881
commit
91131f7387
@@ -136,7 +136,7 @@ int pi3usb9281_get_ilim(int device_type, int charger_status)
|
||||
else if (device_type & PI3USB9281_TYPE_CDP)
|
||||
current_limit_ma = 1500;
|
||||
else if (device_type & PI3USB9281_TYPE_DCP)
|
||||
current_limit_ma = 1500;
|
||||
current_limit_ma = 500;
|
||||
|
||||
return current_limit_ma;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user