Files
OpenCellular/board
Shawn Nematbakhsh 3fe117d346 samus_pd: Adjust input current limit downward to prevent OC
Based on measurements, Samus can pull more current than desired, even
taking into account the existing INPUT_CURRENT_LIMIT_OFFSET_MA
adjustment. Decrease the programmed current limit by an additional
factor, determined by taking the worst-case power measurements across 15
different Samus devices, to ensure that Samus never pulls more current
than desired.

BUG=chrome-os-partner:55297
BRANCH=samus
TEST=Verify with debug prints that curr_lim_ma becomes 256 when
negotiated current limit is 500mA and curr_lim_ma becomes 2556 when
negotiated limit is 3000mA.

Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: I6912d987c5a519f55a831698873a69c4cac817b8
Reviewed-on: https://chromium-review.googlesource.com/684696
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
2017-09-26 13:36:20 -07:00
..
2017-09-14 11:36:35 -07:00
2017-09-09 13:48:49 -07:00
2017-09-25 18:35:26 -07:00
2017-03-16 11:25:50 -07:00
2017-08-23 17:01:21 -07:00
2017-09-07 15:01:05 -07:00
2017-09-19 17:30:54 -07:00
2017-05-18 06:03:52 -07:00
2017-09-25 11:32:18 -07:00
2016-05-04 16:15:02 -07:00
2014-04-02 19:58:53 +00:00
2017-05-16 07:47:05 -07:00