Generic Loongson-3 Laptop Driver

modulename: loongson-laptop.ko

configname: CONFIG_LOONGSON_LAPTOP

Linux Kernel Configuration
└─>Device Drivers
└─>LoongArch Platform Specific Device Drivers
└─>Generic Loongson-3 Laptop Driver
In linux kernel since version 6.1 (release Date: 2022-12-11)  
ACPI-based Loongson-3 family laptops generic driver.

source code: