diff options
author | Sam Hurst <shurst@google.com> | 2021-06-24 09:27:09 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-28 23:30:36 +0000 |
commit | 92a6d035526a4914e03e06d4eb7b0a6c928938e2 (patch) | |
tree | f0bc809492890f8dd056fbc177fe615f37b2c3a8 /zephyr/dts/bindings | |
parent | 9679fba5d5dec3e68401ad56c4137c055116d683 (diff) | |
download | chrome-ec-92a6d035526a4914e03e06d4eb7b0a6c928938e2.tar.gz |
zephyr: add support for mkbp wake event mask
Add support in the devicetree for masking mkbp events
to prevent said events from waking up a suspended
system.
BUG=b:190503252
BRANCH=none
TEST=make buildall
TEST=zmake testall
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: Ib53b8f96c2fb4704e25ce4fb62eb277a16d92cd9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2985820
Diffstat (limited to 'zephyr/dts/bindings')
-rw-r--r-- | zephyr/dts/bindings/cros_mkbp_event/ec-mkbp-event.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/cros_mkbp_event/ec-mkbp-event.yaml b/zephyr/dts/bindings/cros_mkbp_event/ec-mkbp-event.yaml new file mode 100644 index 0000000000..c8f5a0c376 --- /dev/null +++ b/zephyr/dts/bindings/cros_mkbp_event/ec-mkbp-event.yaml @@ -0,0 +1,16 @@ +# Copyright 2021 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +description: EC MKBP Event node + +compatible: "ec-wake-mask-event" + +properties: + wakeup-mask: + required: false + type: int + default: 0 + description: + Define the MKBP or host events that will wake up the application + processor from suspend mode. |