echo 792000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
The frequency 792000 is in KHz, which is 792 MHz.
The maximum frequency can be checked by using this command:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
Use the following command to view the current CPU frequency in KHz:
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
Use the following command to view available governors:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
Use the following command to change to interactive CPU frequency governor:
echo interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
20.1.2 Source Code Structure
Table below shows the source files and headers available in the following directory.
<ltib_dir>/rpm/BUILD/linux/arch/arm/plat-mxc/
Table 20-1. CPUFREQ Driver Files
File
Description
cpufreq.c
CPUFREQ functions
For CPU frequency working point settings, see arch/arm/mach-mx6/cpu_op-mx6.c.
20.2 Menu Configuration Options
The following Linux kernel configuration is provided for this module:
CONFIG_CPU_FREQ: In menu configuration, this option is located under: CPU Power
Management > CPU Frequency scaling
Menu Configuration Options
i.MX 6Solo/6DualLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
160
Freescale Semiconductor, Inc.