acpigen_ps2_keybd: map capslock

Looks like some devices may be using the capslock key, this a standard
code, just map it.

BUG=b:446677367
TEST=flashed and tested on a brox board, checked that the correct code
is generated with evtest

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: Ieb0f55e7f25a1b34d226efe12ad9dc481a53a082
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90025
Reviewed-by: Caveh Jalali <caveh@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
Fabio Baltieri 2025-11-05 11:03:15 +00:00 committed by Matt DeVillier
commit 607740999d

View file

@ -175,6 +175,8 @@ static uint32_t rest_of_keymaps[] = {
KEYMAP(0xc8, KEY_UP),
/* Power Key */
KEYMAP(0xde, KEY_POWER),
/* Caps Lock */
KEYMAP(0x3a, KEY_CAPSLOCK),
};
static void ssdt_generate_physmap(struct acpi_dp *dp, uint8_t num_top_row_keys,