I have a question about i.MX6 CPU frequency scaling and thermal control.
I know the CPU frequency is held to max frequency by the following command with L3.10.17_1.0.0-ga by CPUFREQ driver.
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
And I know the CPU frequency is set to lower when the CPU temperature is over "passive point" for cooling by thermal driver also.
Then, which has a priority?
If scaling_governor is set to performance with the above command and CPU temperature is over "passive point", CPU frequency is kept to max frequency by CPUFREQ driver? or set to lower frequency by thermal driver?