diff options
author | Jonathon Hall <jonathon.hall@puri.sm> | 2023-07-13 16:54:41 -0400 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-10-02 16:24:54 +0000 |
commit | b63017fb719cefaa0dcec750048da352a31956c5 (patch) | |
tree | a15ab23f26b97727dbacfecd0fb4d177670c3a05 /src/ec/google/chromeec | |
parent | 1af3e3c5f809fa39db9e727bcb41f4996f58202f (diff) |
acpi/acpigen_ps2_keybd: Reduce minimum keys, optional alpha/num/punct
Librem 11's volume keys act as a PS/2 keyboard with only those two
keys. Reduce the minimum number of top-row keys to 2. Make the
"rest of keys" (alphanumerics, punctuation, etc.) optional.
Change-Id: Idf80b184ec816043138750ee0a869b23f1e6dcf2
Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78095
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <inforichland@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'src/ec/google/chromeec')
-rw-r--r-- | src/ec/google/chromeec/ec_acpi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/ec_acpi.c b/src/ec/google/chromeec/ec_acpi.c index 53a4e75e59..3367cfa39f 100644 --- a/src/ec/google/chromeec/ec_acpi.c +++ b/src/ec/google/chromeec/ec_acpi.c @@ -251,7 +251,8 @@ static void fill_ssdt_ps2_keyboard(const struct device *dev) ps2_action_keys, !!(keybd.capabilities & KEYBD_CAP_FUNCTION_KEYS), !!(keybd.capabilities & KEYBD_CAP_NUMERIC_KEYPAD), - !!(keybd.capabilities & KEYBD_CAP_SCRNLOCK_KEY)); + !!(keybd.capabilities & KEYBD_CAP_SCRNLOCK_KEY), + true); } static const char *ec_acpi_name(const struct device *dev) |