Devin Lu
c8557a0e4e
pd: add PDO selection for choosing highest voltage
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>
2016-11-18 20:07:34 -08:00
..
2016-11-08 17:11:28 -08:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2013-09-27 23:07:21 +00:00
2016-08-24 16:30:10 +00:00
2016-08-11 14:46:33 -07:00
2016-08-24 16:30:10 +00:00
2016-11-16 19:04:31 -08:00
2016-11-15 07:04:30 -08:00
2016-09-02 15:12:21 -07:00
2016-04-18 17:32:40 -07:00
2016-10-11 23:01:59 -07:00
2016-11-15 17:41:53 -08:00
2016-09-13 22:21:23 -07:00
2016-10-14 18:49:36 -07:00
2016-10-14 18:49:36 -07:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2015-05-19 02:46:27 +00:00
2016-10-01 03:13:43 +00:00
2016-08-31 17:20:26 +00:00
2016-03-18 22:16:53 -07:00
2014-08-08 03:11:38 +00:00
2016-10-01 03:13:54 +00:00
2016-08-24 16:30:10 +00:00
2015-07-17 03:17:50 +00:00
2016-11-11 23:11:51 -08:00
2016-09-02 07:11:33 -07:00
2016-08-24 16:30:10 +00:00
2015-12-09 06:36:22 -08:00
2015-12-09 06:36:22 -08:00
2016-09-16 21:59:08 -07:00
2016-11-15 17:41:53 -08:00
2016-11-15 17:41:53 -08:00
2016-08-31 17:20:26 +00:00
2016-04-27 14:04:07 -07:00
2016-09-07 14:01:18 -07:00
2016-08-24 16:30:10 +00:00
2016-11-16 07:09:28 -08:00
2016-10-10 13:49:37 -07:00
2016-10-08 01:04:46 -07:00
2016-08-24 16:30:10 +00:00
2016-11-15 17:41:53 -08:00
2016-11-04 18:31:46 -07:00
2016-04-18 17:32:40 -07:00
2015-07-17 03:18:03 +00:00
2016-08-24 16:30:10 +00:00
2016-11-08 17:11:28 -08:00
2016-11-17 07:08:25 -08:00
2013-03-22 11:24:29 -07:00
2015-09-25 09:13:34 -07:00
2014-01-14 09:19:45 +00:00
2016-07-19 12:03:27 -07:00
2016-03-02 13:39:47 -08:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2015-10-13 05:28:54 -07:00
2016-11-15 17:41:53 -08:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2016-08-24 17:40:27 -07:00
2016-10-01 00:02:01 -07:00
2016-11-04 18:31:37 -07:00
2016-11-15 03:09:02 -08:00
2016-11-08 17:11:28 -08:00
2016-09-28 16:00:00 -07:00
2013-08-02 18:22:57 -07:00
2016-10-01 03:14:07 +00:00
2016-11-15 17:41:53 -08:00
2016-08-24 16:30:10 +00:00
2016-11-08 20:30:07 -08:00
2016-08-24 16:30:10 +00:00
2016-07-29 10:51:22 -07:00
2012-07-26 16:25:34 -07:00
2016-08-24 16:30:10 +00:00
2016-09-08 17:57:51 -07:00
2015-06-11 00:08:49 +00:00
2015-07-15 21:57:36 +00:00
2016-11-10 21:28:28 -08:00
2015-09-25 19:36:37 -07:00
2014-05-17 20:14:17 +00:00
2016-05-05 19:16:50 -07:00
2016-08-31 17:20:26 +00:00
2016-03-21 16:35:33 -07:00
2016-08-24 16:30:10 +00:00
2016-10-20 01:55:59 -07:00
2016-10-05 20:58:37 -07:00
2016-11-15 17:41:53 -08:00
2016-08-24 16:30:10 +00:00
2016-10-07 16:47:06 -07:00
2016-11-08 17:11:28 -08:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-10-26 01:45:25 -07:00
2016-11-18 20:07:05 -08:00
2016-04-27 10:10:02 -07:00
2016-07-21 13:13:35 -07:00
2016-06-16 12:27:42 -07:00
2016-11-02 17:39:56 -07:00
2016-11-18 20:07:34 -08:00
2016-11-15 17:41:53 -08:00
2016-11-15 17:41:53 -08:00
2016-08-24 16:30:10 +00:00
2016-09-22 19:12:36 -07:00
2016-07-21 13:13:35 -07:00
2016-08-22 23:27:24 -07:00
2016-09-16 21:59:08 -07:00
2015-10-13 05:28:54 -07:00
2015-09-24 12:46:28 -07:00
2016-01-25 21:46:48 -08:00
2016-08-24 16:30:10 +00:00