summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/cros_mkbp_event/ec-wake-mask-event.yaml
blob: 04e95ea82977617b05db4805061412f87394eb71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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)>;
      };