mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 01:21:49 +00:00
c8557a0e4e7c3181bb40b9b068e5b79b38d7dfe1
pyro board is using 3S1P battery, it is near 13V. To avoid the charger entering buck-boost mode, sinking as higher voltage to get the higher power efficiency. BRANCH=none BUG=chrome-os-partner:59276 TEST=plug in pyro's charger (offering 20V@2.25A, 15V@3A, 9V@3A and 5V@3A), see it selecting 20V as below: C1 st2 C1 st3 C1 st15 C1 st3 C1 st6 Req C1 [1] 5000mV 3000mA [6391.078044 New chg p1] [6391.081020 Ramp reset: st1] [6391.081664 CL: p1 s0 i500 v20000] C1 st7 C1 st8 C1 st9 [6391.192437 Ramp reset: st1] [6391.193339 CL: p1 s0 i3000 v5000] Req C1 [4] 20000mV 2250mA C1 st7 C1 st8 C1 st9 [6391.457545 Ramp reset: st1] [6391.458340 CL: p1 s0 i2250 v20000] C1 st27 C1 st9 [6392.081252 AC on] [6392.113477 charge_request(0mV, 0mA)] [6393.116998 Ramp p1 st5 2250mA 2250mA] plug in other charger (offering 15V@3A, 12V@3A and 5V@3A), see it selecting 15V as below: C1 st2 C1 st3 C1 st15 C1 st3 C1 st6 Req C1 [1] 5000mV 3000mA [6636.084963 New chg p1] [6636.087117 Ramp reset: st1] [6636.087786 CL: p1 s0 i500 v15000] C1 st7 C1 st8 C1 st9 [6636.165409 Ramp reset: st1] [6636.166314 CL: p1 s0 i3000 v5000] Req C1 [3] 15000mV 3000mA C1 st7 C1 st8 C1 st9 C1 st27 C1 st9 [6637.092559 AC on] [6637.125043 charge_request(0mV, 0mA)] [6638.091158 Ramp p1 st5 3000mA 3000mA] [6639.374815 charge_request(13040mV, 3712mA)] Change-Id: I74fe4cbd6b9d1b416a94eec3fe944a9b725f0ced Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/411621 Commit-Ready: Shawn N <shawnn@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%