From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Manikanta Mylavarapu <quic_mmanikan@quicinc.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: Thu, 7 Nov 2024 15:47:39 +0100 [thread overview]
Message-ID: <9bd3d4e2-aba1-423c-946a-f5c60da71497@oss.qualcomm.com> (raw)
In-Reply-To: <fc676574-ffac-40d2-aa47-8d7cb61b5e3f@quicinc.com>
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
next prev parent reply other threads:[~2024-11-07 14:47 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 [this message]
2024-11-11 11:51 ` Manikanta Mylavarapu
2024-11-12 11:02 ` Konrad Dybcio
2024-11-15 10:38 ` Manikanta Mylavarapu
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=9bd3d4e2-aba1-423c-946a-f5c60da71497@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.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=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_mmanikan@quicinc.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