diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2016-08-15 19:28:10 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-08-16 14:04:36 -0700 |
commit | 490ceb734f4b3bd63552d3a195ac03e1ef21bd95 (patch) | |
tree | 0105a63ba811b0fdfa299b8acaf054f106b73a54 | |
parent | 880351b80e7a70601e6399bd47ab21ccf5e3303c (diff) | |
download | chrome-ec-stabilize-8714.B.tar.gz |
Reef: Enable smart power control to the device's USB portsstabilize-8714.B
BUG=chrome-os-partner:55377
BRANCH=none
TEST=From the Kernel console, using 'ectool usbchargemode' & 'lsusb'
commands verified that the USB devices are able to connect and
disconnect from the system.
Change-Id: I45059d9e4a4995ae87eb24459c66f0110cfb20ce
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/361403
Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r-- | board/reef/board.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/reef/board.h b/board/reef/board.h index d9a295bb7b..af609b3f72 100644 --- a/board/reef/board.h +++ b/board/reef/board.h @@ -36,6 +36,14 @@ #define CONFIG_CHARGER_NARROW_VDC #define CONFIG_USB_CHARGER +/* USB-A config */ +#define CONFIG_USB_PORT_POWER_SMART +#define CONFIG_USB_PORT_POWER_SMART_SIMPLE +#define GPIO_USB1_ENABLE GPIO_EN_USB_A_5V +#define GPIO_USB2_ENABLE GPIO_EN_USB_A_5V +#define GPIO_USB_ILIM_SEL GPIO_USB_A_CHARGE_EN_L +#define GPIO_USB_CTL1 GPIO_EN_PP5000 + /* USB PD config */ #define CONFIG_CASE_CLOSED_DEBUG_EXTERNAL #define CONFIG_USB_PD_ALT_MODE |