summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/imx5.h
Commit message (Collapse)AuthorAgeFilesLines
* Add i.MX50 supportAlexander Kurz2016-09-121-0/+1
| | | | | Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX51: PLL errata workaroundSascha Hauer2013-05-301-0/+1
| | | | | | | | | | | | | | | | | | | | This is a port of the official PLL errata workaround from Freescale. The PLL's in the i.MX51 processor can go out of lock due to a metastable condition in an analog flip-flop when used at high frequencies. This workaround implements an undocumented feature in the PLL (dither mode), which causes the effect of this failure to be much lower (in terms of frequency deviation), avoiding system failure, or at least decreasing the likelihood of system failure. This is based on U-Boot commit: commit 9db1bfa110ac411ab3468e817f7f74b2439eb8c8 Author: David Jander <david@protonic.nl> Date: Wed Jul 13 21:11:53 2011 +0000 ARM: MX51: PLL errata workaround Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX53: split lowlevel function into early/nonearly versionSascha Hauer2013-04-051-0/+1
| | | | | | | | | clock_notifier_call_chain() can't be called before init time. Protecting it with IS_ENABLED(__PBL__) is not enough. This patch splits out a new imx53_init_lowlevel_early which can be called before init time and does not have the call to clock_notifier_call_chain() in it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX53: Fix pll216 setupSascha Hauer2013-04-041-2/+1
| | | | | | | | The value for i.MX53 216MHz is actually 432MHz. Use the same value as for i.MX51 which really corresponds to 216MHz. These are the same PLL216 values as U-Boot uses. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX5: move pll setup defines to header fileSascha Hauer2012-12-061-1/+11
| | | | | | | The pll setup function is exported, so it makes sense to export the convenience wrappers for specific frequencies aswell. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX51: Allow to pass cpu clock to lowlevel initAlexander Shiyan2012-04-131-1/+1
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX5: Allow to pass cpu clock to lowlevel initSascha Hauer2012-02-131-1/+1
| | | | | | | Some variants of the i.MX53 do not allow to run at 1GHz, so pass a cpu frequency parameter to the lowlevel init function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX51: implement a imx51_lowlevel_initSascha Hauer2012-01-021-0/+1
| | | | | | | | Reimplement the code from lowlevel.S in C. It is run from SDRAM anyway, so we can safely do this initialization in a regular barebox environment instead in Assembly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX5: prepare to add a imx51_lowlevel_initSascha Hauer2012-01-021-0/+8
- move code which can be shared between i.MX53 and i.MX51 to a common file - rename mx53_init_lowlevel to imx53_init_lowlevel Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>