MA-12430[Android] cpu core online control based on temperature
Register cpufreq driver thermal_hot_pm_notify to devfreq cooling device
to get thermal related event. Disable or enable cpu2 and cpu3 according
to the temperature.
The devfreq cooling states are shared with all the registered
thermal_hot_pm_notify.
test: test on AIY-1G board, cpu2 and cpu3 will be offline when temperature
rise to trip point, and cpu2 and cpu3 will be online again when
temperature drop
Change-Id: I543c18e6cf154475885aab80c9e5dfcd6ae124f3
Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
1 file changed