summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/pcm037.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* imx/mx3: rename files defining a machine to mach-$mach.cUwe Kleine-König2010-01-081-646/+0
| | | | | | | | | | | While at it remove some superfluous parenthesis. 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 Mack <daniel@caiaq.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Valentin Longchamp <valentin.longchamp@epfl.ch>
* imx/mach-mx3: use constants namespaced by the corresponding SOC (easy part)Uwe Kleine-König2010-01-051-8/+8
| | | | | | | | | | | | | | | | | | | | | This just leaves cpu.c, devices.c and mm.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: Russell King <linux@arm.linux.org.uk> Cc: Alberto Panizzo <maramaopercheseimorto@gmail.com> Cc: Valentin Longchamp <valentin.longchamp@epfl.ch> Cc: Daniel Mack <daniel@caiaq.de> Cc: Guennadi Liakhovetski <lg@denx.de> Cc: Yoichi Yuasa <yuasa@linux-mips.org> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Magnus Lilja <lilja.magnus@gmail.com> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Harro Haan <hrhaan@yahoo.com> Cc: Jean Delvare <khali@linux-fr.org> Cc: Luotao Fu <l.fu@pengutronix.de> Cc: Ilya Yanok <yanok@emcraft.com>
* mx3: add support for the mt9v022 camera sensor to pcm037 platformGuennadi Liakhovetski2010-01-041-7/+25
| | | | | Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm037: mux configuration for predefined gpio lineLuotao Fu2009-08-141-0/+2
| | | | Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
* ARM: mxc: Fix i2c_board_info definitionsSascha Hauer2009-08-141-2/+1
| | | | | | | | | 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>
* pcm037: Add support for SJA1000 on baseboardSascha Hauer2009-08-071-0/+30
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx3: Codingstyle: Let the compiler count arraysSascha Hauer2009-08-071-3/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mxc: turn to soc specific init_irq functionsSascha Hauer2009-08-071-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: add support for the EET board, based on the i.MX31 pcm037 moduleGuennadi Liakhovetski2009-06-231-6/+59
| | | | | | | | | | | | | The "EET" variant of the pcm037 board has an OLED display, using a S6E63D6 display controller on the first SPI interface, using GPIO57 as a chip-select for it. S6E63D6 is initialised in the boot-loader, so we only have to take care of the LCD. EET also adds several buttons and LEDs on GPIOs. This patch adds a "pcm037_variant=" kernel command line parameter to specify at boot-time which board the kernel is running on, default is "pcm970", specify "eet" for the EET board. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm037: add MT9T031 camera supportGuennadi Liakhovetski2009-06-231-12/+106
| | | | | | | | | Add support for the MT9T031 CMOS camera sensor from Aptina to the PCM037 board. Also add two I2C iomux pin definitions, needed for pcm037. Also remove now unneeded #ifdef CONFIG_I2C_IMX. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31: calls to gpio_request moved into platform codeSascha Hauer2009-05-071-7/+38
| | | | | | | 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>
* ARM: add USB device support to pcm037Guennadi Liakhovetski2009-05-071-0/+51
| | | | | | | | 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>
* ARM: framebuffer support for pcm037Guennadi Liakhovetski2009-05-071-0/+52
| | | | | | | Add support for a QVGA Sharp LCD on pcm037. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC: rename mxc_map_io to architecture specific versionsSascha Hauer2009-05-071-1/+1
| | | | | | | | 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>
* pcm037: Add support for UART2Sascha Hauer2009-05-071-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm037: add SDHC card detectionSascha Hauer2009-05-071-3/+30
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm037: setup all pins at once and not in init functionsSascha Hauer2009-05-071-49/+75
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm037 board support: Fix eth interrupt gpio settingSascha Hauer2009-04-161-2/+2
| | | | | | gpio_direction_input needs the gpio number, not the pin description. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: convert pcm037 platform to use smsc911xSteve Glendinning2009-04-021-10/+13
| | | | | | | | | Updated to also specify SMSC911X_FORCE_INTERNAL_PHY, as the external phy detection hardware strap is incorrectly pulled high on this platform. Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm037: Add sdhc supportSascha Hauer2009-03-131-0/+28
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] MX31: Move static virtual mappings of AIPS1/2 to common fileSascha Hauer2009-03-131-27/+1
| | | | | | | 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] PCM037 Board: Add I2C supportSascha Hauer2009-03-131-0/+51
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm037: use of new iomux implementationValentin Longchamp2009-03-131-11/+17
| | | | | | | This was only compilation tested. Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] MXC: rework timer/clock initialisationSascha Hauer2009-03-131-2/+1
| | | | | | | | | - rename mxc_clocks_init to architecture specific versions. This allows us to have more than one architecture compiled in. - call mxc_timer_init from clock initialisation instead from board code Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] pcm037: add NAND supportSascha Hauer2008-12-161-0/+8
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] pcm037: Add support for SRAM deviceSascha Hauer2008-12-161-0/+22
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] pcm037: add support for the on-board LAN9217 network controllerGuennadi Liakhovetski2008-12-161-0/+37
| | | | | | | smc911x now also supports LAN921{5,7,8} network controllers. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] pcm037: add 1wire supportSascha Hauer2008-12-141-0/+3
| | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] pcm037: map AIPS1 and AIPS2 as nonshared areaSascha Hauer2008-10-301-2/+2
| | | | | | | The internal devices of the MX3 Processor have to be mapped MT_DEVICE_NONSHARED devices, otherwise cache corruptions occur. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-rmk' of git://source.mvista.com/git/linux-davinci-2.6.gitRussell King2008-10-091-1/+1
|\ | | | | | | Merge branch 'davinci' into devel
| * pcm037: add rts/cts support for serial portSascha Hauer2008-09-021-1/+1
| | | | | | | | | | | | | | We have rts/cts pins on the first serial port on the pcm037. Enable it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | i.MX3: make SoC devices globally availableSascha Hauer2008-09-091-2/+4
|/ | | | | | | | Make SoC devices globally available to boards rather than using a device specific init function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/machRussell King2008-08-071-5/+5
| | | | | | This just leaves include/asm-arm/plat-* to deal with. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] Remove asm/hardware.h, use asm/arch/hardware.h insteadRussell King2008-08-071-1/+1
| | | | | | | | | Remove includes of asm/hardware.h in addition to asm/arch/hardware.h. Then, since asm/hardware.h only exists to include asm/arch/hardware.h, update everything to directly include asm/arch/hardware.h and remove asm/hardware.h. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* MX31: add basic pcm037 board supportSascha Hauer2008-07-051-0/+130
This patch adds basic board support for phytecs pmc037 board. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>