diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2019-09-03 11:54:39 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-09-05 18:17:34 +0000 |
commit | b47a5ca84dfd6b75a4cd76837d81cac0345c000f (patch) | |
tree | a9337e366cdd89ff39e1123b5531c923ed1ca467 /board | |
parent | fa6f77cd0da5b2f17494201e0770d1c8d550b7f4 (diff) | |
download | chrome-ec-b47a5ca84dfd6b75a4cd76837d81cac0345c000f.tar.gz |
intelrvp: Enable USB-C SRC current limiting
Enable SRC current limit pin of the type C current-limited power switch
to provide more current when sourcing on only 1 port.
BUG=b:140404596
BRANCH=none
TEST=Manually tested on tglrvp
a. 1 port is connected: ILIM pin of respective port's current
limited power switch is high and able to source 3A.
b. 2 ports are connected: ILIM pin of both port's current
limited power switch is low and able to source 1.5A on each
port.
Change-Id: Ic6ce897e25a25b526c3c52bce8cbdc843ad419f9
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1783517
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/tglrvpu_ite/board.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/tglrvpu_ite/board.c b/board/tglrvpu_ite/board.c index a0cb33d5fd..c98e5035e7 100644 --- a/board/tglrvpu_ite/board.c +++ b/board/tglrvpu_ite/board.c @@ -42,6 +42,10 @@ const struct tcpc_gpio_config_t tcpc_gpios[] = { .cc2_pin = GPIO_USB_C0_CC2_VCONN_EN, .pin_pol = 1, }, + .src_ilim = { + .pin = GPIO_USB_C0_SRC_HI_ILIM, + .pin_pol = 1, + }, }, [TYPE_C_PORT_1] = { .vbus = { @@ -61,6 +65,10 @@ const struct tcpc_gpio_config_t tcpc_gpios[] = { .cc2_pin = GPIO_USB_C1_CC2_VCONN_EN, .pin_pol = 1, }, + .src_ilim = { + .pin = GPIO_USB_C1_SRC_HI_ILIM, + .pin_pol = 1, + }, }, }; BUILD_ASSERT(ARRAY_SIZE(tcpc_gpios) == CONFIG_USB_PD_PORT_COUNT); |