From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Stern Subject: Re: your mail Date: Sat, 18 Sep 2010 11:36:16 -0400 (EDT) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Raj Kumar Cc: linux-pm@lists.linux-foundation.org List-Id: linux-pm@vger.kernel.org On Sat, 18 Sep 2010, Raj Kumar wrote: > Hi Alan, > > > > I have question regarding the CPU frequency subsystem through which the frequency of the CPU is scaled. > > e.g. If we have device driver (X device contains processor) that wants to scale its own processor based > > upon the workload, (DVFS driver for this processor is implemented and registered with cpufreq subsystem) > > then X device driver when detects waorkload, Can this X device driver call policy governor APIS for scaling clock or > > this X device driver can directly calls DVFS driver APIs directly? I don't know. I have never used cpufreq and I don't know how it works. > I just want to know from our device driver how do call DVFS driver if DVFS driver is registered with cpu frequency subsystem? Then you should ask somebody else. Alan Stern