blob: 73f0e8fdcad00f75864715a27f17eb1ed532b32c (
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 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.
HOST_EVENT_MASK should be used for ec-mkbp-host-event-wakeup-mask e.g.
ec-mkbp-host-event-wakeup-mask {
compatible = "ec-wake-mask-event";
wakeup-mask = <(
HOST_EVENT_MASK(HOST_EVENT_LID_OPEN) |
HOST_EVENT_MASK(HOST_EVENT_POWER_BUTTON) |
HOST_EVENT_MASK(HOST_EVENT_AC_CONNECTED) |
HOST_EVENT_MASK(HOST_EVENT_AC_DISCONNECTED) |
HOST_EVENT_MASK(HOST_EVENT_HANG_DETECT) |
HOST_EVENT_MASK(HOST_EVENT_RTC) |
HOST_EVENT_MASK(HOST_EVENT_MODE_CHANGE) |
HOST_EVENT_MASK(HOST_EVENT_DEVICE))>;
};
|