Hi,
I have the same issue as described in the following https://community.nxp.com/t5/i-MX-Processors/How-to-enable-cpufreq-in-Linux-imx8mmevk-5-10-35-lts-Ha..., but on IMX8M Plus
Kernel configuration:
#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
#
# CPU frequency scaling drivers
#
CONFIG_CPUFREQ_DT=y
CONFIG_CPUFREQ_DT_PLATDEV=y
CONFIG_ACPI_CPPC_CPUFREQ=m
CONFIG_ARM_SCPI_CPUFREQ=y
CONFIG_ARM_IMX_CPUFREQ_DT=y
CONFIG_QORIQ_CPUFREQ=y
# end of CPU Frequency scaling
/sys/devices/system/cpu/cpufreq/ directory is empty
# ls -all /sys/devices/system/cpu/cpufreq/
drwxr-xr-x 2 root root 0 Sep 20 11:23 .
drwxr-xr-x 12 root root 0 Sep 20 10:16 ..
It`s working in L5.4.70-zeus, but not in L5.9.10-gategarth & L5.9.72-hardknott.
Please advice?
Thanks.
Hello Sam_n,
Take in mind that those version of the kernel are not LTS using by NXP BSP, you can use 5.10.72 where you can find the cpufreq on it.
Regards
Hi, thank you for quick response!
We work together with Sam_n. One wording correction in original post.
We verified versions IMX8MP L5.10.9-gategarth & L5.10.72-hardknott.
The issue still exists (see output below).
# ls /sys/devices/system/cpu/cpufreq
#
And as mentioned on L5.4.70-zeus all work as expected (see output below).
# ls /sys/devices/system/cpu/cpufreq/
ondemand policy0
#
Please advise.
Regards, Anatoly_K