drivers/gpio_keys: Remove redundant is_wakeup_source flag
commitd5c458f98ad71f66815f637c5cb6305adc133b27
authorKarthikeyan Ramasubramanian <kramasub@chromium.org>
Wed, 6 Feb 2019 17:44:15 +0000 (6 10:44 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 8 Feb 2019 10:59:33 +0000 (8 10:59 +0000)
treef90d1bcee02f3800dfcda5aca22fb595c36bec5f
parent498f1cc1f3c3c501101c0b052502ec9a04bbd874
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>
src/drivers/generic/gpio_keys/chip.h
src/drivers/generic/gpio_keys/gpio_keys.c
src/mainboard/google/octopus/variants/bobba/overridetree.cb