diff mbox series

ACPI: resource: Use IRQ override on MACHENIKE 16P

Message ID 20250603122059.1072790-1-guanwentao@uniontech.com
State Accepted
Commit c99ad987d3e9b550e9839d5df22de97d90462e5f
Headers show
Series ACPI: resource: Use IRQ override on MACHENIKE 16P | expand

Commit Message

Wentao Guan June 3, 2025, 12:20 p.m. UTC
Use ACPI IRQ override on MACHENIKE laptop to make the internal
keyboard work.

Add a new entry to the irq1_edge_low_force_override structure, similar
to the existing ones.

Link: https://bbs.deepin.org.cn/zh/post/287628
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Rafael J. Wysocki June 10, 2025, 6:59 p.m. UTC | #1
On Tue, Jun 3, 2025 at 2:23 PM Wentao Guan <guanwentao@uniontech.com> wrote:
>
> Use ACPI IRQ override on MACHENIKE laptop to make the internal
> keyboard work.
>
> Add a new entry to the irq1_edge_low_force_override structure, similar
> to the existing ones.
>
> Link: https://bbs.deepin.org.cn/zh/post/287628
> Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
> ---
>  drivers/acpi/resource.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index 531684a69c645..e12a318b38bec 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -653,6 +653,13 @@ static const struct dmi_system_id lg_laptop[] = {
>                         DMI_MATCH(DMI_BOARD_NAME, "GMxHGxx"),
>                 },
>         },
> +       {
> +               /* MACHENIKE L16P/L16P */
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "MACHENIKE"),
> +                       DMI_MATCH(DMI_BOARD_NAME, "L16P"),
> +               },
> +       },
>         {
>                 /*
>                  * TongFang GM5HG0A in case of the SKIKK Vanaheim relabel the
> --

Applied as 6.16-rc material, thanks!
diff mbox series

Patch

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 531684a69c645..e12a318b38bec 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -653,6 +653,13 @@  static const struct dmi_system_id lg_laptop[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "GMxHGxx"),
 		},
 	},
+	{
+		/* MACHENIKE L16P/L16P */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "MACHENIKE"),
+			DMI_MATCH(DMI_BOARD_NAME, "L16P"),
+		},
+	},
 	{
 		/*
 		 * TongFang GM5HG0A in case of the SKIKK Vanaheim relabel the