RE: [Question] omap3 clock framework for clock set_rate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

> -----Original Message-----
> From: Paul Walmsley [mailto:paul@xxxxxxxxx] 
> Sent: 2009年6月19日 8:18
> To: Wang Sawsd-A24013
> Cc: linux-omap@xxxxxxxxxxxxxxx
> Subject: Re: [Question] omap3 clock framework for clock set_rate
> 
> Hello Chunqiu,
> 
> On Fri, 19 Jun 2009, Wang Sawsd-A24013 wrote:
> 
> > In linux-omap clock framework, most clocks have no
> > set_rate in their definition in clock34xx.h, but defined
> > DEFAULT_RATE in clksel_rate structures, this
> > Will only allow some pre-set rates for some clocks and
> > Can not get a more flexible rates if driver wants to
> > Change the clock rate usng clk_set_rate.
> > 
> > What is the benefit of this implementation?
> > 
> > We want to understand this before we made the change
> > In case we missed some imprtant background of
> > This implementation.
> 
> Any driver that wishes to change its clock rate should add 
> .set_rate and 
> .round_rate function pointers to its corresponding clocks.  There's 
> no good reason why those function pointers aren't there; they 
> probably 
> should have been added with the original clock tree.
> 
> Hope this helps,

Thanks, this helps a lot. :-)
> 
> - Paul
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux