Skip to content

Commit 698a081

Browse files
flyingOwlgregkh
authored andcommitted
ACPI: resource: do IRQ override on XMG Core 15
[ Upstream commit 7592b79 ] The Schenker XMG CORE 15 (M22) is Ryzen-6 based and needs IRQ overriding for the keyboard to work. Adding an entry for this laptop to the override_table makes the internal keyboard functional again. Signed-off-by: Erik Schumacher <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Stable-dep-of: f3cb9b7 ("ACPI: resource: do IRQ override on Lenovo 14ALC7") Signed-off-by: Sasha Levin <[email protected]>
1 parent a9ac763 commit 698a081

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

drivers/acpi/resource.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,17 @@ static const struct dmi_system_id lenovo_82ra[] = {
428428
{ }
429429
};
430430

431+
static const struct dmi_system_id schenker_gm_rg[] = {
432+
{
433+
.ident = "XMG CORE 15 (M22)",
434+
.matches = {
435+
DMI_MATCH(DMI_SYS_VENDOR, "SchenkerTechnologiesGmbH"),
436+
DMI_MATCH(DMI_BOARD_NAME, "GMxRGxx"),
437+
},
438+
},
439+
{ }
440+
};
441+
431442
struct irq_override_cmp {
432443
const struct dmi_system_id *system;
433444
unsigned char irq;
@@ -442,6 +453,7 @@ static const struct irq_override_cmp override_table[] = {
442453
{ asus_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
443454
{ lenovo_82ra, 6, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
444455
{ lenovo_82ra, 10, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
456+
{ schenker_gm_rg, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true },
445457
};
446458

447459
static bool acpi_dev_irq_override(u32 gsi, u8 triggering, u8 polarity,

0 commit comments

Comments
 (0)