# Configure the dynamic voltage and frequency scaling (DVFS) governors The Qualcomm Linux kernel baseline supports several DVFS implementations to manage frequency scaling in a dynamic way corresponding to the system requirement. ## Select the CPU DVFS governors You can select a governor to tune the system for power or performance while changing the `CPUfreq` governor (`powersave/performace/schedutil`). By default, the CPU frequency governor is set to `performance` on Qualcomm Linux kernel. Table: CPU DVFS variables | Variable | Description | Path | | --- | --- | --- | | scaling_governor
Copy to clipboard | Set the governor to performance. | echo performance > /sys/devices/system/cpu/cpufreq/policy*/scaling_governor
Copy to clipboard | | scaling_max_freq
Copy to clipboard | Set the maximum frequency of the CPU cluster. | /sys/devices/system/cpu/cpufreq/policy*/scaling_max_freq
Copy to clipboard | | scaling_min_freq
Copy to clipboard | Set the minimum frequency of the CPU cluster. | /sys/devices/system/cpu/cpufreq/policy*/scaling_min_freq
Copy to clipboard | For more information about `CPUfreq`, see [CPU frequency and voltage scaling code in the Linux(TM) kernel](https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt). ## Configure cache and memory DVFS governors The static map DVFS governors align the CPU operating frequencies with the following: - Level 3 cache (L3) - Last level cache controller (LLCC) - DDR RAM If the CPU frequency is at the maximum level, either by setting the CPU frequency governor to performance, or due to load in the system, then the L3, LLCC, and DDR also run at their maximum frequencies. The driver for this governor is present in the `drivers/cpufreq/qcom-cpufreq-hw.c` file, and static mapping is present in the `arch/arm64/boot/dts/qcom/sc7280.dtsi` file. Note For Qualcomm SoCs, see the platform-specific DTSI files to get this information. The other bandwidth monitor (BWMON) governor is used to vote for LLCC and DDR frequencies, based on the measured traffic between CPU to LLCC and CPU to DDR. The driver for this governor is present in the `drivers/soc/qcom/icc-bwmon.c` file. The mapping between **CPU frequency** and **L3/DDR frequency** is adjusted based on the power or performance requirements. In DTSI, for each CPUx node, there is an `operating-points-v2 = <&cpux_opp_table>` entry. The `cpux_opp_table` holds a static mapping between CPU, L3, and DDR frequencies. For example: cpu0_opp_300mhz: opp-300000000 { opp-hz = /bits/ 64 <300000000>; opp-peak-kBps = <800000 9600000>; }; Copy to clipboard When CPU 0 operates at 300 MHz, it votes for 9600000 to L3, which translates to 300,000 Hz (9600000/w) L3 frequency. If the vote is for 800,000 Hz to DDR, this results in 200,000 Hz (800000 / w) DDR frequency. In the equation, ‘w’ represents how many bytes can be written in a single cycle: - For DDR, ‘w’ is 4 (each channel performs two transactions per cycle, with each transaction being 2 bytes). - For L3, ‘w’ is 32 (one transaction per cycle at 32 bytes per transaction). Note These values are set per channel for DDR, and the mapping relates CPU frequency to the memory controller (MC) channel bandwidth. Adjusting this map table can impact power and performance characteristics. For more information about the operating performance points (OPP) framework and syntax, see [Generic OPP (Operating Performance Points) Bindings](https://www.kernel.org/doc/Documentation/devicetree/bindings/opp/opp.txt). ## Configure scheduler DVFS settings Scheduler DVFS settings are defined in the `post_boot script` file. All postboot settings are present in the `meta-qcom-hwe/recipes-core/initscripts/files/post_boot.sh` script. For more information, see [post_boot.sh](https://github.com/qualcomm-linux/meta-qcom-hwe/blob/scarthgap/recipes-core/initscripts/files/post_boot.sh). Last Published: Sep 29, 2026 [Previous Topic Configure the scheduler](https://docs.qualcomm.com/bundle/publicresource/80-70033-3/topics/scheduler.md) [Next Topic Configure the pinctrl driver](https://docs.qualcomm.com/bundle/publicresource/80-70033-3/topics/pinctrl-configuration.md)