13 Commits

Author SHA1 Message Date
Julian Liu
7bfb73a864
thermal: Don't register for non-existing thermal zone
Signed-off-by: Julian Liu <wlootlxt123@gmail.com>
Signed-off-by: Nauval Rizky <enuma.alrizky@gmail.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
2022-04-26 14:58:30 +07:00
azrim
3040d40e3a
[SQUASH] Drop current thermal implementation
Revert "drivers: thermal: limits-dcvs: Always build driver"

This reverts commit 04d77a1dabb861a1fc336f3d96cfb0bdaa19b7ac.

Revert "FROMLIST: thermal: make thermal_cooling_device_register accepts const string"

This reverts commit eecebe489a4fa25ec79ef84a7697cb508931f610.

Revert "drivers: thermal: lmh_dcvs: Correct limits initial value"

This reverts commit 1445cfc8152fd5ddf261acd06429fdd22eaba6e7.

Revert "thermal: core: Use high value to init low temp tracking thermal_zone"

This reverts commit 76c26384028935881db42c3a6418c69c84f81b51.

Revert "Thermal: Added VIRT_COUNT_THRESHOLD to virtual sensor"

This reverts commit 29a70471713e25c40b04a02dfce74a9a9c4da0b6.

Revert "thermal: fix lockdep splat from qcom driver"

This reverts commit b601a8d3477a167e74b1bd46c975f86ab1befe54.

Revert "drivers: thermal: Use platform mitigation for mithermal helper"

This reverts commit cf4a5702ea77837300bdef232ced2d5cc9ba232b.

Revert "Revert "thermal: core: Workaround for xiaomi thermal mitigation""

This reverts commit 9f3d735d89024483f6adc44f6f2d22a7bd2b8b95.

Revert "thermal: Don't register for non-existing thermal zone"

This reverts commit a54ab1729d1563c6ab638966a5d5571f64c4ac9a.

Revert "thermal: adc_tm: Remove HIGHPRI flag on workqueue"

This reverts commit e61d7f97a667748d0de2953fb312d937f1a1daa4.

Revert "arch_topology: Wire up thermal limit for arch_scale_max_freq_capacity"

This reverts commit 67fefd15de4c5baf1fb27678353ae8a6566cd912.

Revert "thermal: core: Skip update disabled thermal zones after suspend"

This reverts commit a9a4b482f43b1daa6bcc69e0fadcd5344fc16445.

Revert "thermal: cpu_cooling: Fix a throttling bug"

This reverts commit 9c9056f434f5a7d33ddc319819242901f60936f9.

Revert "thermal: core: Workaround for xiaomi thermal mitigation"

This reverts commit 58a67f0647e416e1ab8fc2731ae523db55b2e7e8.

Revert "thermal: core: Fix snprintf usage"

This reverts commit b5f8c5ae020936a2c7ab09cc4c20984e4691602d.

Revert "thermal: qcom: bcl: Return before thermal trip evaluates"

This reverts commit ef66548bf00599d6a40686ea6776cf7f01f3b768.

Revert "thermal: tsens: Comment out tsens_mtc_reset_history_counter"

This reverts commit ce62bc1f9a798321cb6658bbbe52fc4509edbaf1.

Revert "drivers: thermal: Don't qualify thermal polling as high priority"

This reverts commit ebc063413f9ec507a6c5ee6f52acdca945858cf9.

Revert "thermal: cpu_cooling: Simplify cpu_limits_set_level"

This reverts commit e4a675d89044858ea313bf6c1bcecb6401e8c5bf.

Revert "thermal: core: Use qcom drm notifier"

This reverts commit df79851c1789bbad5bd7f4f3cf7ff3cdaaba8252.

Revert "thermal: core: Import Xiaomi board_sensor and thermal message changes"

This reverts commit 9e53ddbe2075dc1d28dab5dfe1c59fcf9488de90.

Revert "thermal: core: Custom thermal limits handling"

This reverts commit 01054d5c600cdcc7d4f96e3134401714ab04874c.

Signed-off-by: azrim <mirzaspc@gmail.com>
2022-04-26 14:58:29 +07:00
Julian Liu
a54ab1729d
thermal: Don't register for non-existing thermal zone
Signed-off-by: Julian Liu <wlootlxt123@gmail.com>
Signed-off-by: Nauval Rizky <enuma.alrizky@gmail.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
2022-04-06 13:18:52 +07:00
Manaf Meethalavalappu Pallikunhi
6600665ca3 drivers: qti-virtual-sensor: Add hexa cpu max virtual sensor for SDM429
Update MAX mode virtual sensors list with hexa core sensors for
SDM429. It enables thermal zone devicetree rule to use this sensor
for cpu mitigation.

Change-Id: If67d7af942398d13922a03ae2bf4178484537f96
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2020-07-30 07:38:26 -07:00
Manaf Meethalavalappu Pallikunhi
e53681d76f drivers: thermal: virtual-sensor: Add new gpu virtual sensor for SDMSHRIKE
Add new virtual sensor definition for quad-gpuss-max-step for SDMSHRIKE.
This virtual sensor can be used to monitor the overall temperature of
GPU subsystem.

Change-Id: I25702d94a5d6c64a7aa57f4aaa0a8012fc1bcdae
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2019-04-25 16:29:00 +05:30
Manaf Meethalavalappu Pallikunhi
b5a1df4f4a ARM: dts: msm: Update stepwise and low limits thermal zones for TRINKET
Update stepwise and low limits floor thermal_zone sensors for TRINKET
based on latest TSENS floor plan recommendation.

Update virtual sensor config as well based on new TSENS floor plan
for TRINKET.

Change-Id: Ie79dd2d6fa37ddd5aba64123b61b0542f61cc0a1
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2019-01-16 16:04:20 +05:30
Manaf Meethalavalappu Pallikunhi
13ea7c1144 drivers: thermal: virtual-sensor: Add new virtual sensor for TRINKET
Add new virtual sensor definition for octa-cpu-max-step for TRINKET.
This virtual sensor can be used to monitor the overall temperature of
CPU subsystem.

Change-Id: Iaf22102a26a0f0f274adef0f0a09f89007677e89
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2019-01-01 21:43:50 -08:00
Manaf Meethalavalappu Pallikunhi
0a56f56a52 drivers: thermal: virtual-sensor: Add new virtual sensors for SDMMAGPIE
Add new virtual sensor definitions for cpu-0-max-step and
cpu-1-max-step for SDMMAGPIE. This virtual sensor can be used to
monitor the overall temperature of each CPU cluster device.

Change-Id: I34e454a8de639d2e9e594fc9acb216db5c3e7560
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2018-09-19 10:08:09 -07:00
Manaf Meethalavalappu Pallikunhi
b5383cd5a9 ARM: dts: msm: Update thermal zone TSENS mappings for QCS405
Update thermal zone TSENS mappings for QCS405 based on
latest recommendation.

Change-Id: Id1f8e2e652f1b53f40aaedfa30f89e2dd735817c
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2018-07-25 11:17:38 +05:30
Manaf Meethalavalappu Pallikunhi
cda951ed40 drivers: thermal: virtual-sensor: Add new virtual sensors for SM6150
Add new virtual sensor definitions for cpuss0-max-step and
apc1-max-step for SM6150. This virtual sensor can be used to
monitor the overall temperature of each CPU cluster device.

Change-Id: I4209845ad38a1584c903ac72d4fb01a3d5e33031
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2018-07-05 15:24:38 +05:30
Manaf Meethalavalappu Pallikunhi
881ea4ff85 drivers: thermal: virtual-sensor: Add new virtual sensor for QCS405
Add new virtual sensor definition for cpuss-max-step for QCS405.
This virtual sensor can be used to monitor the overall temperature
of CPU cluster device.

Change-Id: I4dd4362bec5e1120953610da27291f5edf572bc0
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2018-05-14 12:46:24 +05:30
Ram Chandrasekar
cef7a63702 drivers: thermal: virtual-sensor: Add new virtual sensors
Add new virtual sensor definition for apc-0-max-step, apc-1-max-step
and gpuss-max-step virtual sensors. These virtual sensors can be used to
monitor the overall temperature of CPU cluster and GPU device.

Change-Id: I52e698fd72c1a1b9b0756922fcbf57a5b9a061d3
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2018-04-03 12:35:25 -06:00
Ram Chandrasekar
0b90b1e71b drivers: thermal: virtual-sensor: Add virtual sensor
Add snapshot of virtual sensor driver from kernel 4.9
as of 'commit <4291fee61276> ("drivers: qti-virtual-sensor: Add deca cpu
max virtual sensor for msm8953")'.

Change-Id: I4db7ded85cc4f3123b50e48690e0b6a0644cb91e
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2018-02-22 17:47:37 -07:00