diff options
author | Ben Chen <ben.chen2@quanta.corp-partner.google.com> | 2020-07-09 12:59:42 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-15 00:04:15 +0000 |
commit | dbba8666cf70142b6f36f22a0ef71a10499f6fe0 (patch) | |
tree | a1e264c6bfaf3a2f29b56611079180bc5f9f9889 /board/voxel/board.c | |
parent | c6a84e237a69e04bbaa9cdac054894aac25b1b71 (diff) | |
download | chrome-ec-dbba8666cf70142b6f36f22a0ef71a10499f6fe0.tar.gz |
voxel: reconfig GPIO and enable/disable USB-A power
config GPIO EN_DRAM_VDDQ to GPIOC6, and enable
CONFIG_USB_PORT_POWER_DUMB for enabling/disabling
charging from USB-A ports. This change also disables
the USB1 low power limit by default.
BUG=b:155062762
BRANCH=none
TEST=make buildall PASS
Change-Id: I1f4c0e4d93364f4a73a96a3e72b363594efa72cd
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2289472
Commit-Queue: Keith Short <keithshort@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/voxel/board.c')
-rw-r--r-- | board/voxel/board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/voxel/board.c b/board/voxel/board.c index 7ae244570c..02b83b4bf3 100644 --- a/board/voxel/board.c +++ b/board/voxel/board.c @@ -232,6 +232,13 @@ __override void board_cbi_init(void) } /******************************************************************************/ +/* USB-A charging control */ + +const int usb_port_enable[USB_PORT_COUNT] = { + GPIO_EN_PP5000_USBA, +}; + +/******************************************************************************/ /* USBC PPC configuration */ struct ppc_config_t ppc_chips[] = { [USBC_PORT_C0] = { |