[RAMEN9610-12194][9610] thermal: exynos_tmu: Add cpu max frequency limit control...
authorChungwoo Park <cww.park@samsung.com>
Mon, 21 Jan 2019 10:18:39 +0000 (19:18 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:17 +0000 (20:23 +0300)
commitb0e4cf07b435a4d4009f098ce60139c2374ea945
tree6da6447721be608127b6b22582b596fc013ae2e5
parent3d18445a6113eaf015cfd79c8d5b55c6acd8458a
[RAMEN9610-12194][9610] thermal: exynos_tmu: Add cpu max frequency limit control code.

This patch added thermal driver control to cpu max freqency through temperature.
First if ect has limited_frequency value, exynos-tmu operate limit max frequency to pm qos.
If temperature higher than limited_threshold, driver set max qos to limited_frequency.
And if temperature is lower than limited_threshold_release,
driver release max qos value.

Change-Id: Iaccd295818eeceae035631a6dc7eebdd38044e40
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
drivers/thermal/samsung/exynos_tmu.c
drivers/thermal/samsung/exynos_tmu.h