From cfe12b90bc4af5ad8ea7527ff227c7a2de3800ef Mon Sep 17 00:00:00 2001 From: Vijay Hiremath Date: Mon, 14 Nov 2016 18:44:56 -0800 Subject: reef: Enable high current on type-A ports by default BUG=chrome-os-partner:59309 BRANCH=none TEST=Able to draw 1.5A from Type-A ports Change-Id: I9c598f77a542650edf15f407ec4a10d0e7e7465e Signed-off-by: Vijay Hiremath Reviewed-on: https://chromium-review.googlesource.com/411345 Commit-Ready: Vijay P Hiremath Tested-by: Vijay P Hiremath Reviewed-by: David Hendricks --- board/reef/board.h | 1 + board/reef/gpio.inc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/board/reef/board.h b/board/reef/board.h index 48eb4f7c48..fae92a26ad 100644 --- a/board/reef/board.h +++ b/board/reef/board.h @@ -68,6 +68,7 @@ /* USB-A config */ #define CONFIG_USB_PORT_POWER_SMART +#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP #define CONFIG_USB_PORT_POWER_SMART_SIMPLE #undef CONFIG_USB_PORT_POWER_SMART_PORT_COUNT #define CONFIG_USB_PORT_POWER_SMART_PORT_COUNT 1 diff --git a/board/reef/gpio.inc b/board/reef/gpio.inc index 8559115727..2a7f7442f0 100644 --- a/board/reef/gpio.inc +++ b/board/reef/gpio.inc @@ -115,7 +115,7 @@ GPIO(PCH_RCIN_L, PIN(6, 1), GPIO_ODR_HIGH) /* SYS_RST_ODL */ /* FIXME: What, if anything, to do about EC_RST_ODL on VCC1_RST#? */ GPIO(CHARGER_RST_ODL, PIN(C, 0), GPIO_ODR_HIGH) -GPIO(USB_A_CHARGE_EN_L, PIN(4, 2), GPIO_OUT_HIGH) +GPIO(USB_A_CHARGE_EN_L, PIN(4, 2), GPIO_OUT_LOW) GPIO(EN_USB_TCPC_PWR, PIN(C, 3), GPIO_OUT_LOW) GPIO(USB1_ENABLE, PIN(4, 1), GPIO_OUT_LOW) -- cgit v1.2.1