PM / devfreq: tegra30: Support thermal cooling
authorDmitry Osipenko <digetx@gmail.com>
Mon, 10 May 2021 21:10:02 +0000 (00:10 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 21 May 2021 04:16:10 +0000 (13:16 +0900)
commit5e480ab94db8102baa73da33534e708a8636c2f9
tree6f4c8e4a7c74fbceff07dd456be4b91b7f25d7b6
parent7dbc0d246891acbb8ae5840b3237881b7a0787df
PM / devfreq: tegra30: Support thermal cooling

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>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/tegra30-devfreq.c