imx6 duallite: Is cpufreq aware of temp grade?

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

imx6 duallite: Is cpufreq aware of temp grade?

Jump to solution
1,233 Views
lzenz
Contributor II

Hello,

we're running the 3.10.17_1.0.2 Kernel on a industrial grade i.MX6 Duallite processor.

I recognized that it runs with 1 GHz sometimes (scaling governor 'ondemand').

root@dhcom:/sys/devices/system/cpu/cpu0/cpufreq/stats# cat trans_table

   From  :    To

         :    396000    792000    996000

   396000:         0         0         5

   792000:         6         0         2

   996000:         0         7         0

But to meet the industrial grade requirements it is only allowed to run with 792000 MHz. I`ve seen the temperature grade Fuses and they seem to be correct:

(U-Boot 2013.10 mainline)

U-Boot > fuse read 1 1

Reading bank 1:

Word 0x00000001: 00000040

Should  the cpufreq driver be aware of the temperature grade?

I haven`t found any implementation which does handle the temp grade.

I am missing something? Or do i have to remove the 1GHz entry from the device tree (linux-imx6-vendor/imx6dl.dtsi at release/20150423 · dh-electronics/linux-imx6-vendor · GitHub )?

Thank You!

Best Regards,

Ludwig

Labels (4)
0 Kudos
1 Solution
858 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ludwig

software does not check temp grade and automatically

adjust working points. So you can adjust dtsi file, also one

can check attached Linux Manual Chapter 24

CPU Frequency Scaling (CPUFREQ) Driver

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
859 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ludwig

software does not check temp grade and automatically

adjust working points. So you can adjust dtsi file, also one

can check attached Linux Manual Chapter 24

CPU Frequency Scaling (CPUFREQ) Driver

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
858 Views
lzenz
Contributor II

Thank you very much!

0 Kudos