aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-22 12:45:02 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-09-25 11:27:15 +0800
commite4f09f97c96b123aa0a334a7f6fc38f6a14154aa (patch)
tree02eebebb618a4008f1a01b8bfdd16f4de5dc2099 /doc
parentfd42f263cef9fd6bba9ded76a82d4ac66450e156 (diff)
downloadu-boot-e4f09f97c96b123aa0a334a7f6fc38f6a14154aa.zip
u-boot-e4f09f97c96b123aa0a334a7f6fc38f6a14154aa.tar.gz
u-boot-e4f09f97c96b123aa0a334a7f6fc38f6a14154aa.tar.bz2
x86: Add wake sources for the acpi_gpe driver
Some devices can wake the system from sleep, e.g opening the lid on a clamshell or moving a USB mouse. Add a wake to specify this for USB devices and add the settings for Apollo Lake. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree-bindings/device.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/device.txt b/doc/device-tree-bindings/device.txt
index 2a5736c..73ce2a3 100644
--- a/doc/device-tree-bindings/device.txt
+++ b/doc/device-tree-bindings/device.txt
@@ -22,6 +22,8 @@ the acpi,compatible property.
- acpi,name : Provides the ACPI name for a device, which is a string consisting
of four alphanumeric character (upper case)
- acpi,uid : _UID value for device
+ - acpi,wake : Provides the GPE used to detect a request from a device to wake
+ from sleep
- linux,probed : Tells U-Boot to add 'linux,probed' to the ACPI tables so that
Linux will only load the driver if the device can be detected (e.g. on I2C
bus). Note that this is an out-of-tree Linux feature.
@@ -46,6 +48,7 @@ pcie-a0@14,0 {
compatible = "intel,generic-wifi";
acpi,ddn = "Intel WiFi";
acpi,name = "WF00";
+ acpi,wake = <GPE0_DW3_00>;
interrupts-extended = <&acpi_gpe 0x3c 0>;
};
};