summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2
Commit message (Collapse)AuthorAgeFilesLines
* arm/mx2: use cpp magic to create imx_gpt devicesUwe Kleine-König2010-02-082-94/+26
| | | | | | | This makes the source shorter and easier to verify. While at it switch to use the SoC-prefixed constants. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* arm/mx2: use cpp magic to create spi_imx devicesUwe Kleine-König2010-02-082-56/+24
| | | | | | | This makes the source shorter and easier to verify. While at it switch to use the SoC-prefixed constants. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* imx: define per SOC ..._PHYS_OFFSET and use these in favour of PHYS_OFFSETUwe Kleine-König2010-02-028-8/+8
| | | | | | | This is a further step in allowing to build a kernel image for more than one imx SOC. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* imx2x: convert serial.c to use soc-prefixed constantsUwe Kleine-König2010-02-022-25/+24
| | | | | | | This makes the file compilable for a kernel that supports both imx21 and imx27. 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-3/+1
| | | | | | | | | | | | 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: only define deprecated symbols conditionallyUwe Kleine-König2010-01-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | 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>
* imx: mangle addresses after adding the offsetUwe Kleine-König2010-01-082-2/+2
| | | | | | | | | | | | | | | | | | | | | don't use IO_ADDRESS($base) + $offset but IO_ADDRESS($base + $offset) 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: Rabin Vincent <rabin@rab.in> Cc: "Agustín Ferrín Pozuelo" <gatoguan-os@yahoo.com> Cc: Javier Martin <javier.martin@vista-silicon.com> Cc: Valentin Longchamp <valentin.longchamp@epfl.ch> Cc: Daniel Mack <daniel@caiaq.de> Cc: Dmitriy Taychenachev <dimichxp@gmail.com>
* imx27: define and use MX27_IO_ADDRESSUwe Kleine-König2010-01-082-3/+4
| | | | | | | | | | 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>
* imx21: define and use MX21_IO_ADDRESSUwe Kleine-König2010-01-081-2/+2
| | | | | | | | | 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: Rabin Vincent <rabin@rab.in> Cc: Agustín Ferrín Pozuelo <gatoguan-os@yahoo.com>
* imx/mx2: rename files defining a machine to mach-$mach.cUwe Kleine-König2010-01-059-9/+8
| | | | | | | 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>
* imx: rename Kconfig symbol for "LogicPD MX27 LITEKIT platform"Uwe Kleine-König2010-01-052-2/+2
| | | | | | | | | | Not using MACH_IMX27LITE makes machine_is_imx27lite always return 0 independent of building support for this machine. 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: Daniel Schaeffer <daniel.schaeffer@timesys.com>
* imx: rename Kconfig symbol for "Eukrea CPUIMX27 module"Uwe Kleine-König2010-01-052-4/+4
| | | | | | | | | | | Not using MACH_CPUIMX27 makes machine_is_cpuimx27 always return 0 independent of building support for this machine. 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: Jean Delvare <khali@linux-fr.org> Cc: Eric Benard <eric@eukrea.com>
* imx/mach-mx2: use constants namespaced by the corresponding SOC (easy part)Uwe Kleine-König2010-01-0512-33/+35
| | | | | | | | | | | | | | | | | | | | This just leaves devices.c, generic.c and serial.c to clean up. As these files are used on more than one SOC they need some more work. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Holger Schurig <hs4233@mail.mn-solutions.de> Cc: Rabin Vincent <rabin@rab.in> Cc: Javier Martin <javier.martin@vista-silicon.com> Cc: Valentin Longchamp <valentin.longchamp@epfl.ch> Cc: Jean Delvare <khali@linux-fr.org> Cc: Eric Benard <eric@eukrea.com> Cc: Ivo Clarysse <ivo.clarysse@gmail.com> Cc: Vladimir Barinov <vbarinov@embeddedalley.com> Cc: Daniel Schaeffer <daniel.schaeffer@timesys.com> Cc: Simon POLETTE <spolette@adnlysd018.(none)> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Alan Carvalho de Assis <acassis@gmail.com> Cc: Luotao Fu <l.fu@pengutronix.de>
* imx/clock-imx27: use a macro to define registersUwe Kleine-König2010-01-051-14/+16
| | | | | | | | | | | This way the base address isn't hard coded in each register definition 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>
* imx/clock-imx21: use a macro to define registersUwe Kleine-König2010-01-051-14/+16
| | | | | | | | | | This way the base address isn't hard coded in each register definition 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: Rabin Vincent <rabin@rab.in>
* imx/mx2: fold crm_regs.h into its only consumerUwe Kleine-König2010-01-052-259/+230
| | | | | | | | 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: Rabin Vincent <rabin@rab.in>
* mx27: mxt_td60: Remove not used UART pinsAlan Carvalho de Assis2010-01-041-24/+0
| | | | | Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx27: mxt_td60: Add support to SD/MMCAlan Carvalho de Assis2009-12-021-2/+37
| | | | | | | | This patch configures iomux and i2c io expander in order to add support to SD/MMC cards on i-MXT TD60. Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx27: Add basic support for Maxtrack i-MXT TD60Alan Carvalho de Assis2009-11-273-0/+292
| | | | | Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* IMX: don't disable the uart clock if DEBUG_LL uses itUwe Kleine-König2009-11-272-2/+2
| | | | | | | | | | Before the clock was left enabled only for DEBUG_LL_CONSOLE which requires an additional patch to exist at all. With this patch applied DEBUG_LL_CONSOLE depends on DEBUG_LL, so this doesn't break. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC: Add a digital audio multiplexer driverSascha Hauer2009-11-141-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX2: Add sound (ssi) resourcesSascha Hauer2009-11-143-3/+82
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pca100: use correct irq initialisation functionSascha Hauer2009-11-141-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC: fix reset for mx31, mx35 and mx27 SoCsValentin Longchamp2009-10-131-1/+1
| | | | | | | | The clock name for the watchdog devices was not set consistently with mx21 on these platforms, resulting in the reset not to work. Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm970 mmc: Fix ro switchSascha Hauer2009-10-131-1/+1
| | | | | | | | We have to use mxc_gpio_mode() for the card detection pin instead of mxc_gpio_setup_multiple_pins() because the latter does a gpio_request() and thus a later gpio_request() fails. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: Add SPI/MC13783 supportSascha Hauer2009-10-131-2/+94
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX27 clock: rename spi clocks to match deviceSascha Hauer2009-10-021-3/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx21ads: Fix framebuffer platform dataSascha Hauer2009-08-141-18/+26
| | | | | | | struct imx_fb_platform_data has changed and the mx21ads was forgotten to change. Fix it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MX21: Compilation fix for devices.cSascha Hauer2009-08-141-1/+2
| | | | | | | The OTG devices are only available on i.MX27, so ifdef them out for i.MX21. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: mux configuration for predefined gpio lineLuotao Fu2009-08-141-0/+3
| | | | Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
* mx27: add support for phytec pca100 (phyCARD-s) boardLuotao Fu2009-08-143-0/+253
| | | | | Signed-off-by: Luotao Fu <l.fu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MX2: Add SPI devices/resourcesSascha Hauer2009-08-142-0/+72
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mxc: Fix i2c_board_info definitionsSascha Hauer2009-08-142-10/+5
| | | | | | | | | Fix i2c_board_info definitions - we were defining the 'type' field of these structures twice since the first argument of I2C_BOARD_INFO sets this field. Move the second definition into I2C_BOARD_INFO(). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Jean Delvare <khali@linux-fr.org>
* Add support for Eukrea's MBIMX27Eric Benard2009-08-073-0/+264
| | | | | | | | | MBIMX27 is the evaluation board for CPUIMX27 and integrates : a QVGA TFT, a SPI touchscreen controler, a SDCard connector wired to SDHC1. Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add support for Eukrea's CPUIMX27Eric Benard2009-08-073-1/+250
| | | | | | | | | | CPUIMX27 is built around Freescale's i.MX27 and has up to 64MB of NOR Flash, up to 512MB of NAND Flash and up to 256MB of mDDR, it includes an ethernet PHY in MII mode, an I2C RTC and a ST16554 QuadUART on nCS3. Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MX27: Add USB platform devices and resourcesjavier Martin2009-08-073-1/+104
| | | | | | | This adds clocks and resources for usb in i.mx27 SoC. Signed-off-by: Javier Martin <javier.martin@vista-silicon.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: Add support for SJA1000 on baseboardSascha Hauer2009-08-071-0/+29
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imxfb: Add support for multiple displaysSascha Hauer2009-08-072-41/+78
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx2: Codingstyle: Let the compiler count arraysSascha Hauer2009-08-071-92/+73
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx2: remove mxc_irda platform deviceSascha Hauer2009-08-072-25/+0
| | | | | | | Irda support is handled by the normal ims serial driver, so we do not need this device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mxc: turn to soc specific init_irq functionsSascha Hauer2009-08-076-5/+15
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* system.c: runtime base addressSascha Hauer2009-08-071-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC: pass base/irq to mxc_timer_initSascha Hauer2009-08-072-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-armLinus Torvalds2009-06-1410-343/+880
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (417 commits) MAINTAINERS: EB110ATX is not ebsa110 MAINTAINERS: update Eric Miao's email address and status fb: add support of LCD display controller on pxa168/910 (base layer) [ARM] 5552/1: ep93xx get_uart_rate(): use EP93XX_SYSCON_PWRCNT and EP93XX_SYSCON_PWRCN [ARM] pxa/sharpsl_pm: zaurus needs generic pxa suspend/resume routines [ARM] 5544/1: Trust PrimeCell resource sizes [ARM] pxa/sharpsl_pm: cleanup of gpio-related code. [ARM] pxa/sharpsl_pm: drop set_irq_type calls [ARM] pxa/sharpsl_pm: merge pxa-specific code into generic one [ARM] pxa/sharpsl_pm: merge the two sharpsl_pm.c since it's now pxa specific [ARM] sa1100: remove unused collie_pm.c [ARM] pxa: fix the conflicting non-static declarations of global_gpios[] [ARM] 5550/1: Add default configure file for w90p910 platform [ARM] 5549/1: Add clock api for w90p910 platform. [ARM] 5548/1: Add gpio api for w90p910 platform [ARM] 5551/1: Add multi-function pin api for w90p910 platform. [ARM] Make ARM_VIC_NR depend on ARM_VIC [ARM] 5546/1: ARM PL022 SSP/SPI driver v3 ARM: OMAP4: SMP: Update defconfig for OMAP4430 ARM: OMAP4: SMP: Enable SMP support for OMAP4430 ...
| * MXC : update i.MX21 clock support for USB host.Martin Fuzzey2009-06-081-26/+51
| | | | | | | | | | | | | | | | | | * Use correct clkdev style usb clock name * Implement rate setting for USB clock * Introduce _clk_generic_round_rate to factorize the (now 3) uses of rounding code. Signed-off-by: Martin Fuzzey <mfuzzey@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * PATCH] mx27pdk: rename mxc_map_io to mx27_map_ioSimon POLETTE2009-06-051-1/+1
| | | | | | | | | | | | | | | | Hi, Fixed issue in the mxc-master head : Signed-off-by: Simon POLETTE <spolette@adnlysd018.(none)> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mxc: Add i.MX27LITE board supportDaniel Schaeffer2009-06-043-0/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sascha Hauer wrote: > On Tue, Jun 02, 2009 at 04:18:42PM -0400, Daniel Schaeffer wrote: >> Add basic support for the Logic i.MX27LITE board. >> >> Signed-off-by: Daniel Schaeffer <daniel.schaeffer@timesys.com> > > Besides the comment made by Fabio this looks ok to me. > > Sascha > > Fixed issues pointed out by Fabio and Magnus, and rebased to mxc-master head. Signed-off-by: Daniel Schaeffer <daniel.schaeffer@timesys.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * PCM038: Remove unnecessary ifdefs, reorder includes alphabeticallySascha Hauer2009-05-072-18/+13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * pcm038: Setup all iomux pins at onceSascha Hauer2009-05-072-156/+124
| | | | | | | | | | | | Also, remove usage of set_irq_type after request_irq. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MX27ADS: Add SDHC supportVladimir Barinov2009-05-071-0/+52
| | | | | | | | | | | | | | Add SDHC support for MX27ADS board Signed-off-by: Vladimir Barinov <vbarinov@embeddedalley.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
OpenPOWER on IntegriCloud