summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/prj.conf
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2021-09-01 11:44:02 -0600
committerCommit Bot <commit-bot@chromium.org>2021-09-15 16:23:13 +0000
commitada651ec4ce1a8f1807f5f54e1596050a430c3d5 (patch)
tree42c3e26eb10fb5dfa3fc871b93fedaf99a01d628 /zephyr/test/drivers/prj.conf
parent0a19f385df253dc642b4dc9cb81d90e4fde0d99d (diff)
downloadchrome-ec-ada651ec4ce1a8f1807f5f54e1596050a430c3d5.tar.gz
zephyr: Conform BC1.2 test to device tree
Do not override the number of USB-C ports. Enable the port 1 PD task, so that port 1 behaves as expected during the test. BUG=b:197747859 TEST=zmake configure --test zephyr/test/drivers BRANCH=none Cq-Depend: chromium:3159528 Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I3e170c4fd295de7812b1678185a0cd892faf4203 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3138216 Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/test/drivers/prj.conf')
-rw-r--r--zephyr/test/drivers/prj.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/zephyr/test/drivers/prj.conf b/zephyr/test/drivers/prj.conf
index ff7f93b918..c54ff445b0 100644
--- a/zephyr/test/drivers/prj.conf
+++ b/zephyr/test/drivers/prj.conf
@@ -26,6 +26,10 @@ CONFIG_EMUL_BB_RETIMER=y
CONFIG_PLATFORM_EC_POWERSEQ=y
+CONFIG_HAS_TASK_USB_CHG_P0=y
+CONFIG_HAS_TASK_USB_CHG_P1=y
+CONFIG_HAS_TASK_PD_C1=y
+
CONFIG_PLATFORM_EC_BATTERY_PRESENT_GPIO=y
CONFIG_PLATFORM_EC_EXTPOWER_GPIO=y