How to reduce CPU operating frequency on iMX8MM?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to reduce CPU operating frequency on iMX8MM?

1,361 次查看
trongthinh
Contributor IV

I built an embedded linux for my board, the board uses iMX8MM CPU.
BSP information is as follows:
manifest: imx-6.1.36-2.1.0.xml
git: https://github.com/nxp-imx/imx-manifest
branch: imx-linux-mickledore
Information about CPU clock is as follows:
scaling_governor: ondemand
scaling_available_frequencies: 1200000 1600000
scaling_available_governors: conservative ondemand userspace powersave performance schedutil
scaling_max_freq: 1600000
scaling_min_freq: 1200000
scaling_cur_freq: 1200000
So the system is running at 1200000, which is also the lowest frequency. However, I want it to be even lower, but I can't set other frequencies (example 400 Mhz, 800 Mhz). Please guide me how to make CPU run from 800 Mhz to 1.6 Ghz.

标签 (1)
0 项奖励
回复
3 回复数

1,339 次查看
joanxie
NXP TechSupport
NXP TechSupport

current bsp only support 1.8G, 1.6G and 1.2G

https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx8mm.dtsi

if you need support more frequency, you can add in the table opp-table , and don't forget add the clock in the imx8mm_intpll_tbl of clk-imx8mm.c

0 项奖励
回复

1,327 次查看
trongthinh
Contributor IV
Hi joanxie,
I cannot find imx8mm_intpll_tbl in clk-imx8mm.c. Please checkthe file and show me where to add the clock.
https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/drivers/clk/imx/clk-imx8mm.c
0 项奖励
回复

1,323 次查看
joanxie
NXP TechSupport
NXP TechSupport
0 项奖励
回复