From: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Konrad Dybcio <konradybcio@gmail.com>,
<srinivas.kandagatla@linaro.org>, <robh@kernel.org>,
<krzk+dt@kernel.org>, <conor+dt@kernel.org>, <amitk@kernel.org>,
<thara.gopinath@gmail.com>, <rafael@kernel.org>,
<daniel.lezcano@linaro.org>, <rui.zhang@intel.com>,
<lukasz.luba@arm.com>, <andersson@kernel.org>,
<konradybcio@kernel.org>, <linux-arm-msm@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-pm@vger.kernel.org>
Cc: <quic_srichara@quicinc.com>, <quic_varada@quicinc.com>
Subject: Re: [PATCH v6 7/7] arm64: dts: qcom: ipq5424: Add thermal zone nodes
Date: Fri, 15 Nov 2024 16:08:23 +0530 [thread overview]
Message-ID: <dbcb01e8-9f5f-4e54-bfe4-e7be8185c7aa@quicinc.com> (raw)
In-Reply-To: <6565a4ec-6db6-4442-a07f-ace467c47395@oss.qualcomm.com>
On 11/12/2024 4:32 PM, Konrad Dybcio wrote:
>
>
> On 11-Nov-24 12:51, Manikanta Mylavarapu wrote:
>>
>>
>> On 11/7/2024 8:17 PM, Konrad Dybcio wrote:
>>> On 6.11.2024 11:25 AM, Manikanta Mylavarapu wrote:
>>>>
>>>>
>>>> On 11/6/2024 2:42 PM, Konrad Dybcio wrote:
>>>>>
>>>>>
>>>>> On 11/6/24 09:47, Manikanta Mylavarapu wrote:
>>>>>>
>>>>>>
>>>>>> On 11/4/2024 7:21 PM, Konrad Dybcio wrote:
>>>>>>> On 4.11.2024 1:44 PM, Manikanta Mylavarapu wrote:
>>>>>>>> Add thermal zone nodes for sensors present in IPQ5424.
>>>>>>>>
>>>>>>>> Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
>>>>>>>> ---
>>>>>>> [...]
>>>>>>>
>>>>>>>> +
>>>>>>>> + cpu3-thermal {
>>>>>>>> + polling-delay-passive = <0>;
>>>>>>>> + polling-delay = <0>;
>>>>>>>> + thermal-sensors = <&tsens 13>;
>>>>>>>> +
>>>>>>>> + trips {
>>>>>>>> + cpu-critical {
>>>>>>>> + temperature = <120000>;
>>>>>>>> + hysteresis = <9000>;
>>>>>>>> + type = "critical";
>>>>>>>> + };
>>>>>>>> +
>>>>>>>> + cpu-passive {
>>>>>>>> + temperature = <110000>;
>>>>>>>> + hysteresis = <9000>;
>>>>>>>> + type = "passive";
>>>>>>>
>>>>>>> You have a passive trip point without passive polling
>>>>>>>
>>>>>>
>>>>>> Okay, will remove this.
>>>>>
>>>>> You most likely want to preserve it, while keeping a sensible
>>>>> polling frequency, so that userspace will be aware of the current
>>>>> CPU temperature. <100> sounds like a sensible value here.
>>>>>
>>>>> Konrad
>>>>
>>>> Temperature sensor's present in IPQ5424 supports interrupts.
>>>
>>> Correct.
>>>
>>>> Hence no need to configure polling frequency.
>>>
>>> No, that interrupt firing signifies crossing the temp threshold (meaning
>>> no updates beyond that) or the tsens watchdog barking.
>>>
>>> Konrad
>>
>> An interrupt fires when the temperature crosses a threshold.
>
> Which means you can't monitor the temperature at runtime
> without polling..
>
> Konrad
Hi Konrad,
I got the point. Will configure polling-delay-passive with 100.
Thanks & Regards,
Manikanta.
prev parent reply other threads:[~2024-11-15 10:38 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-04 12:44 [PATCH v6 0/7] Add TSENS support for IPQ5332, IPQ5424 Manikanta Mylavarapu
2024-11-04 12:44 ` [PATCH v6 1/7] dt-bindings: thermal: tsens: Add ipq5332, ipq5424 compatible Manikanta Mylavarapu
2024-11-05 8:45 ` Krzysztof Kozlowski
2024-11-04 12:44 ` [PATCH v6 2/7] dt-bindings: nvmem: Add compatible for IPQ5424 Manikanta Mylavarapu
2024-11-05 8:43 ` Krzysztof Kozlowski
2024-11-04 12:44 ` [PATCH v6 3/7] thermal/drivers/tsens: Add TSENS enable and calibration support for V2 Manikanta Mylavarapu
2024-11-04 19:42 ` Dmitry Baryshkov
2024-11-06 6:16 ` Manikanta Mylavarapu
2024-11-06 6:24 ` Dmitry Baryshkov
2024-11-04 12:44 ` [PATCH v6 4/7] arm64: dts: qcom: ipq5332: Add tsens node Manikanta Mylavarapu
2024-11-07 14:50 ` Konrad Dybcio
2024-11-11 11:42 ` Manikanta Mylavarapu
2024-11-04 12:44 ` [PATCH v6 5/7] arm64: dts: qcom: ipq5332: Add thermal zone nodes Manikanta Mylavarapu
2024-11-04 12:44 ` [PATCH v6 6/7] arm64: dts: qcom: ipq5424: Add tsens node Manikanta Mylavarapu
2024-11-04 12:44 ` [PATCH v6 7/7] arm64: dts: qcom: ipq5424: Add thermal zone nodes Manikanta Mylavarapu
2024-11-04 13:51 ` Konrad Dybcio
2024-11-06 8:47 ` Manikanta Mylavarapu
2024-11-06 9:12 ` Konrad Dybcio
2024-11-06 10:25 ` Manikanta Mylavarapu
2024-11-07 14:47 ` Konrad Dybcio
2024-11-11 11:51 ` Manikanta Mylavarapu
2024-11-12 11:02 ` Konrad Dybcio
2024-11-15 10:38 ` Manikanta Mylavarapu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dbcb01e8-9f5f-4e54-bfe4-e7be8185c7aa@quicinc.com \
--to=quic_mmanikan@quicinc.com \
--cc=amitk@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@gmail.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=lukasz.luba@arm.com \
--cc=quic_srichara@quicinc.com \
--cc=quic_varada@quicinc.com \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=rui.zhang@intel.com \
--cc=srinivas.kandagatla@linaro.org \
--cc=thara.gopinath@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox