i.MX2 family: Add clock handling for i.MX27 CPU
authorJuergen Beisert <j.beisert@pengutronix.de>
Sat, 5 Jul 2008 08:02:59 +0000 (10:02 +0200)
committerRobert Schwebel <r.schwebel@pengutronix.de>
Sat, 5 Jul 2008 08:02:59 +0000 (10:02 +0200)
commitc46f5856517c2d4f438df87dac81f2295931ee93
tree4a9066b17388f4f28483b806716f9b3443bfc0ad
parentf31405cc4cc568baad28273c7f45b0563b57a17d
i.MX2 family: Add clock handling for i.MX27 CPU

Internal clock path handling for the i.MX27 CPU.

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

TODO:
 - Check if the i.MX21 CPU can share the same code.

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
arch/arm/mach-mx2/Makefile
arch/arm/mach-mx2/clock_imx27.c [new file with mode: 0644]