lkml.org 
[lkml]   [2024]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] thermal/drivers/tsens: Add suspend to RAM support for tsens
From


On 1/24/2024 6:04 PM, Konrad Dybcio wrote:
>
>
> On 1/24/24 11:42, Priyansh Jain wrote:
>>
>>
>> On 1/22/2024 8:02 PM, Konrad Dybcio wrote:
>>> On 22.01.2024 11:07, Priyansh Jain wrote:
>>>> Add suspend callback support for tsens which disables tsens interrupts
>>>> in suspend to RAM callback.
>>>
>>> Would it not be preferrable to have the "critical overheat", wakeup-
>>> capable interrupts be enabled, even if the system is suspended?
>>>
>>
>>
>> As part of suspend to RAM, tsens hardware will be turned off and it
>> cannot generate any interrupt.Also system doesn't want to abort
>> suspend to RAM due to tsens interrupts since system is already going
>> into lowest
>> power state. Hence disabling tsens interrupt during suspend to RAM
>> callback.
>
> Is that a hardware limitation, or a software design choice? I'm not
> sure I want my phone to have thermal notifications disabled when
> it's suspended.

> Konrad

As part of suspend to RAM , entire SOC will be off, this mode (suspend
to RAM) is not intended for Mobile product. Tsens interrupts are not
disabled as part of suspend to idle(suspend mode for mobile).

Regards,
Priyansh

\
 
 \ /
  Last update: 2024-05-27 14:32    [W:0.059 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site