summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-09-17 14:08:49 -0600
committerCommit Bot <commit-bot@chromium.org>2021-09-17 23:51:17 +0000
commitef98fb8de09159629547d30388a82df451f33b76 (patch)
treecd8554e12f42c6c84e9463b28968d48cc1eb868e
parent59667f5544e997bd248e089048a0740ae7aecfd5 (diff)
downloadchrome-ec-ef98fb8de09159629547d30388a82df451f33b76.tar.gz
zephyr: guybrush: Enable ESPI driver
Got it to compile with just one extra gpio. Not sure if it actually works yet. BUG=b:195137794 BRANCH=none TEST=compiles Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I8103ba697206ce5350c2d353dbd3e05cec76eb40 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3169566 Reviewed-by: Diana Z <dzigterman@chromium.org>
-rw-r--r--zephyr/projects/guybrush/gpio.dts1
-rw-r--r--zephyr/projects/guybrush/prj.conf1
2 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/projects/guybrush/gpio.dts b/zephyr/projects/guybrush/gpio.dts
index eea163ad62..60f8be941e 100644
--- a/zephyr/projects/guybrush/gpio.dts
+++ b/zephyr/projects/guybrush/gpio.dts
@@ -105,6 +105,7 @@
ec_soc_wake_l {
gpios = <&gpio0 3 GPIO_OUT_HIGH>;
label = "EC_SOC_WAKE_L";
+ enum-name = "GPIO_EC_PCH_WAKE_ODL";
};
ec_soc_int_l {
gpios = <&gpio8 3 GPIO_OUT_HIGH>;
diff --git a/zephyr/projects/guybrush/prj.conf b/zephyr/projects/guybrush/prj.conf
index e6962fd1ce..16d9fbcc41 100644
--- a/zephyr/projects/guybrush/prj.conf
+++ b/zephyr/projects/guybrush/prj.conf
@@ -5,6 +5,7 @@
CONFIG_CROS_EC=y
CONFIG_PLATFORM_EC=y
CONFIG_SHIMMED_TASKS=y
+CONFIG_ESPI=y
CONFIG_PLATFORM_EC_VBOOT_EFS2=n