aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include
Commit message (Collapse)AuthorAge
* ARM: 5882/1: ARM: Fix uncompress code compile for different defines of ↵Tony Lindgren2010-01-18
| | | | | | | | | | | | | | | | | | | | | flush(void) Because of the include of the decompress_inflate.c file from boot/compress/misc.c, there are different flush() defines: In file included from arch/arm/boot/compressed/misc.c:249: arch/arm/boot/compressed/../../../../lib/decompress_inflate.c:138:29: error: macro "flush" passed 2 arguments, but takes just 0 Fix this by removing the define of flush() in misc.c for CONFIG_DEBUG_ICEDCC as it's already defined in mach/uncompress.h, and that is being included unconditionally. Also use a static inline function instead of define for mach-mxc and mach-gemini to avoid similar bug for those platforms. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* mx25: add support for FEC on i.MX25Baruch Siach2010-01-04
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx25: s/NO_PAD_CTL/NO_PAD_CTRL/Baruch Siach2010-01-04
| | | | | | | NO_PAD_CTL is not defined anywhere. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge git://git.infradead.org/mtd-2.6Linus Torvalds2009-12-16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * git://git.infradead.org/mtd-2.6: (90 commits) jffs2: Fix long-standing bug with symlink garbage collection. mtd: OneNAND: Fix test of unsigned in onenand_otp_walk() mtd: cfi_cmdset_0002, fix lock imbalance Revert "mtd: move mxcnd_remove to .exit.text" mtd: m25p80: add support for Macronix MX25L4005A kmsg_dump: fix build for CONFIG_PRINTK=n mtd: nandsim: add support for 4KiB pages mtd: mtdoops: refactor as a kmsg_dumper mtd: mtdoops: make record size configurable mtd: mtdoops: limit the maximum mtd partition size mtd: mtdoops: keep track of used/unused pages in an array mtd: mtdoops: several minor cleanups core: Add kernel message dumper to call on oopses and panics mtd: add ARM pismo support mtd: pxa3xx_nand: Fix PIO data transfer mtd: nand: fix multi-chip suspend problem mtd: add support for switching old SST chips into QRY mode mtd: fix M29W800D dev_id and uaddr mtd: don't use PF_MEMALLOC mtd: Add bad block table overrides to Davinci NAND driver ... Fixed up conflicts (mostly trivial) in drivers/mtd/devices/m25p80.c drivers/mtd/maps/pcmciamtd.c drivers/mtd/nand/pxa3xx_nand.c kernel/printk.c
| * mxc_nand: Allow flash based bbtSascha Hauer2009-11-12
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | USB: Add EHCI support for MX27 and MX31 based boardsDaniel Mack2009-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Freescale MX27 and MX31 SoCs have a EHCI controller onboard. The controller is capable of USB on the go. This patch adds a driver to support all three of them. Users have to pass details about serial interface configuration in the platform data. The USB OTG core used here is the ARC core, so the driver should be renamed and probably be merged with ehci-fsl.c eventually. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* | Merge branch 'for-linus' of ↵Linus Torvalds2009-12-09
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits) tree-wide: fix misspelling of "definition" in comments reiserfs: fix misspelling of "journaled" doc: Fix a typo in slub.txt. inotify: remove superfluous return code check hdlc: spelling fix in find_pvc() comment doc: fix regulator docs cut-and-pasteism mtd: Fix comment in Kconfig doc: Fix IRQ chip docs tree-wide: fix assorted typos all over the place drivers/ata/libata-sff.c: comment spelling fixes fix typos/grammos in Documentation/edac.txt sysctl: add missing comments fs/debugfs/inode.c: fix comment typos sgivwfb: Make use of ARRAY_SIZE. sky2: fix sky2_link_down copy/paste comment error tree-wide: fix typos "couter" -> "counter" tree-wide: fix typos "offest" -> "offset" fix kerneldoc for set_irq_msi() spidev: fix double "of of" in comment comment typo fix: sybsystem -> subsystem ...
| * | tree-wide: fix assorted typos all over the placeAndré Goddard Rosa2009-12-04
| |/ | | | | | | | | | | | | | | | | | | That is "success", "unknown", "through", "performance", "[re|un]mapping" , "access", "default", "reasonable", "[con]currently", "temperature" , "channel", "[un]used", "application", "example","hierarchy", "therefore" , "[over|under]flow", "contiguous", "threshold", "enough" and others. Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* | Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into ↵Russell King2009-12-04
|\ \ | | | | | | | | | devel-stable
| * | mx27: mxt_td60: Add support to SD/MMCAlan Carvalho de Assis2009-12-02
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | Add KZM-ARM11-01 supportYoichi Yuasa2009-11-27
| | | | | | | | | | | | | | | Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mx27: Add basic support for Maxtrack i-MXT TD60Alan Carvalho de Assis2009-11-27
| | | | | | | | | | | | | | | Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | ARM: fix "offest" -> "offset" typoUwe Kleine-König2009-11-26
|/ / | | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | mxc: mx1/mx2 DMA: add a possibility to create an endless DMA transferSascha Hauer2009-11-24
| | | | | | | | | | | | | | This is useful for audio where we do not want to setup a new scatterlist after playing 4GB of audio data. This would cause skips in the playback. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mxc: iomux v3: remove resource handlingSascha Hauer2009-11-24
| | | | | | | | | | | | | | The current model does not allow to put a pad into different modes once a pins is allocated. Remove the resource handling. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mx3: Add SSI pins to iomux tableSascha Hauer2009-11-24
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mx31: pins used for mx31moboard USBValentin Longchamp2009-11-24
| | | | | | | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: MX3: fix CPU revision number detectionDaniel Mack2009-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The macro mx31_revision() used to take the global variable system_rev to determine the CPU revision number. However, this number is expected to be set by the bootloader and is usually zero (at least on my MX31 based boards here). More than that, it is usually taken to identify the board's revision, not the CPU's. Fix that by reading the the CPU's SREV register instead. Right now, mx31_read_cpu_rev() is called from mx31_clocks_init() which is admittedly not a good place for it. However, we need to enable the IIM clock first, and the clock code also has conditional code that depends on mx31_revision() returning the right thing. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: MX3: modularize 'mx31lite' codeDaniel Mack2009-11-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit splits the support code for LogicPD's mx31lite hardware into module and board specific parts. This introduces a new mandatory coreparam called 'mx31lite_baseboard' which specifies the base board support to use. For now, only the LiteKit development board is supported, and developers of own boards are encouraged to use that as reference. The UART support moved to the board code. Some comments were amended along the way. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | imx: copy constants from mx3x.h to mx35.h using the appropriate namespaceUwe Kleine-König2009-11-18
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: copy constants from mx3x.h to mx31.h using the appropriate namespaceUwe Kleine-König2009-11-18
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: copy constants from mx2x.h to mx27.h using the appropriate namespaceUwe Kleine-König2009-11-18
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: copy constants from mx2x.h to mx21.h using the appropriate namespaceUwe Kleine-König2009-11-18
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: reformat mx25.h to match the other platform includesUwe Kleine-König2009-11-18
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: add namespace prefixes for symbols in mx35.hUwe Kleine-König2009-11-18
| | | | | | | | | | | | The old names are still defined using the new names. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: add namespace prefixes for symbols in mx31.hUwe Kleine-König2009-11-18
| | | | | | | | | | | | The old names are still defined using the new names. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: add namespace prefixes for symbols in mx3x.hUwe Kleine-König2009-11-18
| | | | | | | | | | | | The old names are still defined using the new names. 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-18
| | | | | | | | | | | | The old names are still defined using the new names. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: add namespace prefixes for symbols in mx21.hUwe Kleine-König2009-11-18
| | | | | | | | | | | | The old names are still defined using the new names. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: add namespace prefixes for symbols in mx2x.hUwe Kleine-König2009-11-18
| | | | | | | | | | | | The old names are still defined using the new names. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: reorder mx3x.hUwe Kleine-König2009-11-18
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: reorder mx27.hUwe Kleine-König2009-11-18
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: reorder mx21.hUwe Kleine-König2009-11-18
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: reorder mx2x.hUwe Kleine-König2009-11-18
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | MXC: Add a digital audio multiplexer driverSascha Hauer2009-11-14
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pca100: Add board to uncompress.hSascha Hauer2009-11-14
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | MXC: Add support for ULPI ViewportsDaniel Mack2009-11-14
| | | | | | | | | | | | | | | | | | | | | | | | The ARC USB OTG Core has support for accessing ULPI tranceivers through so called ULPI viewports. Export a set of function for use with the USB OTG framework. Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: David Brownell <dbrownell@users.sourceforge.net> Cc: linux-usb@vger.kernel.org Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mx31: various pins used for mx31moboardValentin Longchamp2009-11-14
| | | | | | | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: MX3: add MX3X_UART1_BASE_ADDR for uncompression on lilly1131Daniel Mack2009-11-14
|/ | | | | | Reported-by: Jörg Knobloch <knobloch@incostartec.com> Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* spi: add SPI driver for most known i.MX SoCsSascha Hauer2009-09-23
| | | | | | | | | | | | | This driver has been tested on i.MX1/i.MX27/i.MX35 with an AT25 type EEPROM and on i.MX27/i.MX31 with a Freescale MC13783 PMIC. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: David Brownell <david-b@pacbell.net> Cc: Andrea Paterniani <a.paterniani@swapp-eng.it> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* mx31: define various GPIOs used on mx31moboardValentin Longchamp2009-08-14
| | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx3x: Fixup USB base addressesSascha Hauer2009-08-14
| | | | | | | The i.MX31 and the i.MX35 have different USB base addresses. Adjust the resources accordingly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31: added one more pin definitionValentin Longchamp2009-08-14
| | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC: add iomux pins configuration support for MXC91231Dmitriy Taychenachev2009-08-14
| | | | | Signed-off-by: Dmitriy Taychenachev <dimichxp@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC: add basic MXC91231 supportDmitriy Taychenachev2009-08-14
| | | | | Signed-off-by: Dmitriy Taychenachev <dimichxp@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX25 iomux definitions (corrected version)Lothar Waßmann2009-08-14
| | | | | Signed-off-by: Lothar Wassmann <LW@KARO-electronics.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Freescale i.MX25 PDK (3ds) board supportSascha Hauer2009-08-14
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add i.MX25 supportSascha Hauer2009-08-14
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* iomux-v3: Allow for a runtime base addressSascha Hauer2009-08-14
| | | | | | | also, check for a valid pad_ctrl_ofs before changing the pad control register. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC: use variable for irq controller base in entry-macro.SSascha Hauer2009-08-14
| | | | | | | This allows us to determine the irq controller base address on runtime. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>