Reef: Enable smart power control to the device's USB ports

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>
This commit is contained in:
Vijay Hiremath
2016-08-15 19:28:10 -07:00
committed by chrome-bot
parent 880351b80e
commit 490ceb734f

View File

@@ -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