aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* MX35: Add basic support for MX35PDK boardFabio Estevam2009-06-03
| | | | | | | Add basic support for MX35PDK board (www.freescale.com/imx35pdk). Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Support for lilly-1131 modules and baseboards [v2]Daniel Mack2009-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Thu, May 28, 2009 at 08:42:23PM +0200, Sascha Hauer wrote: > > > Mail-Followup-To: Daniel Mack <daniel@caiaq.de>, > > > linux-arm-kernel@lists.arm.linux.org.uk > > > > ... which causes my mutt to only reply to the list. > > Ah, ok. /me hacking in muttrc... Does it work now? Yep :) > > mxc_register_device(&mxc_uart_device0, &uart_pdata); > > + mxc_register_device(&mxc_uart_device1, &uart_pdata); > > + mxc_register_device(&mxc_uart_device2, &uart_pdata); > > What about the RXD3/TXD3 pins? You're right - I got the IOMUX tables wrong and thought UART0 pins are selected unconditionally. But as it turns out TXD1/RXD1 is for UART0 (mxc_uart_device0), TXD2/RXD2 for UART1 (mxc_uart_device1) etc. Below is a new patch. Thanks, Daniel From e7eb5fa0fed09d667a4b2f168fe466e2cc645abb Mon Sep 17 00:00:00 2001 From: Daniel Mack <daniel@caiaq.de> Date: Wed, 27 May 2009 12:22:51 +0200 Subject: [PATCH] ARM: MX3: add two more UARTs to lilly-1131-db Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31: correct csi_clk parent (v2)Valentin Longchamp2009-05-28
| | | | | | | | | | | | | | | changes since v1: we now check if the parent configuration bit was changed since reset and change the parent when needed. csi_clk parent was defined with ahb_clk. However, according to the m31 reference manual, it should be serial_pll_clk. Guennadi always used a 20 MHz clock that was by chance changed to a 45 MHz that fits in the mt9t031 spec. Now the clocks are computed and output correctly (measured on oscillo). Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MX3: Add missing entry in devices.hFabio Estevam2009-05-28
| | | | | | | Add missing mxc_rnga_device entry in devices.h (mxc-master tree). Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM MXC: Atmark Armadillo 500 board support.Alberto Panizzo2009-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Mon, 25 May 2009 18:33:28 +0200 Valentin Longchamp <valentin.longchamp@epfl.ch> wrote: > Hello, > > I have updated my mxc git tree and given a compilation spin to your > board support and I have comments. See below. > > > What's the point of declaring this new function, if all it does is > calling the already existing one ? Furthermore, in the current > mxc-master tree, mxc_map_io() does not exist anymore, it should be > mx31_map_io (this breaks compilation for your board). > This patch solve those two issues. Until now i based my patches to vanilla tree. This evening I cloned the mxc-master tree so i could update the armadillo 500 support within recent platform changes. The patch: From e986a8dc262e5292350d95bf65ead75baf3272d7 Mon Sep 17 00:00:00 2001 From: Alberto Panizzo <maramaopercheseimorto@gmail.com> Date: Mon, 25 May 2009 22:24:03 +0200 Subject: [PATCH] Armadillo 500 removing useless function armadillo5x0_map_io and use machine specific io mapping Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: add I2C support for lilly-1131Daniel Mack2009-05-26
| | | | | Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: add NOR flash support for lilly-1131Daniel Mack2009-05-26
| | | | | Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: add framebuffer support for lilly1131-dbDaniel Mack2009-05-26
| | | | | Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: add MMC suuport for lilly1131-dbDaniel Mack2009-05-26
| | | | | Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: add lilly-1131 ethernet supportDaniel Mack2009-05-26
| | | | | | | This adds support for the SMSC911x chip found on the lilly-1131 module. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: add skeleton for lilly-1131 development boardDaniel Mack2009-05-26
| | | | | | | | | Support code for lilly-1131 is implemented in a module/baseboard fashion. All code specific to peripherals found on the development board will go to this file. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: basic support for lilly-1131 boardDaniel Mack2009-05-26
| | | | | | | | | This patch adds basic support for INCO startec's LILLY-1131 iMX31 based modules. The module needs a baseboard support to work which will be added in the next patch. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fix oops when using console=ttymxcN with N > 0Eric Lammerts2009-05-20
| | | | | Signed-off-by: Eric Lammerts <eric@lammerts.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX31: Add support for LAN9217 on PDK debug board.Magnus Lilja2009-05-19
| | | | | Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Atmark Armadillo 500 board support.Alberto Panizzo2009-05-19
| | | | | Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX31: Add support for the CPLD on PDK Debug board.Magnus Lilja2009-05-18
| | | | | | | | | | | The i.MX31 PDK consists of several boards, one of them is a debug board containing a CPLD which controls some debug leds, switch buttons, an interrupt chip and an Ethernet controller. This patch adds support for detecting if the PDK board is present (during boot) and adds the interrupt chip to the kernel. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx3fb: Issue prettier log messageSascha Hauer2009-05-17
| | | | | | | | Without this patch we end up with a log message like "mx3_sdc_fb mx3_sdc_fb: mx3fb: fb registered". That's two fb too much for my taste. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX31: Restructure UART setup for PDK board.Magnus Lilja2009-05-16
| | | | | | | | Restructure UART pin setup in preparation for adding other pins in later patches. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM MXC: Make-sure-ipg_per_clk-is-generated-by-ipg_clk-and-not-usb_pllAlberto Panizzo2009-05-16
| | | | | | | | | | From ff1fd9d7015d9b9ad3e0df2016d0415e2719747c Mon Sep 17 00:00:00 2001 From: Alberto Panizzo <maramaopercheseimorto@gmail.com> Date: Fri, 15 May 2009 17:21:21 +0200 Subject: [PATCH] Make sure ipg_per_clk is generated by ipg_clk and not usb_pll Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX31: Add NAND device driver for Litekit board.Magnus Lilja2009-05-16
| | | | | Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* FB: fix unsafe use of disable_irq() in mx3fb.cGuennadi Liakhovetski2009-05-13
| | | | | | | | | mx3fb.c calls disable_irq() from a DMA callback, i.e., in an IRQ-handler context, which has always been unsafe, and became deadly after the merge of threaded interrupt handler support. Use disable_irq_nosync() instead. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31: changed CONSISTENT_DMA_SIZE to 8M for mx31 videoValentin Longchamp2009-05-07
| | | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31: add camera deviceValentin Longchamp2009-05-07
| | | | | | | | | | | | | This adds the camera device based on Guennadi's soc_camera architecture for the mx31. The proposed init by Guennadi was removed and must be implemented in the board init file as it contains a lot of board specific info (memory size, clock speed). Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Reviewed-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31moboard: add support for usb OTG device (v3)Valentin Longchamp2009-05-07
| | | | | | | | | | | | | This is used on all board of our system, so again this is done in the mx31moboard.c file. changes since v2: call to gpio_request added in platform code, and moved device initialization in baseboard files. changes since v1: pins are claimed in another patch Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31: calls to gpio_request moved into platform codeSascha Hauer2009-05-07
| | | | | | | In order to use the gpiolib, we now have to call gpio_request in the plaform code since it is not done in iomux code anymore. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31: remove gpio_request calls from iomux codeValentin Longchamp2009-05-07
| | | | | | | | | | | | Since iomux code is not directly related to gpio on mx31, the calls to gpio_request are removed from iomux.c file. These calls have to be done in platform initialization files. The name of the singe pin call for iomux is also changed to mxc_iomux_alloc_pin. Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC qonq: mxc_map_io is now mx31_map_ioSascha Hauer2009-05-07
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mxc: fix wrong register access in timer codeSascha Hauer2009-05-07
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx1ads: rename mxc_map_io to mx1_map_ioSascha Hauer2009-05-07
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx1: add missing includeSascha Hauer2009-05-07
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx1ads: setup iomux pins at onceSascha Hauer2009-05-07
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx1ads: remove ifdefs, reorder include alphabeticallySascha Hauer2009-05-07
| | | | | | header is part of the kernel now. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: add USB device support to pcm037Guennadi Liakhovetski2009-05-07
| | | | | | | | Add OTG device definition and resources to i.MX31 and a pure USB device mode support to the pcm037 board. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* PCM038: Remove unnecessary ifdefs, reorder includes alphabeticallySascha Hauer2009-05-07
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: Setup all iomux pins at onceSascha Hauer2009-05-07
| | | | | | 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-07
| | | | | | | 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-07
| | | | | | | 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-07
| | | | | | | 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-07
| | | | | | | 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-07
| | | | | | | 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-07
| | | | | | | 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>
* i.MX31: Add ethernet support to i.MX31 Litekit board.Magnus Lilja2009-05-07
| | | | | | | This patch adds the SMSC platform device to the Litekit board. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX31: Correct comments on CONFIG_DEBUG_LL.Magnus Lilja2009-05-07
| | | | | | | | Several comments in board config files stated "mandatory for CONFIG_LL_DEBUG" but the correct name is CONFIG_DEBUG_LL. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX31: Removed unused items from board-mx31lite.h.Magnus Lilja2009-05-07
| | | | | Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX31: Add UART1 device to Litekit board.Magnus Lilja2009-05-07
| | | | | Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31moboard: add sdhc support (v3)Valentin Longchamp2009-05-07
| | | | | | | | | | | | | | | | | | This support both sdhc1 and sdhc2 with WP and CD for the marxbot and devboard mx31moboard baseboards. sdhc2 is present on both, but is not directly included in the mx31moboard file because a third baseboard (not supported yet) without sdhc2 is planned. Changes since v1: removed pin initialization from init/exit function and taken different comments into account Changes since v2: pin initialiation now is done in another patch for all current mx31moboard pins Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31moboard: add i2c support (v2)Valentin Longchamp2009-05-07
| | | | | | | | Changes since v1: all the pins needed for the drivers are claimed in another patch Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31moboard: setup all pins (v2)Valentin Longchamp2009-05-07
| | | | | | | | | | As suggested by Sascha, here we setup all the pins that we are using in the current (and currently reviewed) drivers for mx31moboard system. changes since v1: changed I2C1 pin names Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31: define various pins used on mx31moboard (v2)Valentin Longchamp2009-05-07
| | | | | | | | | | As suggested by Sascha, I regroup them in a single patch so that the other patches become more orthogonal. changes since v1: changed I2C1 pin names Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX31: Add hw-random for RNGAAlan Carvalho de Assis2009-05-07
| | | | | | | | | This hw-random driver add support to RNGA hardware found on some i.MX processors. Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com> Acked-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>