summaryrefslogtreecommitdiff
path: root/zephyr/projects/intelrvp
diff options
context:
space:
mode:
authorBrandon Breitenstein <brandon.breitenstein@intel.com>2022-04-13 09:50:46 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-15 01:37:30 +0000
commite6afc4c7862fcd343287ab5ec5af902fe8735bc1 (patch)
treee12a2f1246e6edccb91fc8b7dc6164a73a9ace93 /zephyr/projects/intelrvp
parent69ac9a97f26b9fd34db2f8a0b673738e8347aa79 (diff)
downloadchrome-ec-e6afc4c7862fcd343287ab5ec5af902fe8735bc1.tar.gz
zephyr: mtlrvp: Enable hibernate wakeup pin config
This patch enables the hibernate wakeup pins for MTL RVP. BUG=none BRANCH=none TEST=zmake mtlrvp verify that the system will come out of hibernate with any of the configured methods Signed-off-by: Brandon Breitenstein <brandon.breitenstein@intel.com> Change-Id: Ifd0468d71d6da154f453b209c1faa4c0d12a9da9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3585291 Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'zephyr/projects/intelrvp')
-rw-r--r--zephyr/projects/intelrvp/mtlrvp/mtlrvpp_npcx/mtlrvp_npcx.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/zephyr/projects/intelrvp/mtlrvp/mtlrvpp_npcx/mtlrvp_npcx.dts b/zephyr/projects/intelrvp/mtlrvp/mtlrvpp_npcx/mtlrvp_npcx.dts
index 9bddcb88ec..c6795e3d6a 100644
--- a/zephyr/projects/intelrvp/mtlrvp/mtlrvpp_npcx/mtlrvp_npcx.dts
+++ b/zephyr/projects/intelrvp/mtlrvp/mtlrvpp_npcx/mtlrvp_npcx.dts
@@ -4,6 +4,15 @@
*/
/ {
+ hibernate-wake-pins {
+ compatible = "cros-ec,hibernate-wake-pins";
+ wakeup-irqs = <
+ &int_ac_present
+ &int_lid_open
+ &int_power_button
+ >;
+ };
+
named-i2c-ports {
compatible = "named-i2c-ports";