summaryrefslogtreecommitdiff
path: root/src/drivers/generic/gpio_keys/chip.h
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@chromium.org>2019-02-06 10:44:15 -0700
committerPatrick Georgi <pgeorgi@google.com>2019-02-08 10:59:33 +0000
commitd5c458f98ad71f66815f637c5cb6305adc133b27 (patch)
treef90d1bcee02f3800dfcda5aca22fb595c36bec5f /src/drivers/generic/gpio_keys/chip.h
parent498f1cc1f3c3c501101c0b052502ec9a04bbd874 (diff)
downloadcoreboot-d5c458f98ad71f66815f637c5cb6305adc133b27.tar.xz
drivers/gpio_keys: Remove redundant is_wakeup_source flag
"is_wakeup_source" flag is used to indicate if the concerned device can trigger a wakeup. This flag is redundant with the "wake" GPE event definition. So remove the redundant flag and use the "wake" GPE event to mark the wakeup source. BUG=None BRANCH=None TEST=Boot to ChromeOS. Ensure that the device is marked as wakeup-source in SSDT if wake GPE is configured. Ensure that the system can suspend and the device acts as a wakeup source Change-Id: I99237323639df1cb72e3a81bcfed869900a2eefa Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/31258 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/drivers/generic/gpio_keys/chip.h')
-rw-r--r--src/drivers/generic/gpio_keys/chip.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/generic/gpio_keys/chip.h b/src/drivers/generic/gpio_keys/chip.h
index 9d33b4f2f3..08acfebf6e 100644
--- a/src/drivers/generic/gpio_keys/chip.h
+++ b/src/drivers/generic/gpio_keys/chip.h
@@ -50,8 +50,6 @@ struct key_info {
uint32_t linux_input_type;
/* Descriptive name of the key */
const char *label;
- /* Can this key wake-up the system? */
- bool is_wakeup_source;
/* Wake GPE */
unsigned int wake;
/* Trigger for Wakeup Event Action as defined in EV_ACT_* enum */