Commits
Zhang Bo committed 0671783a5fe
MA-12430[Android] cpu core online control based on temperature Cherry-pick from below commit to cool down evk-8mq when cpu is too hot. commit 5ab2c6b31e8b8f82d83ee2884f742c97274fc3a9 Author: Zhang Bo <bo.zhang@nxp.com> Date: Sat Aug 18 11:04:50 2018 +0800 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 Signed-off-by: Zhang Bo <bo.zhang@nxp.com> Change-Id: I6efe751470304f02f5d48a7ddd9ff37ed25b8973 Signed-off-by: Zhang Bo <bo.zhang@nxp.com>