Loongson-2 SoC series thermal driver

modulename: loongson2_thermal.ko

configname: CONFIG_LOONGSON2_THERMAL

Linux Kernel Configuration
└─>Device Drivers
└─>Thermal drivers
└─>Device Tree and Open Firmware support
└─>Loongson-2 SoC series thermal driver
In linux kernel since version 4.14.327 (release Date: 2023-10-10)  
Support for Thermal driver found on Loongson-2 SoC series platforms.
The thermal driver realizes get_temp and set_trips function, which
are used to obtain the temperature of the current node and set the
temperature range to trigger the interrupt. When the input temperature
is higher than the high temperature threshold or lower than the low
temperature threshold, the interrupt will occur.

source code:
depends
CONFIG_OF
CONFIG_THERMAL
CONFIG_COMPILE_TEST or CONFIG_LOONGARCH