[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <070bd997-b70b-ede1-fe71-dcf410aa3c1a@loongson.cn>
Date: Fri, 21 Apr 2023 10:00:45 +0800
From: zhuyinbo <zhuyinbo@...ngson.cn>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Amit Kucheria <amitk@...nel.org>,
Zhang Rui <rui.zhang@...el.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Jianmin Lv <lvjianmin@...ngson.cn>,
Liu Peibao <liupeibao@...ngson.cn>, wanghongliang@...ngson.cn,
zhanghongchen <zhanghongchen@...ngson.cn>,
loongson-kernel@...ts.loongnix.cn, zhuyinbo@...ngson.cn
Subject: Re: [PATCH v13 1/2] thermal: loongson-2: add thermal management
support
在 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@...ngson.cn>
>> Signed-off-by: Yinbo Zhu <zhuyinbo@...ngson.cn>
>> ---
>> 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
>
Powered by blists - more mailing lists