All of lore.kernel.org
 help / color / mirror / Atom feed
* cpufreq-info doesn't work in linux-3.0 on DM3730
@ 2011-10-01 17:32 Peter Barada
  2011-10-03 22:28 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Barada @ 2011-10-01 17:32 UTC (permalink / raw)
  To: linux-omap

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.barada@gmail.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cpufreq-info doesn't work in linux-3.0 on DM3730
  2011-10-01 17:32 cpufreq-info doesn't work in linux-3.0 on DM3730 Peter Barada
@ 2011-10-03 22:28 ` Kevin Hilman
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2011-10-03 22:28 UTC (permalink / raw)
  To: Peter Barada; +Cc: linux-omap

Hi Peter,

Peter Barada <peter.barada@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-omap&m=131672565712833&w=2

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-03 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-01 17:32 cpufreq-info doesn't work in linux-3.0 on DM3730 Peter Barada
2011-10-03 22:28 ` Kevin Hilman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.