]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Add ACPI-based generic laptop driver
authorJianmin Lv <lvjianmin@loongson.cn>
Wed, 12 Oct 2022 08:36:20 +0000 (16:36 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 12 Oct 2022 08:36:20 +0000 (16:36 +0800)
commit8fa7bad52946cca22867a7eb6970891edca77baf
tree444b30a0dfe2e570ec9d18abaff99a934b0e90bd
parent28bc1c304253a82058a6bcd10b6cdb0eb42fa252
LoongArch: Add ACPI-based generic laptop driver

This add ACPI-based generic laptop driver for Loongson-3. Some of the
codes are derived from drivers/platform/x86/thinkpad_acpi.c.

Signed-off-by: Jianmin Lv <lvjianmin@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
drivers/platform/Kconfig
drivers/platform/Makefile
drivers/platform/loongarch/Kconfig [new file with mode: 0644]
drivers/platform/loongarch/Makefile [new file with mode: 0644]
drivers/platform/loongarch/loongson-laptop.c [new file with mode: 0644]