diff options
author | Ko <ko_ko@compal.corp-partner.google.com> | 2019-05-24 14:35:56 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-06-20 11:20:27 +0000 |
commit | 308592140b792872d9235073b151f290a45ea514 (patch) | |
tree | 9c9811b7a8cf13327ae9e3a03624edf2111ae8eb /board/nami | |
parent | 3e31f7f3e8708dd9ab21ce215a0eaee4657ed85e (diff) | |
download | chrome-ec-308592140b792872d9235073b151f290a45ea514.tar.gz |
Nami: Add Adapter PROCHOT Setting
Currently, we use default current, 3.072A for
adapter current PROCHOT# threshold,
add higher prochot current to improve performance on Nami.
BUG=b:130387567
BRANCH=Nami
TEST=Verify Nami ac prochot set to 0XD00 (3328mA) during initial.
Change-Id: Iee23920b3fd3ee76d3d12716d6381062183413cc
Signed-off-by: Ko <ko_ko@compal.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1628631
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board/nami')
-rw-r--r-- | board/nami/board.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/nami/board.c b/board/nami/board.c index ffdc530903..59e370e3ef 100644 --- a/board/nami/board.c +++ b/board/nami/board.c @@ -1031,6 +1031,12 @@ static void board_init(void) */ swap(scancode_set2[0][4], scancode_set2[7][2]); #endif + + isl923x_set_ac_prochot( + /* set ac prochot currentto 3328mA 0xD00, default 3072mA*/ + ISL923X_PROCHOT_CURRENT_256 | + ISL923X_PROCHOT_CURRENT_1024 | + ISL923X_PROCHOT_CURRENT_2048); } DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT); |