How to reduce CPU operating frequency on iMX8MM?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to reduce CPU operating frequency on iMX8MM?

444 Views
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.

Labels (1)
0 Kudos
Reply
3 Replies

422 Views
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 Kudos
Reply

410 Views
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 Kudos
Reply

406 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos
Reply