cpufreq: tegra194: Enable CPUFREQ thermal cooling
authorYi-Wei Wang <yiweiw@nvidia.com>
Tue, 24 Jan 2023 11:53:23 +0000 (11:53 +0000)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 6 Feb 2023 04:01:38 +0000 (09:31 +0530)
commit7214015c7f975542d227db6eaec2db2ecc88f2c1
tree975405126ef7c5ba91f55d1c2573c22a67600fed
parent51be2fffd65d9f9cb427030ab0ee85d791b4437d
cpufreq: tegra194: Enable CPUFREQ thermal cooling

Populate the flag CPUFREQ_IS_COOLING_DEV for the Tegra194 CPUFREQ driver
to register it as a cooling device. This enables CPU frequency
throttling for CPUs when the passive trip points are crossed.

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/tegra194-cpufreq.c