lkml.org 
[lkml]   [2011]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/2] clk: Generic support for fixed-rate clocks
Date
Hi Ryan,

> If we never need to dynamically create fixed clocks (which seems
> unlikely) then rate can be const.

There's been a few cases where I've needed to set the rate of a fixed clock
during boot - for example when a clock rate varies between boards, it may be
defined in a platform-wide file, but have the rate modified early (ie,
clk_foo.rate = 32678) in a board file.

Also, if we're parsing clocks from the device tree (or any other discovery
mechanism), we'll need to modify rate.

Cheers,


Jeremy


\
 
 \ /
  Last update: 2011-02-22 00:31    [W:2.466 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site