]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit371d7d21b0ee1a6a2baaf3f1aa67283a746ad9a3
tree4a9066b17388f4f28483b806716f9b3443bfc0ad
parent06f424384705d97eef199bf0d0a52fb3b1487bfc
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]