summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWen Zhang <zhangwen6@huaqin.corp-partner.google.com>2024-06-25 14:28:20 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-06-26 18:05:27 +0000
commit4f9bab7ac0a14efebdc3de00811aed2980ce4cca (patch)
treefd4dc570e4a2cff1f6cdb718fce79ceb00c047c7
parentf52b2748b26f4c9946d3482ffca4012bb7c07d26 (diff)
mb/google/brox/lotso: Add Fn key scancode
The Fn key on Lotso emits a scancode of 94 (0x5e). BUG=b:322721490 TEST=Flash Lotso, boot to Linux kernel, and verify that KEY_FN is generated when pressed using `evtest`. Change-Id: I999627f0ea9db1d79376150a04920ac877a48447 Signed-off-by: Wen Zhang <zhangwen6@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83204 Reviewed-by: Dengwu Yu <yudengwu@huaqin.corp-partner.google.com> Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
-rw-r--r--src/mainboard/google/brox/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/brox/Kconfig b/src/mainboard/google/brox/Kconfig
index 2637e8940a..380c84a9d5 100644
--- a/src/mainboard/google/brox/Kconfig
+++ b/src/mainboard/google/brox/Kconfig
@@ -1,5 +1,8 @@
## SPDX-License-Identifier: GPL-2.0-only
+config ACPI_FNKEY_GEN_SCANCODE
+ default 94 if BOARD_GOOGLE_LOTSO
+
config BOARD_GOOGLE_BROX_COMMON
def_bool n
select DRIVERS_GENERIC_GPIO_KEYS