aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/volteer/Kconfig
diff options
context:
space:
mode:
authorAlex Levin <levinale@chromium.org>2020-07-23 11:55:12 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-07-27 05:11:23 +0000
commitff1c5bec03cd2fe442ead488c62643ae38952037 (patch)
treef17d2b610b2f6bf404d990a4a76c669344708549 /src/mainboard/google/volteer/Kconfig
parent061f0d205bfd5d8105b57a9f5288e87833bbfcf7 (diff)
mb/google/volteer: Add gpio-keys ACPI node for PENH
Use gpio_keys driver to add ACPI node for pen eject event. Also setting gpio wake pin for wake events. Removal and insertion (both edges) triggers IRQ and only removal is a wake event (rising edge). Adding for both Volteer and Volteer2 variants. BUG=b:146083964 BRANCH=None TEST=tested on a Volteer Change-Id: Ida3217a5b156320856ce3302c2623eba2230f28d Signed-off-by: Alex Levin <levinale@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43764 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/volteer/Kconfig')
-rw-r--r--src/mainboard/google/volteer/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/Kconfig b/src/mainboard/google/volteer/Kconfig
index 16834ae199..8d5faefa55 100644
--- a/src/mainboard/google/volteer/Kconfig
+++ b/src/mainboard/google/volteer/Kconfig
@@ -1,6 +1,7 @@
config BOARD_GOOGLE_BASEBOARD_VOLTEER
def_bool n
select BOARD_ROMSIZE_KB_32768
+ select DRIVERS_GENERIC_GPIO_KEYS
select DRIVERS_GENERIC_MAX98357A
select DRIVERS_I2C_GENERIC
select DRIVERS_I2C_HID