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

2011-10-03 Thread Kevin Hilman
Hi Peter,

Peter Barada peter.bar...@gmail.com writes:

 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?

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-omapm=131672565712833w=2
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2011-10-01 Thread 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.


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?


--
Peter Barada
peter.bar...@gmail.com

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html