diff options
author | Simon Glass <sjg@chromium.org> | 2021-01-08 16:20:02 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-15 03:57:10 +0000 |
commit | 128f2f23eacd2c88605292b14750e241ae2551c9 (patch) | |
tree | 0ed2c022dd2108f47b3563e14b31309e10c0d531 | |
parent | 9b3c335631da21765c5c86e4c98f79976ea80bae (diff) | |
download | chrome-ec-128f2f23eacd2c88605292b14750e241ae2551c9.tar.gz |
volteer: Enable options to support charging from USB-C
The TCPC is used to detect VBUS, so update that option. Also enable
USB_DRP_ACC_TRYSRC since that is used with the TCPMV2 stack.
BUG=b:175434113
TEST=build on volteer
With other CLs, connect a USB-C 30W charger to left port and it
charges at full rate
Change-Id: I38a4c4556ceb7a4fa303b31066c345f5ad12037c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/zephyr-chrome/+/2618741
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2630184
Tested-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r-- | zephyr/projects/volteer/prj.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zephyr/projects/volteer/prj.conf b/zephyr/projects/volteer/prj.conf index 46a4c234a0..b29a121a22 100644 --- a/zephyr/projects/volteer/prj.conf +++ b/zephyr/projects/volteer/prj.conf @@ -38,13 +38,14 @@ CONFIG_PLATFORM_EC_USB_PID=0x503e CONFIG_PLATFORM_EC_USBC_PPC_SN5S330=y CONFIG_PLATFORM_EC_USBC_PPC_SYV682X=y CONFIG_PLATFORM_EC_USBC_RETIMER_INTEL_BB=y +CONFIG_PLATFORM_EC_USB_DRP_ACC_TRYSRC=y CONFIG_PLATFORM_EC_USB_MUX_VIRTUAL=y CONFIG_PLATFORM_EC_USB_PD_ALT_MODE_UFP=y CONFIG_PLATFORM_EC_USB_PD_VBUS_MEASURE_NOT_PRESENT=y CONFIG_PLATFORM_EC_USB_PD_DISCHARGE_PPC=y CONFIG_PLATFORM_EC_CONFIG_USB_PD_REV30=y CONFIG_PLATFORM_EC_BATTERY_FUEL_GAUGE=y -CONFIG_PLATFORM_EC_USB_PD_VBUS_DETECT_PPC=y +CONFIG_PLATFORM_EC_USB_PD_VBUS_DETECT_TCPC=y CONFIG_PLATFORM_EC_USB_PD_TCPM_PS8815=y CONFIG_PLATFORM_EC_USB_PD_TCPM_RT1715=y CONFIG_PLATFORM_EC_USB_PD_TCPM_TUSB422=y |