Re: [PATCH 2/2] clk: Generic support for fixed-rate clocks

From: Jeremy Kerr
Date: Mon Feb 21 2011 - 18:29:32 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/