diff options
author | Aseda Aboagye <aaboagye@google.com> | 2018-06-18 13:15:43 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-06-19 19:11:09 -0700 |
commit | 4a9b039e47ddda25bc02232d7e8314a72cdc2c7b (patch) | |
tree | 9976d8dec1bfd17ce05398e33700e69a6414b80d /driver/ppc/sn5s330.h | |
parent | 8400787279345a1810b2635ba0bab4ae3bd5e537 (diff) | |
download | chrome-ec-4a9b039e47ddda25bc02232d7e8314a72cdc2c7b.tar.gz |
ppc: sn5s330: Set VCONN ILIM to 0.6A (min).
It seems that several charge through hubs have inrush currents that
exceed 350mA when VCONN is applied. This in turn causes the SN5S330 to
latch off VCONN due to the overcurrent condition. This commit simply
sets the VCONN current limit to the 600mA (min) setting.
BUG=b:110370179
BRANCH=None
TEST=Flash nocturne; Use a variety of charge through hubs, verify that
VCONN is not latched off.
Change-Id: I7a0e5d1aa7c42d22b43a596520790debee47163b
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1105309
Commit-Ready: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'driver/ppc/sn5s330.h')
-rw-r--r-- | driver/ppc/sn5s330.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/ppc/sn5s330.h b/driver/ppc/sn5s330.h index 7d3ba6103e..2b17a1d46a 100644 --- a/driver/ppc/sn5s330.h +++ b/driver/ppc/sn5s330.h @@ -99,6 +99,7 @@ enum sn5s330_pp_idx { #define SN5S330_VCONN_EN (1 << 0) #define SN5S330_CC_POLARITY (1 << 1) #define SN5S330_CC_EN (1 << 4) +#define SN5S330_VCONN_ILIM_SEL (1 << 5) /* FUNC_SET_9 */ #define SN5S330_PP2_CONFIG (1 << 2) |