[v1,1/7] PM / devfreq: tegra30: Support thermal cooling

Message ID 20210510211008.30300-2-digetx@gmail.com
State New
Headers show
  • Add thermal cooling support to NVIDIA Tegra devfreq
Related show

Commit Message

Dmitry Osipenko May 10, 2021, 9:10 p.m.
Expose ACTMON devfreq device as a cooling device in order to throttle
memory freq on overheat. Throttling of memory freq has a significant
cooling effect on NVIDIA Tegra SoCs since higher memory freqs require
higher SoC core voltage which is one of the main causes of the heating.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
 drivers/devfreq/tegra30-devfreq.c | 1 +
 1 file changed, 1 insertion(+)


diff --git a/drivers/devfreq/tegra30-devfreq.c b/drivers/devfreq/tegra30-devfreq.c
index ce83f883ca65..10661eb2aed8 100644
--- a/drivers/devfreq/tegra30-devfreq.c
+++ b/drivers/devfreq/tegra30-devfreq.c
@@ -688,6 +688,7 @@  static struct devfreq_dev_profile tegra_devfreq_profile = {
 	.target		= tegra_devfreq_target,
 	.get_dev_status	= tegra_devfreq_get_dev_status,
+	.is_cooling_device = true,
 static int tegra_governor_get_target(struct devfreq *devfreq,