[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ba764e00-2968-447f-99d1-5925e7782491@oss.qualcomm.com>
Date: Mon, 30 Dec 2024 15:06:28 +0100
From: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
To: Satya Priya Kakitapalli <quic_skakitap@...cinc.com>,
Konrad Dybcio <konrad.dybcio@....qualcomm.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Zhang Rui <rui.zhang@...el.com>, Lukasz Luba <lukasz.luba@....com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley
<conor+dt@...nel.org>,
Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>, Lee Jones <lee@...nel.org>,
Stephen Boyd <sboyd@...nel.org>, Amit Kucheria <amitk@...nel.org>,
Thara Gopinath <thara.gopinath@...il.com>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>
Cc: Ajit Pandey <quic_ajipan@...cinc.com>,
Imran Shaik <quic_imrashai@...cinc.com>,
Taniya Das <quic_tdas@...cinc.com>,
Jagadeesh Kona <quic_jkona@...cinc.com>, quic_kamalw@...cinc.com,
quic_jprakash@...cinc.com, linux-arm-msm@...r.kernel.org,
linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org
Subject: Re: [PATCH RFC v2 3/5] thermal: qcom: Add support for MBG thermal
monitoring
On 30.12.2024 10:45 AM, Satya Priya Kakitapalli wrote:
>
> On 12/13/2024 9:18 PM, Konrad Dybcio wrote:
>> On 12.12.2024 5:11 PM, Satya Priya Kakitapalli wrote:
>>> Add driver for the MBG thermal monitoring device. It monitors
>>> the die temperature, and when there is a level 1 upper threshold
>>> violation, it receives an interrupt over spmi. The driver reads
>>> the fault status register and notifies thermal accordingly.
>>>
>>> Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@...cinc.com>
>>> ---
>> [...]
>>
>>> +static const struct mbg_map_table map_table[] = {
>> Is this peripheral/pmic-specific?
>
>
> Yes, peripheral specific.
Okay, I asked a question that I don't recall what I meant by.
To be clear, is this table specific to all instances of MBG on
different kinds of PMIC7, or does it only apply to PM8775
specifically?
>
>>> + /* minT vtemp0 tc */
>>> + { -60000, 4337, 1967 },
>>> + { -40000, 4731, 1964 },
>>> + { -20000, 5124, 1957 },
>>> + { 0, 5515, 1949 },
>>> + { 20000, 5905, 1940 },
>>> + { 40000, 6293, 1930 },
>>> + { 60000, 6679, 1921 },
>>> + { 80000, 7064, 1910 },
>>> + { 100000, 7446, 1896 },
>>> + { 120000, 7825, 1878 },
>>> + { 140000, 8201, 1859 },
>>> +};
Konrad
Powered by blists - more mailing lists