summaryrefslogtreecommitdiff
path: root/board/voxel/board.h
diff options
context:
space:
mode:
authorEric Herrmann <eherrmann@chromium.org>2021-02-05 00:18:23 +0000
committerCommit Bot <commit-bot@chromium.org>2021-03-10 21:59:18 +0000
commit5e8fa55cd5705a0d76f41c51d05fc175512c226a (patch)
treeb4c4803957acb979a70b806e2dfd4e7795a02016 /board/voxel/board.h
parent3b2d03c081a583a639bb17e73250f86b1e5732f0 (diff)
downloadchrome-ec-5e8fa55cd5705a0d76f41c51d05fc175512c226a.tar.gz
Voxel: Enable FRS
Set flag and configure GPIOs to enable Fast Role Swap on Voxel. Clear the GPIOs passed to the PPC driver for boards which don't support FRS due to older PPC versions. BUG=b:148144711 TEST=With an FRS device with power passed through, remove the power cord and check that the device doesn't re-enumerate. Test with 5V and 20V wall adapters BRANCH=None Signed-off-by: Eric Herrmann <eherrmann@chromium.org> Change-Id: Ib60478d4f840967b1f08d0e621b74350c8f0658c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2733593 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'board/voxel/board.h')
-rw-r--r--board/voxel/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/voxel/board.h b/board/voxel/board.h
index def9fcd153..bf92358030 100644
--- a/board/voxel/board.h
+++ b/board/voxel/board.h
@@ -92,6 +92,7 @@
/* USBC PPC*/
#define CONFIG_USBC_PPC_SYV682X /* USBC port C0/C1 */
+#define CONFIG_USB_PD_FRS_PPC
/* BC 1.2 */