summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-02-16 13:44:31 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-17 20:51:34 +0000
commite1e049f2f5ff181574364cb25786eefa9f92b4e7 (patch)
tree8ba258c8d670800d817b7738d68225ad9ffd8726
parent9e71c07ae4c367fc001e666e1a09d748e916d6a9 (diff)
downloadchrome-ec-e1e049f2f5ff181574364cb25786eefa9f92b4e7.tar.gz
zephyr: delbin: bring up eSPI
Enable eSPI and host commands. BUG=b:180410072 BRANCH=none TEST=run "hostevent" on delbin Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I2422b02dd8a2ece58793b10beed213ee00c8f418 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2699527 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--zephyr/projects/delbin/include/gpio_map.h1
-rw-r--r--zephyr/projects/delbin/prj.conf4
2 files changed, 4 insertions, 1 deletions
diff --git a/zephyr/projects/delbin/include/gpio_map.h b/zephyr/projects/delbin/include/gpio_map.h
index c2942b1908..e3cdcda1ce 100644
--- a/zephyr/projects/delbin/include/gpio_map.h
+++ b/zephyr/projects/delbin/include/gpio_map.h
@@ -9,6 +9,7 @@
#include <devicetree.h>
#include <gpio_signal.h>
+#define GPIO_EC_PCH_WAKE_ODL NAMED_GPIO(ec_pch_wake_odl)
#define GPIO_ENTERING_RW NAMED_GPIO(ec_entering_rw)
#define GPIO_WP_L NAMED_GPIO(ec_wp_l)
diff --git a/zephyr/projects/delbin/prj.conf b/zephyr/projects/delbin/prj.conf
index 1fcf2cbb5c..b8bad0a939 100644
--- a/zephyr/projects/delbin/prj.conf
+++ b/zephyr/projects/delbin/prj.conf
@@ -7,10 +7,12 @@ CONFIG_PLATFORM_EC=y
CONFIG_SHIMMED_TASKS=y
CONFIG_PLATFORM_EC_BRINGUP=y
+CONFIG_ESPI=y
+CONFIG_PLATFORM_EC_ESPI_VW_SLP_S4=y
+
# TODO(b/180410072): bringup these features
CONFIG_PLATFORM_EC_BACKLIGHT_LID=n
CONFIG_PLATFORM_EC_BOARD_VERSION=n
-CONFIG_PLATFORM_EC_HOSTCMD=n
CONFIG_PLATFORM_EC_KEYBOARD=n
CONFIG_CROS_KB_RAW_NPCX=n
CONFIG_PLATFORM_EC_SWITCH=n