This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[OMAP3530] no cpufreq driver

Other Parts Discussed in Thread: OMAP3530

kernel version:2.6.28rc9

hardware version:omap3_devkit8000 (omap3530)

I copy arch/arm/configs/omap3_devkit8000_defconfig .config,then

In menuconfig change the following

1) Enable CPU Frequency scaling -> CPU Frequency scaling

2) Enable CPU Frequency scaling -> CPU Frequency scaling -> ‘ondemand’ cpufreq policy governor.

update kernel,boot is ok.But i find nothing in /sys/devices/system/cpu/cup0.

run cpufreq-info ,then "no or unknown cpufreq driver" occur. where is wrong? menuconfig?  Should  I  write a cpufreq driver myself? or else?

thanks advanced!

  • I seem to solve it, but i am not quite sure. describe as below:

    arch/arm/plat-omap/cpu-omap.c

    -#define MPU_CLK  "virt_prcm_set"

    +#define MPU_CLK  "dpll1_ck"

    -arch_init(omap_cpufreq_init);

    +late_init(omap_cpufreq_init);

    then, kernel-based sysfs interface appear in /sys/devices/system/cpu/cpu0/cpufreq.

    Is it right ?