Skip to contentSkip to conversation

cpufreq-info doesn't work in linux-3.0 on DM3730

DISCUSSION Peter Barada 2 participants 2 messages Oct 1, 2011 – Oct 3, 2011

lore
Share & tools
lore
#0 lore raw

I'm trying to get frequency scaling working in linux-3.0, and it after digging into why cpufreq-info works in 2.6.32 and doesn't in 3.0, I've found that omap_cpu_init() returs -ENOENT due to clk_get(NULL, "virt_prcm_set") failing.

In the older 2.6.32 kernel it used "arm_fck" for MPU_CLK instead of "virt_prcm_set", but that option isn't in the linux-3.0 source (or the current source in tony's tree on github.com). I tried reverting to "arm_fck", but on a DM3730 cpupfreq-info only shows 600Mhz as a possibility, and none of the other operating points.

Does anyone have CPU frequency scaling working in linux-3.0 and have any suggestions on what I'm doing wrong?

Signature · 2 lines
Peter Barada
[email protected]
#1 lore raw

Hi Peter,

Quoted 5 lines · Peter Barada

I'm trying to get frequency scaling working in linux-3.0, and it after digging into why cpufreq-info works in 2.6.32 and doesn't in 3.0, I've found that omap_cpu_init() returs -ENOENT due to clk_get(NULL, "virt_prcm_set") failing.

Quoted 8 lines

In the older 2.6.32 kernel it used "arm_fck" for MPU_CLK instead of "virt_prcm_set", but that option isn't in the linux-3.0 source (or the current source in tony's tree on github.com). I tried reverting to "arm_fck", but on a DM3730 cpupfreq-info only shows 600Mhz as a possibility, and none of the other operating points.

Does anyone have CPU frequency scaling working in linux-3.0 and have any suggestions on what I'm doing wrong?

I recently posted[1] an updated CPUfreq driver that is proposed for merge in v3.2.

It's also availble in the 'for_3.2/omap-cpufreq' branch of my github
repo: git://github.com/khilman/linux-omap-pm.git

Kevin

[1] http://marc.info/?l=linux-omap&m=131672565712833&w=2