Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:tools-software:linuxdsp:docs:linux-kernel-and-drivers:cpufreq:cpufreq [21 Jul 2020 09:07] – [Enabling CPU Frequency Driver in Linux Kernel] Sunny Fengresources:tools-software:linuxdsp:docs:linux-kernel-and-drivers:cpufreq:cpufreq [21 Jul 2020 09:17] (current) – [Change Core Clock Frequency via cpufreq-utils] Sunny Feng
Line 3: Line 3:
  
 CPU frequency scaling enables the operating system to scale the CPU frequency up or down in order to save power. Clock scaling allows you to change the clock speed of the CPUs on the fly. CPU frequency scaling enables the operating system to scale the CPU frequency up or down in order to save power. Clock scaling allows you to change the clock speed of the CPUs on the fly.
- 
-More details about ethernet for SC589, please refer to this section Enable Ethernet for ADSP-SC589 EZ-kit board version 2.0 in SC5xx EZ-Kit Linux Quick Start Guide . 
- 
 ===== Hardware Setup ===== ===== Hardware Setup =====
   * ADSP-SC589 Ezkit v1.1 and above, or,   * ADSP-SC589 Ezkit v1.1 and above, or,
Line 14: Line 11:
 The ADSP-SC5xx processors have Clock Generation Unit (CGU) support. The CGU allows program to change the PLL clock frequency and the CCLKn, SYSCLK, SCLKn, and OUTCLK clock scaling. The ADSP-SC5xx processors have Clock Generation Unit (CGU) support. The CGU allows program to change the PLL clock frequency and the CCLKn, SYSCLK, SCLKn, and OUTCLK clock scaling.
  
 +\\
 ===== Software Configuration ===== ===== Software Configuration =====
-\\ 
 ==== Enabling CPU Frequency Driver in Linux Kernel ==== ==== Enabling CPU Frequency Driver in Linux Kernel ====
 Run "//**bitbake linux-adi -c menuconfig**//" and configure the kernel as follows: Run "//**bitbake linux-adi -c menuconfig**//" and configure the kernel as follows:
Line 36: Line 33:
  
 \\ \\
-===== How to Change the CPU cpufreq =====+===== How to Change the CPU Frequency =====
 ==== Preferred Interface: sysfs ==== ==== Preferred Interface: sysfs ====
 The preferred interface is located in the sysfs filesystem. If you mounted it at /sys, the cpufreq interface is located in a subdirectory “cpufreq” within the cpu-device directory (e.g. /sys/devices/system/cpu/cpu0/cpufreq/ for the first CPU). The preferred interface is located in the sysfs filesystem. If you mounted it at /sys, the cpufreq interface is located in a subdirectory “cpufreq” within the cpu-device directory (e.g. /sys/devices/system/cpu/cpu0/cpufreq/ for the first CPU).
Line 137: Line 134:
  
 </code> </code>
 +
 +
 +\\
 +----
 +**Back to** [[resources:tools-software/linuxdsp/docs/linux-kernel-and-drivers/start|Kernel Features and Device Drivers for ADSP-SC5xx Yocto Linux]]
resources/tools-software/linuxdsp/docs/linux-kernel-and-drivers/cpufreq/cpufreq.1595315244.txt.gz · Last modified: 21 Jul 2020 09:07 by Sunny Feng