summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/pcm037.c
Commit message (Collapse)AuthorAgeFilesLines
* 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>
OpenPOWER on IntegriCloud