chromeec/ec_acpi: Convert TK_DICTATE to ps2_action_key
commitcc82f746057fc6efc2dcd2e4521c16fcc58e7def
authorAseda Aboagye <aaboagye@google.com>
Fri, 10 May 2024 22:59:12 +0000 (10 17:59 -0500)
committerFelix Held <felix-coreboot@felixheld.de>
Thu, 16 May 2024 17:08:56 +0000 (16 17:08 +0000)
tree6234e0e87af6ff4df30730ce1faf86b73bca40bf
parente189043aece3a43dc47be57bf5768077ddeb6066
chromeec/ec_acpi: Convert TK_DICTATE to ps2_action_key

When support for the dictation key was added in commit f2782b8328d5
(acpigen_ps2_keybd: Add support for dictation key), I had failed to
include this portion of the change in that commit. The top row key of
`TK_DICTATE` needs to be converted to the ps2_action_key.  This commit
simply adds that mapping so that it can be translated.

BUG=b:333101631
TEST=Flash DUT that emits a scancode for a dictation key, verify that it
is mapped to KEY_DICTATE in the Linux kernel using `evtest`.

Change-Id: I1be8c0a96931cca36e6bbbfa0be7d36c4cd93768
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82274
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Caveh Jalali <caveh@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/ec/google/chromeec/ec_acpi.c