summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * MX27ADS: Add 1-wire supportVladimir Barinov2009-05-071-0/+3
| | | | | | | | | | | | | | Add 1-wire support for MX27ADS board Signed-off-by: Vladimir Barinov <vbarinov@embeddedalley.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MX27ADS: Add framebuffer supportVladimir Barinov2009-05-071-0/+70
| | | | | | | | | | | | | | Add Sharp-QVGA panel support for MX27ADS board Signed-off-by: Vladimir Barinov <vbarinov@embeddedalley.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MX27ADS: Add I2C supportVladimir Barinov2009-05-071-0/+17
| | | | | | | | | | | | | | Add I2C support for MX27ADS board Signed-off-by: Vladimir Barinov <vbarinov@embeddedalley.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MX27ADS: Add NAND supportVladimir Barinov2009-05-071-0/+7
| | | | | | | | | | | | | | Add NAND support for MX27ADS board Signed-off-by: Vladimir Barinov <vbarinov@embeddedalley.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MX27ADS: setup all pins at once in one tableVladimir Barinov2009-05-071-143/+43
| | | | | | | | | | | | | | Setup all pins at once in one table Signed-off-by: Vladimir Barinov <vbarinov@embeddedalley.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MX27: Add basic support to MX27PDKFabio Estevam2009-05-073-0/+102
| | | | | | | | | | | | | | This patch adds basic support to MX27PDK board http://www.freescale.com/imx27pdk ). Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MXC: mx21ads base supportIvo Clarysse2009-05-073-0/+294
| | | | | | | | | | | | | | | | | | | | [PATCH v6] MXC: mx21ads base support Base machine support for the Freescale i.MX21ADS (M9328MX21ADSE) Application Development System. Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imx: exit functions can/should be voidHolger Schurig2009-05-073-21/+10
| | | | | | | | | | Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MXC: rename mxc_map_io to architecture specific versionsSascha Hauer2009-05-073-3/+13
| | | | | | | | | | | | | | | | This allows us to have more mapping functions for more than one i.MX architecture in the kernel. As this is the earliest board specific hook we have, also use it to set the cpu type. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mx[23]: don't put clock lookups in __initdataRabin Vincent2009-06-032-2/+2
|/ | | | | | | | | Remove the __initdata annotation for the clock lookups, since they will be needed when loading modules which use clk_get(). Tested-by: Agustín Ferrín Pozuelo <gatoguan-os@yahoo.com> Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx21: activate i2cHolger Schurig2009-04-161-1/+1
| | | | | | | | | | Set the correct clkdev-name for the i2c clock. It also get's rid of the ARCH_NR_GPIOS define on the rationale that isn't an ARCH-wide setting anyway. If a device has two pca953x devices, the reserved number will be wrong. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
* imx21: fixes some clocknamesHolger Schurig2009-04-161-3/+3
| | | | Signed-off-by: <hs4233@mail.mn-solutions.de>
* i.MX21/27: remove ifdef CONFIG_FB_IMXSascha Hauer2009-03-271-2/+0
| | | | | | | Compile in the framebuffer device unconditionally to fix pcm038 compilation without framebuffer support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mxc: add arch_reset() functionIlya Yanok2009-03-272-64/+1
| | | | | | | | | | | This patch adds arch_reset() function for all mxc platforms. It also removes (unsused) arch/arm/mach-mx2/system.c file. This patch has been tested on i.MX1/27/31/35 Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] pass reboot command line to arch_reset()Russell King2009-03-191-1/+1
| | | | | | | | | | | | | | | OMAP wishes to pass state to the boot loader upon reboot in order to instruct it whether to wait for USB-based reflashing or not. There is already a facility to do this via the reboot() syscall, except we ignore the string passed to machine_restart(). This patch fixes things to pass this string to arch_reset(). This means that we keep the reboot mode limited to telling the kernel _how_ to perform the reboot which should be independent of what we request the boot loader to do. Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* pcm970 baseboard: Add SDHC supportSascha Hauer2009-03-131-0/+63
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MX2: Add SDHC platform_devices and resourcesSascha Hauer2009-03-132-0/+68
| | | | | Signed-of-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] pcm038: Fix pins for UART3Sascha Hauer2009-03-131-2/+2
| | | | | | | The UART3 had a copy-paste bug. instead of claiming rxd, txd, rts and cts pins, cts and rts were claimed twice Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm/imx: Kconfig beautificationHolger Schurig2009-03-131-8/+5
| | | | | Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] PCM038 board: Add I2C supportSascha Hauer2009-03-131-0/+59
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] MX2: Add I2C devices / resourcesSascha Hauer2009-03-132-0/+44
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] MX2: add pwm device/resourcesSascha Hauer2009-03-132-0/+21
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] pcm038: Add framebuffer supportSascha Hauer2009-03-131-1/+69
| | | | | | Add framebuffer support for PCM038 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] MX2: Add FEC platform deviceSascha Hauer2009-03-134-0/+23
| | | | | | | The in kernel FEC driver has recently been ported to a platform driver. Add a platform_device for it and register it for pcm038 and mx27ads. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove unused static function gpio_fec_inactiveUwe Kleine-König2009-03-132-12/+0
| | | | | | | | | | | ... from both mx27ads.c and pcm038.c Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Cc: Holger Schurig <hs4233@mail.mn-solutions.de> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Martin Fuzzey <mfuzzey@gmail.com>
* fix warning "control reaches end of non-void function"Uwe Kleine-König2009-03-131-0/+1
| | | | | | | | | | | Add a return 0 analogous to uart_mxc_port[0-2]_exit. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Cc: Holger Schurig <hs4233@mail.mn-solutions.de> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Martin Fuzzey <mfuzzey@gmail.com>
* arm/imx21: Framebuffer support for i.MX21Holger Schurig2009-03-132-1/+34
| | | | | | | | | | | | | This patch mimicks what Martin wrote on the mailing list: * move arch/arm/mach-imx/include/mach/imxfb.h into arch/arm/mach-mxc/include/mach/imxfb.h * changes Kconfig so that CONFIG_FB_IMX is selectable * adds a platform device (copied from some pengutronix patches) Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
OpenPOWER on IntegriCloud