]> git.baikalelectronics.ru Git - kernel.git/commit
Input: i8042 - add LoongArch support in i8042-acpipnpio.h
authorHuacai Chen <chenhuacai@loongson.cn>
Sat, 1 Oct 2022 21:29:01 +0000 (14:29 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 10 Oct 2022 05:26:52 +0000 (22:26 -0700)
commitf3b6a248cab075f6fd78d4d3ebb0531dd9c99c72
tree4998448c840d9bf4ad40d5b2bc2b3a37cb509fe3
parent0c8661249df3261afc8561373920433e8db4bc18
Input: i8042 - add LoongArch support in i8042-acpipnpio.h

LoongArch uses ACPI and nearly the same as X86/IA64 for 8042. So modify
i8042-acpipnpio.h slightly and enable it for LoongArch in i8042.h. Then
i8042 driver can work well under the ACPI firmware with PNP typed key-
board and mouse configured in DSDT.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/20220917064020.1639709-2-chenhuacai@loongson.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/i8042-acpipnpio.h
drivers/input/serio/i8042.h