diff options
author | Aseda Aboagye <aaboagye@google.com> | 2024-03-20 21:14:08 -0500 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-04-22 14:05:42 +0000 |
commit | b55000b2d5975f2355936c99b5b732ae4b9da3d3 (patch) | |
tree | 0f5be63b3b5981d468c0414aff3d8e9cc920ebfa /src/mainboard/purism/librem_jsl | |
parent | 101685de0c1a61f8940d007abcacfa5cc4291791 (diff) |
acpigen_ps2_keybd: Add assistant key to linux,keymap
If the ChromiumOS EC indicates that the device has an assistant key,
we should also add it to the generated linux,keymap binding. This
commit simply does so by examining the keyboard capabilities reported by
the EC.
BUG=b:333088656
TEST=With a device that has an assistant key, flash AP FW and verify
that the key is mapped to `KEY_ASSISTANT` in the Linux kernel using
`evtest`.
Change-Id: I217220e89bce88e3045a4fc3b124954696276442
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81996
Reviewed-by: Jonathon Hall <jonathon.hall@puri.sm>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Caveh Jalali <caveh@chromium.org>
Diffstat (limited to 'src/mainboard/purism/librem_jsl')
-rw-r--r-- | src/mainboard/purism/librem_jsl/ramstage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/purism/librem_jsl/ramstage.c b/src/mainboard/purism/librem_jsl/ramstage.c index b9dd5f2f4d..78a1de03dc 100644 --- a/src/mainboard/purism/librem_jsl/ramstage.c +++ b/src/mainboard/purism/librem_jsl/ramstage.c @@ -19,7 +19,7 @@ static void mainboard_fill_ssdt(const struct device *dev) PS2_KEY_VOL_UP }; acpigen_ps2_keyboard_dsd("_SB.PCI0.PS2K", ARRAY_SIZE(ps2_action_keys), - ps2_action_keys, false, false, false, false); + ps2_action_keys, false, false, false, false, false); } static void mainboard_init(void *chip_info) |