Skip to content

Commit 9e85143

Browse files
ScottChao-WistronChromeos LUCI
authored andcommitted
gimble: enable FRS on C1
BUG=b:225941782 BRANCH=none TEST=Build and verify by EE Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com> Change-Id: I220a1c42e436e59d4bdb4fb7a083500ff69ae794 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3514890 Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: caveh jalali <caveh@chromium.org>
1 parent 84114e8 commit 9e85143

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

board/gimble/board.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
#define CONFIG_SYV682X_HV_ILIM SYV682X_HV_ILIM_5_50
7575
#define CONFIG_USBC_PPC_NX20P3483
7676

77+
#define CONFIG_USB_PD_FRS
7778
#define CONFIG_USB_PD_FRS_PPC
7879

7980
/* measure and check these values on gimble */

board/gimble/gpio.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ GPIO(PCH_PWROK, PIN(7, 2), GPIO_OUT_LOW)
6969
GPIO(POWER_LED_GATE, PIN(B, 6), GPIO_OUT_LOW) /* Power LED: White */
7070
GPIO(SYS_RST_ODL, PIN(C, 5), GPIO_ODR_HIGH)
7171
GPIO(USB_C0_TCPC_RST_ODL, PIN(A, 7), GPIO_ODR_LOW)
72-
GPIO(USB_C1_FRS_EN, PIN(9, 4), GPIO_OUT_LOW)
72+
GPIO(USB_C1_FRS_EN, PIN(9, 4), GPIO_INPUT)
7373
GPIO(USB_C1_RT_RST_R_ODL, PIN(0, 2), GPIO_ODR_HIGH)
7474
GPIO(VCCST_PWRGD_OD, PIN(A, 4), GPIO_ODR_LOW)
7575

board/gimble/usbc_config.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ const struct tcpc_config_t tcpc_config[] = {
5757
.drv = &ps8xxx_tcpm_drv,
5858
.flags = TCPC_FLAGS_TCPCI_REV2_0 |
5959
TCPC_FLAGS_TCPCI_REV2_0_NO_VSAFE0V |
60-
TCPC_FLAGS_CONTROL_VCONN,
60+
TCPC_FLAGS_CONTROL_VCONN |
61+
TCPC_FLAGS_CONTROL_FRS,
6162
},
6263
};
6364
BUILD_ASSERT(ARRAY_SIZE(tcpc_config) == USBC_PORT_COUNT);

0 commit comments

Comments
 (0)