summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach/mx27.h
Commit message (Collapse)AuthorAgeFilesLines
* ARM: imx: Get the silicon version from the IIM moduleDinh Nguyen2010-11-281-4/+0
| | | | | | | | | | | Instead of reading the silicon version from ROM, we should read the SREV register from the IIM. Freescale has dropped all support for MX51 REV1.0, only MX51 REV 2.0 and 3.0 are valid. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mx25: move registration of gpios to plat-mxc/gpio.cUwe Kleine-König2010-11-171-0/+6
| | | | | | | | To use common macros to define the gpio ports for imx{1,21,25,27} the existing ones had to made more general and a few more base address defines were necessary. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: imx: dynamically allocate mxc-ehci devicesUwe Kleine-König2010-11-171-5/+7
| | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: imx: dynamically allocate mx2-camera deviceUwe Kleine-König2010-11-171-2/+2
| | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: imx: remove deprecated symbols as all users are gone nowUwe Kleine-König2010-11-171-69/+0
| | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: imx: change static io mapping to use a functionUwe Kleine-König2010-11-171-8/+1
| | | | | | | | | | Now only the virtual addresses [0xf4000000, 0xf5ffffff] are used for static per-SoC mappings. The few mappings of whole chip selects are moved accordingly. The now wrong defines for virtual base addresses are removed. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: imx: refactor the io mapping macroUwe Kleine-König2010-11-171-4/+5
| | | | | | | | | | This makes it more assembler friendly and allows it to be used in situation that need an unsigned long and not a pointer. Also the naming is clearer. IOMEM is introduced without IMX_ prefix as it is used this way in more than one ARM subarch and it might become globally available soon. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: imx: reorganize nand registration to use a structUwe Kleine-König2010-10-011-1/+1
| | | | | | | | Addiontionally make the interrupt #defines match the base address defines MX.._NFC_BASE_ADDR. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx: dynamically register imx-i2c devices (imx27)Uwe Kleine-König2010-06-301-2/+2
| | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* imx: define functions to configure chip selects in the WEIMUwe Kleine-König2010-01-081-0/+19
| | | | | | | | | | | | This has the addional effect that the macros CSCR_U, CSCR_L and CSCR_A are not used anymore in mach-pcm038.c and mach-qong.c. These still use the deprecated IO_ADDRESS macro and shouldn't be used in new code. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Russell King <linux@arm.linux.org.uk> Cc: Holger Schurig <hs4233@mail.mn-solutions.de> Cc: Dmitriy Taychenachev <dimichxp@gmail.com>
* imx: properly protect mach/mx{1,[25][157x]}.h from multiple inclusionUwe Kleine-König2010-01-081-3/+3
| | | | | | | | | | | | | | Some headers have used (now) wrong names or havn't had protection at all. This is needed before adding static inline functions to the headers. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Russell King <linux@arm.linux.org.uk> Cc: Magnus Lilja <lilja.magnus@gmail.com> Cc: Holger Schurig <hs4233@mail.mn-solutions.de> Cc: Jiri Kosina <jkosina@suse.cz> Cc: Daniel Mack <daniel@caiaq.de>
* imx: only define deprecated symbols conditionallyUwe Kleine-König2010-01-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | Define deprecated symbols in an #ifdef IMX_NEEDS_DEPRECATED_SYMBOLS ... All files that still depend on the old definitions get -DIMX_NEEDS_DEPRECATED_SYMBOLS passed to the compiler. When all remaining users are fixed this allows including the soc specific headers unconditionally. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Russell King <linux@arm.linux.org.uk> Cc: Eric Benard <eric@eukrea.com> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Alan Carvalho de Assis <acassis@gmail.com> Cc: Daniel Mack <daniel@caiaq.de> Cc: Alberto Panizzo <maramaopercheseimorto@gmail.com> Cc: Ilya Yanok <yanok@emcraft.com> Cc: Holger Schurig <hs4233@mail.mn-solutions.de> Cc: Jiri Kosina <jkosina@suse.cz> Cc: Magnus Lilja <lilja.magnus@gmail.com>
* imx27: define and use MX27_IO_ADDRESSUwe Kleine-König2010-01-081-0/+5
| | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Russell King <linux@arm.linux.org.uk> Cc: Rabin Vincent <rabin@rab.in> Cc: Javier Martin <javier.martin@vista-silicon.com> Cc: Valentin Longchamp <valentin.longchamp@epfl.ch> Cc: Holger Schurig <hs4233@mail.mn-solutions.de>
* imx: copy constants from mx2x.h to mx27.h using the appropriate namespaceUwe Kleine-König2009-11-181-18/+129
| | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* imx: add namespace prefixes for symbols in mx27.hUwe Kleine-König2009-11-181-68/+133
| | | | | | The old names are still defined using the new names. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* imx: reorder mx27.hUwe Kleine-König2009-11-181-31/+32
| | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* mxc: remove do not include directlySascha Hauer2009-08-071-4/+0
| | | | | | Everyone should be free to include the files he actually needs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mxc: remove ARCH_NR_GPIOSSascha Hauer2009-08-071-3/+0
| | | | | | Use the default value of 256 which is enough for all i.MX SoCs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] MXC: add cpu_is_ macrosSascha Hauer2009-03-131-3/+0
| | | | | | | | | | We had hardcoded cpu_is_ macros for mxc architectures till now. As we want to run the same kernel on i.MX31 and i.MX35 this patch adds cpu_is_ macros which expand to 0 or 1 if only one architecture is compiled in and only check for the cpu type if more than one architecture is compiled in. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm/imx2x: split i.MX21/i.MX27 register definitionsHolger Schurig2009-03-131-180/+17
| | | | | | | | | | | | * define new CONFIG_ARCH_MX21 (this one is currently mutually exclusive to CONFIG_ARCH_MX27, but this might change) * splits one header file. Memory definitions, interrupt sources, DMA channels are split into common part, i.MX27 specific and i.MX21 specific. * guard access to UART5/UART6, which don't exist on i.MX21 Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm/imx2x: removes a bunch of sparse-warningsHolger Schurig2009-03-131-1/+1
| | | | | | | | | | | | Here are some of the warnings that get fixed by this: > 200 times: warning: cast adds address space to expression (<asn:2>) twelve times: warning: symbol 'xxx' was not declared. Should it be static two times: warning: symbol 'clock' shadows an earlier one five times: warning: incorrect type in initializer (different address spaces) Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] MXC: do not include mach/hardware.h from mach/memory.hSascha Hauer2008-12-181-3/+0
| | | | | | Instead of including other header files, define PHYS_OFFSET directly Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] MXC: do not include mach/hardware.h from mach/timex.hSascha Hauer2008-12-181-3/+0
| | | | | | Instead of including other header files, define CLOCK_TICK_RATE directly Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] MXC: remove dependency to other include files from irqs.hSascha Hauer2008-12-181-6/+0
| | | | | | | This patch removes the inclusion of mach/hardware.h from mach/irqs.h and switches to more meaningful names for the irq related macros. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MX27: Fix EMMA Base addressesSascha Hauer2008-12-161-1/+2
| | | | | | | The EMMA (Enhanced Multimedia Engine) is divided into two parts, the postprocessor and the preprocessor. Fix the base addresses. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX3: Fix compiler warningsLuotao Fu2008-09-091-0/+1
| | | | | | | Fix some base address declaration by adding a cast. Signed-off-by: Luotao Fu <l.fu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/machRussell King2008-08-071-0/+302
This just leaves include/asm-arm/plat-* to deal with. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
OpenPOWER on IntegriCloud