MXC family: Add clock handling
authorJuergen Beisert <j.beisert@pengutronix.de>
Sat, 5 Jul 2008 08:02:47 +0000 (10:02 +0200)
committerRobert Schwebel <r.schwebel@pengutronix.de>
Sat, 5 Jul 2008 08:02:47 +0000 (10:02 +0200)
commitc0db2ea4e366c94dd3f880928c02534156e3d1b9
treee8486fedc9d405b2867c3a474ebc18fad394836c
parent38a41fdf94c449c165213e4665c3f8a0d30f8aba
MXC family: Add clock handling

Internal clock path handling for the mxc CPUs.

Changed against the original Freescale code (and against clocklib for example):
 - clock rate is always calculated whenever one ask for the current rate
   (means struct clk has no more a member called "rate"). So switching the PLL
   base frequency will propagate immediately to all other clocks that are
   depending on this frequency.

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
arch/arm/plat-mxc/Makefile
arch/arm/plat-mxc/clock.c [new file with mode: 0644]
include/asm-arm/arch-mxc/clock.h [new file with mode: 0644]