summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/acpi/acpigen_ps2_keybd.c1
-rw-r--r--src/ec/google/chromeec/ec_acpi.c1
-rw-r--r--src/include/acpi/acpigen_ps2_keybd.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/acpi/acpigen_ps2_keybd.c b/src/acpi/acpigen_ps2_keybd.c
index e4322c16b6..43a1eced59 100644
--- a/src/acpi/acpigen_ps2_keybd.c
+++ b/src/acpi/acpigen_ps2_keybd.c
@@ -58,6 +58,7 @@ static const uint32_t action_keymaps[] = {
[PS2_KEY_MENU] = KEYMAP(0xdd, KEY_CONTROLPANEL), /* e0d5 */
[PS2_KEY_DICTATE] = KEYMAP(0xa7, KEY_DICTATE), /* e027*/
[PS2_KEY_ACCESSIBILITY] = KEYMAP(0xa9, KEY_ACCESSIBILITY), /* e029 */
+ [PS2_KEY_DO_NOT_DISTURB] = KEYMAP(0xa8, KEY_DO_NOT_DISTURB), /* e028 */
};
/* Keymap for numeric keypad keys */
diff --git a/src/ec/google/chromeec/ec_acpi.c b/src/ec/google/chromeec/ec_acpi.c
index 6e36a7fd1a..1c97dcc92d 100644
--- a/src/ec/google/chromeec/ec_acpi.c
+++ b/src/ec/google/chromeec/ec_acpi.c
@@ -235,6 +235,7 @@ static const enum ps2_action_key ps2_enum_val[] = {
[TK_MENU] = PS2_KEY_MENU,
[TK_DICTATE] = PS2_KEY_DICTATE,
[TK_ACCESSIBILITY] = PS2_KEY_ACCESSIBILITY,
+ [TK_DONOTDISTURB] = PS2_KEY_DO_NOT_DISTURB,
};
static void fill_ssdt_ps2_keyboard(const struct device *dev)
diff --git a/src/include/acpi/acpigen_ps2_keybd.h b/src/include/acpi/acpigen_ps2_keybd.h
index fe1101bf76..deb755bbf8 100644
--- a/src/include/acpi/acpigen_ps2_keybd.h
+++ b/src/include/acpi/acpigen_ps2_keybd.h
@@ -29,6 +29,7 @@ enum ps2_action_key {
PS2_KEY_MENU,
PS2_KEY_DICTATE,
PS2_KEY_ACCESSIBILITY,
+ PS2_KEY_DO_NOT_DISTURB,
};
#define PS2_MIN_TOP_ROW_KEYS 2