Open Emerald-Phoenix opened 6 years ago
cpu-idle is much more complicated than these changes, some core clk configuration & tuning are missing and PSCI state need to be handled by the SOS side, change need to be made in u-boot to support such features.
Just another quick fix :)
The defconfig tries to use the exynos_cpuidle driver but the driver never gets loaded as the machine name is missing from the compatible list. These changes add the odroid XU3/4 to the idle driver and sets up the correct latency and target residency information for the idle state on these devices.
Before: darkbahamut@odroid:~$ cat /sys/devices/system/cpu/cpuidle/current_driver none
After: darkbahamut@odroid:~$ cat /sys/devices/system/cpu/cpuidle/current_driver exynos_idle