aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into develRussell King2009-03-13
|\ | | | | | | | | | | Conflicts: arch/arm/mach-at91/gpio.c
| * qong: basic support for Dave/DENX QongEVB-LITE boardIlya Yanok2009-03-13
| | | | | | | | | | | | | | | | | | This patch adds basic support for Dave/DENX QongEVB-LITE i.MX31-based board. It includes support for clocks initialization, UART1, NOR-flash, FPGA-attached NAND flash and DNET ethernet controller (inside FPGA). Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * pcm970 baseboard: Add SDHC supportSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * pcm037: Add sdhc supportSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MX31: Add sdhc resources/platform devicesSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MX2: Add SDHC platform_devices and resourcesSascha Hauer2009-03-13
| | | | | | | | | | Signed-of-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MX2/MX3 SDHC driver: rename platform driverSascha Hauer2009-03-13
| | | | | | | | | | | | | | Rename driver from imx-mmc to mxc-mmc to avoid conflicts with the mx1 mmc driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mxcmmc: Do not pass clock name, we have only one clock for this deviceSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Use __force in IO_ADDRESS macro to silence sparseSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MX31 clkdev supportSascha Hauer2009-03-13
| | | | | | | | | | | | | | This patch adds clkdev support for i.MX31. This is done in a similar way done previously for i.MX27 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] pcm038: Fix pins for UART3Sascha Hauer2009-03-13
| | | | | | | | | | | | | | 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] MX31: Move static virtual mappings of AIPS1/2 to common fileSascha Hauer2009-03-13
| | | | | | | | | | | | | | On MX31 we can't do much without mapping the AIPS1/2 register space. Move these mappings from individual boards to plat-mxc/mm.c Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] MX31/MX35: Add l2x0 cache supportSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] MX35 devices supportSascha Hauer2009-03-13
| | | | | | | | | | | | | | | | | | | | | | The i.MX35 basically features the same peripherals as the i.MX31 with some differences: - The i.MX35 has a FEC ethernet controller - The NAND controller base addresses are different - The i.MX35 has only 3 UARTs Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] MX35: add clock supportSascha Hauer2009-03-13
| | | | | | | | | | | | | | | | | | This patch adds clock support for i.MX35 SoCs. We do not support setting of clock rates yet, but most interesting clock rates should be reported. I couldn't test all clock rates and the datasheet contains some obvious bugs, so expect some bugs in this code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] add i.MX35 build supportSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] MXC: add cpu_is_ macrosSascha Hauer2009-03-13
| | | | | | | | | | | | | | | | | | | | 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] MX35: Add register definitions for the i.MX35Sascha Hauer2009-03-13
| | | | | | | | | | | | | | | | This patch moves the stuff common to i.MX31 and i.MX35 to mx3x.h and the specifics to mx31.h/mx35.h. We can build a kernel which runs on i.MX31 and i.MX35, so always include mx31.h and mx35.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imxfb: Fix margin settingsSascha Hauer2009-03-13
| | | | | | | | | | | | | | The var->hsync_len, var->right_margin and var->left_margin fields should contain the real values, not the hardware dependent values. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imxfb: add mx27 supportSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mx31: add dma and fb devicesValentin Longchamp2009-03-13
| | | | | | | | | | | | | | | | | | | | This adds the dma (ipu_dma) and fb devices for the mx31 for which drivers now are available. v2: merge the ipu and fb device in the same patch as suggested by Sascha Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mx31moboard: initial support for various baseboardsValentin Longchamp2009-03-13
| | | | | | | | | | | | | | | | | | | | | | | | This enables our mx31moboard to be used on the different baseboards that we are developping according to the application needs. There are not many differences between the boards for now, but when other peripherals are available for mx31 the differences are going to grow. v2: takes Sascha's comments into account Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mx31: add pin definition for LCDValentin Longchamp2009-03-13
| | | | | | | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mxc: first set GPIO level, then switch direction to outputGuennadi Liakhovetski2009-03-13
| | | | | | | | | | | | | | | | Make sure not to create spurious pulses on GPIOs, when configuring them as output: first set required level, then switch direction. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm/imx: Kconfig beautificationHolger Schurig2009-03-13
| | | | | | | | | | Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] mxc: add missing includeSascha Hauer2009-03-13
| | | | | | | | | | | | | | include devices.h from devices.c to avoid inconsistencies and to fix sparse warnings Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] Add Synertronixx scb9328 board supportSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] PCM037 Board: Add I2C supportSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] iommux mx3: Add pin definitions for I2CSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] mx1ads: add I2C supportSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] PCM038 board: Add I2C supportSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] MX2: Add I2C devices / resourcesSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] MX2: add pwm device/resourcesSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] MXC: add pwm driver for i.MX SoCsSascha Hauer2009-03-13
| | | | | | | | | | | | | | This driver has been tested on MX27/MX31. It should work on MX1/MX1 aswell, but the actual setting of the PWM is missing so far. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imxfb: add 18 bit supportSascha Hauer2009-03-13
| | | | | | | | | | | | | | | | v2: As pointed out by Hans J. Koch we have to claim we can do 24bit to make software like X work. We are lucky on i.MX that 18bit support has the necessary gaps in the fields to do so. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] pcm038: Add framebuffer supportSascha Hauer2009-03-13
| | | | | | | | | | | | Add framebuffer support for PCM038 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imxfb: add platform specific init/exit functionsSascha Hauer2009-03-13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] MX2: Add FEC platform deviceSascha Hauer2009-03-13
| | | | | | | | | | | | | | 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>
| * mx31ads: Initial support for Wolfson Microelectronics 1133-EV1 moduleMark Brown2009-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The i.MX31ADS supports pluggable PMU modules, including the WM835x based Wolfson Microelectronics 1133-EV1. These boards provide power, audio, RTC and watchdiog services to the system. This patch adds initial support for those boards in I2C mode. Currently support is limited by the available support for the features of the i.MX31 in the mainline kernel. Some further work will be needed once other PMU modules are supported and once there is SPI support. Many of the regulator constraints will be sharable with other PMU boards. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * pcm037: use of new iomux implementationValentin Longchamp2009-03-13
| | | | | | | | | | | | | | This was only compilation tested. Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mx31pdk: use of new iomux implementationValentin Longchamp2009-03-13
| | | | | | | | | | | | | | This was only compilation tested. Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mx31ads: use of new iomux implementationValentin Longchamp2009-03-13
| | | | | | | | | | | | | | This was only compilation tested. Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mx31moboard: use of new iomux implementationValentin Longchamp2009-03-13
| | | | | | | | | | | | | | | | | | | | This example takes advantage of the possibility to use tables of iomux configs. This is inspired from mx1-mx2 iomux code. It allows a better code readability. Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mx31: rework of iomux supportValentin Longchamp2009-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new implemenatation avoids that two physical pins are claimed by the same driver (also with the the gpr hardware modes). The gpio kernel lib is also called when a capable gpio pin is assigned its gpio function. The mxc_iomux_mode function is still here for backward compatibility but should not be used anymore. V2: In the precendent revision, the iomux code was claiming a pin when its hardware mode was changed. This was uncorrect: when the hardware mode is changed, the pin must still be claimed through the iomux. In order to have a pin working in mode hw2, we must fist issue the mxc_iomux_set_gpr call and then the corresponding mxc_iomux_mode calls with the FUNC mode (usually done with mxc_iomux_setup_multiple_pins). The reverse calls must be done to fee the pins. Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * remove unused static function gpio_fec_inactiveUwe Kleine-König2009-03-13
| | | | | | | | | | | | | | | | | | | | | | ... 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-13
| | | | | | | | | | | | | | | | | | | | | | 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>
| * mx31ads: Make unexported data staticMark Brown2009-03-13
| | | | | | | | | | | | | | Keeps sparse happy. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mx31ads: Fix build for missing mx31.hMark Brown2009-03-13
| | | | | | | | | | | | | | | | | | Several of the macros in mx31ads.h depend on mx31.h which is no longer included in quite so many standard headers as it once was. Include it directly so we can build. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mx31: Add device definitions for the i.MX3x I2C controllersMark Brown2009-03-13
| | | | | | | | | | | | | | | | | | The i.MX I2C driver has not yet been merged into mainline but it is near to that and the device defintions don't depend directly on it so we can add the devices now. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm/imx21: Framebuffer support for i.MX21Holger Schurig2009-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>