Re: [PATCH v13 1/2] thermal: loongson-2: add thermal management support

From: Krzysztof Kozlowski
Date: Thu Apr 20 2023 - 11:54:14 EST


On 21/02/2023 10:53, Yinbo Zhu wrote:
> This patch adds the support for Loongson-2 thermal sensor controller,
> which can support maximum 4 sensors, each sensor contains a sampling
> register and a control register. The sampling register is used to obtain
> the temperature in real time, the control register GATE field is used to
> set the threshold of high or low temperature, when the input temperature
> is higher than the high temperature threshold or lower than the low
> temperature threshold, an interrupt will occur.
>
> Signed-off-by: zhanghongchen <zhanghongchen@xxxxxxxxxxx>
> Signed-off-by: Yinbo Zhu <zhuyinbo@xxxxxxxxxxx>
> ---
> Change in v13:
> 1. Add a description about that how works the sensor.
> 2. Drop the COMPILE_TEST.

Why? We want to compile test. We really, really want.

Best regards,
Krzysztof