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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





在 2023/4/20 下午11:54, Krzysztof Kozlowski 写道:
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.


I noted a commit "8df4ef3eaa62b" that accoring to Daniel's reminder.

That commit "8df4ef3eaa62b" patch said "Since commit 0166dc11be91 ("of:
make CONFIG_OF user selectable"), it is possible to test-build any
driver which depends on OF on any architecture by explicitly
selecting OF. Therefore depending on COMPILE_TEST as an alternative is
no longer needed."

Thanks.

Best regards,
Krzysztof





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux