Thread (7 messages) flat view 7 messages, 3 authors, 2012-07-19
DORMANTno replies

[PATCH 4/4] ARM: clps711x: Added simple clkdev framework

From: Turquette, Mike <hidden>
Date: 2012-07-19 22:02:00

On Tue, Jul 17, 2012 at 1:33 PM, Arnd Bergmann [off-list ref] wrote:
On Monday 16 July 2012, Alexander Shiyan wrote:
quoted
Modern CPUs from CLPS711X-line can operate at frequencies other than 73 MHz.
This patch adds simple clkdev framework for handling all possible CPU rates.

Signed-off-by: Alexander Shiyan <redacted>
+Mike Turquette

We just had the exact same discussion about a new clock implementation for
mcs814x and for the socfpga port. My feeling is that it makes no sense
to keep adding new private implementations of the API as we're trying
to get rid of the existing ones and replace them with the common code.

If I understand this correctly, you should be using DEFINE_CLK_FIXED_RATE
and DEFINE_CLK_DIVIDER etc to define the initial clocks and the lookup
table, and possibly move all of that to drivers/clk.
Arnd is correct.  Let's go ahead and move everything over to the
common clk framework.  These patches will have to wait for 3.7
anyways, so there is plenty of time to port it over.

Regards,
Mike
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help