diff options
author | Diana Z <dzigterman@chromium.org> | 2021-06-25 11:27:58 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-29 17:32:26 +0000 |
commit | d729b26f22776e8bce5a5b485be9bc252e832e8d (patch) | |
tree | f4c58639688cf962501e0ff1f3681f9c7a3370cb /baseboard/guybrush/baseboard.h | |
parent | af430856c637235d9f705a51e7a69da0867d8f3a (diff) | |
download | chrome-ec-d729b26f22776e8bce5a5b485be9bc252e832e8d.tar.gz |
Guybrush: Set up custom Vbus source detection
In the USB common code, PPCs will always be given priority over TCPCs
for detecting whether sourcing is enabled. However, with FRS enabled
the PPC cached flags no longer accurately reflect whether we're
sourcing. Therefore, set up a custom board function which may query the
most appropriate chip, though for now set it up for the same component
used by the Vbus discharge code.
BRANCH=None
BUG=b:183586640
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I4acf65930e944990e7770252de4ff47c671382a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2987596
Reviewed-by: Rob Barnes <robbarnes@google.com>
Diffstat (limited to 'baseboard/guybrush/baseboard.h')
-rw-r--r-- | baseboard/guybrush/baseboard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/baseboard/guybrush/baseboard.h b/baseboard/guybrush/baseboard.h index 3b87a99b48..0aa01c7602 100644 --- a/baseboard/guybrush/baseboard.h +++ b/baseboard/guybrush/baseboard.h @@ -158,6 +158,7 @@ #define CONFIG_CMD_TCPC_DUMP #define CONFIG_USB_CHARGER #define CONFIG_USB_POWER_DELIVERY +#define CONFIG_USB_PD_5V_EN_CUSTOM #define CONFIG_USB_PD_ALT_MODE #define CONFIG_USB_PD_ALT_MODE_DFP #define CONFIG_USB_PD_DISCHARGE_TCPC |