public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* FRV and CPU frequency scaling
@ 2004-11-02 12:35 Dominik Brodowski
  2004-11-02 13:35 ` David Howells
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Brodowski @ 2004-11-02 12:35 UTC (permalink / raw)
  To: dhowells; +Cc: cpufreq, davej, linux-kernel, uclinux-dev

While reading through the FRV Documentation patch I stumbled across the file
"clock.txt" file which says:

+ (*) clock.txt
+
+     A description of the CPU clock scaling interface.
+

Could you use the generic cpufreq core (drivers/cpufreq/) for this, please?

And could you explain the difference between p0, cm and cmode settings to
me, and how they can be combined, please? Or is the following assumption 
correct?

The CPU core frequency can only be modified on FR405 CPUs, while p0 and cm 
are available on all CPUs and allow for modification of the frequency of 
some sort of external busses.

Thanks,
	Dominik

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

* Re: FRV and CPU frequency scaling
  2004-11-02 12:35 FRV and CPU frequency scaling Dominik Brodowski
@ 2004-11-02 13:35 ` David Howells
  0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2004-11-02 13:35 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: cpufreq, davej, linux-kernel, uclinux-dev


> While reading through the FRV Documentation patch I stumbled across the file
> "clock.txt" file which says:
> 
> + (*) clock.txt
> +
> +     A description of the CPU clock scaling interface.
> +
> 
> Could you use the generic cpufreq core (drivers/cpufreq/) for this, please?

Maybe. I'm not sure how simple it will be to adapt, since there are several
"clocks", and the setting changes the ratios between them.

> And could you explain the difference between p0, cm and cmode settings to
> me, and how they can be combined, please? Or is the following assumption 
> correct?
> 
> The CPU core frequency can only be modified on FR405 CPUs, while p0 and cm 
> are available on all CPUs and allow for modification of the frequency of 
> some sort of external busses.

It's quite complicated. There are 16 clock ratio mode settings, a bus speed
doubler and a raw clock speed indicator. The mode table varies from CPU to
CPU, and not all modes are available on all CPUs.

David

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

end of thread, other threads:[~2004-11-02 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-02 12:35 FRV and CPU frequency scaling Dominik Brodowski
2004-11-02 13:35 ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox