mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
Thermal core framework subscribes for suspend/resume notification. On resume notification it re-evaluates each thermal zone for temperature and cooling state update. For some devices, a large number of thermal zones are enabled for different mitigations. Re-evaluating each thermal zone during resume leads to multiple issues including delay in back to back suspend resume scenario, power penalty for frequent wake up due to re-setting trip threshold especially during cold temperature usecases. Add wake-capable-sensor property to thermal zone devicetree node to denote that these sensors are wakeup capable. If a thermal zone has this property defined, thermal framework ignores resume re-evaluation and can service the threshold notification during the suspend/resume path. Test: build Bug: 149945768 Change-Id: I07edf80ad29009378af4c70e750d01bde6f30806 Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org> (cherry picked from commit a915ed479e624a1be30e34720b07207136fca0a9) [hridya: added some pointer checks] Signed-off-by: Hridya Valsaraju <hridya@google.com> |
||
|---|---|---|
| .. | ||
| bindings | ||
| 00-INDEX | ||
| booting-without-of.txt | ||
| changesets.txt | ||
| dynamic-resolution-notes.txt | ||
| of_unittest.txt | ||
| overlay-notes.txt | ||
| todo.txt | ||
| usage-model.txt | ||