diff options
Diffstat (limited to 'zephyr/dts/bindings/cros_mkbp_event/ec-wake-mask-event.yaml')
-rw-r--r-- | zephyr/dts/bindings/cros_mkbp_event/ec-wake-mask-event.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/cros_mkbp_event/ec-wake-mask-event.yaml b/zephyr/dts/bindings/cros_mkbp_event/ec-wake-mask-event.yaml new file mode 100644 index 0000000000..04e95ea829 --- /dev/null +++ b/zephyr/dts/bindings/cros_mkbp_event/ec-wake-mask-event.yaml @@ -0,0 +1,29 @@ +# Copyright 2021 The ChromiumOS Authors +# 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. + e.g. + ec-mkbp-host-event-wakeup-mask { + compatible = "ec-wake-mask-event"; + wakeup-mask = <( + HOST_EVENT_LID_OPEN | + HOST_EVENT_POWER_BUTTON | + HOST_EVENT_AC_CONNECTED | + HOST_EVENT_AC_DISCONNECTED | + HOST_EVENT_HANG_DETECT | + HOST_EVENT_RTC | + HOST_EVENT_MODE_CHANGE | + HOST_EVENT_DEVICE)>; + }; |