aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3
Commit message (Collapse)AuthorAge
* mx31ads: Provide an IRQ range to the WM835x on the 1133-EV1 moduleMark Brown2010-01-05
| | | | | | | | The WM8350 core won't actually use the range yet, but it will in future and the platform data to configure it is there now. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31ads: Provide a name for EXPIO interrupt chipMark Brown2010-01-05
| | | | | | | | This makes it a bit more obvious in genirq diagnostics that they aren't handled by the i.MX interrupt controller. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31ads: Allow enable/disable of switchable suppliesMark Brown2010-01-05
| | | | | | | | They will be automatically powered off at startup so users will need to enable them for use. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx/mx3: depend on USB_ULPI for otg_ulpi_createUwe Kleine-König2010-01-04
| | | | | | | | | | | | otg_ulpi_create is defined in drivers/usb/otg/ulpi.c which depends on CONFIG_USB_ULPI. So protect its usage by the same symbol. Moreover mxc_ulpi_access_ops needs CONFIG_MXC_ULPI. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Valentin Longchamp <valentin.longchamp@epfl.ch> Cc: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: make CPU revision number detection work on all boardsWolfgang Denk2010-01-04
| | | | | | | | | | | | | | | Commit 52939c03 (ARM: MX3: fix CPU revision number detection) started using the CPU's SREV register for revision number detection. This makes it mandatory to have a valid SPBA0 mapping. Add this to the global map_io code instead of adding multiple copies for each board. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Daniel Mack <daniel@caiaq.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Tested on Qong (EVB-Lite) Tested-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31moboard: fix usbh device namesValentin Longchamp2010-01-04
| | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx3: add support for the mt9v022 camera sensor to pcm037 platformGuennadi Liakhovetski2010-01-04
| | | | | Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31moboard: fix typoRobert Schwebel2009-12-04
| | | | | | | | | | | | Currently, linux-next breaks due to a typo introduced in commit 33c4d91928bea4444b067e620496befbeb87029c This patch fixes it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Cc: Valentin Longchamp <valentin.longchamp@epfl.ch> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx35: add usb gadget support in mx35pdk.cHarro Haan2009-11-30
| | | | | Signed-off-by: Harro Haan <hrhaan@yahoo.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx35: register usb_ahb clock in clock-imx35.cHarro Haan2009-11-30
| | | | | Signed-off-by: Harro Haan <hrhaan@yahoo.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>
* IMX: don't disable the uart clock if DEBUG_LL uses itUwe Kleine-König2009-11-27
| | | | | | | | | | Before the clock was left enabled only for DEBUG_LL_CONSOLE which requires an additional patch to exist at all. With this patch applied DEBUG_LL_CONSOLE depends on DEBUG_LL, so this doesn't break. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX31 clock: rename SSI clocks to driver nameSascha Hauer2009-11-24
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31moboard: support for usbh1 and usbh2Valentin Longchamp2009-11-24
| | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31moboard: SPI correctionsValentin Longchamp2009-11-24
| | | | | | | | Adds requirement for ADC on mc13783 and moves the spidev declaration to marxbot file. 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: lilly1131: move MC13783 device registrationDaniel Mack2009-11-23
| | | | | | | Register the MC13783 device in the module code. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: add NOR flash support via physmap mtd driverDaniel Mack2009-11-19
| | | | | Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: add support for GPIO LEDs on litekit dbDaniel Mack2009-11-19
| | | | | | | The names are chosen to match the silkscreen. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: add USB functions for mx31litekitDaniel Mack2009-11-19
| | | | | Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: add SPI devices for mx31liteDaniel Mack2009-11-19
| | | | | | | | Some header files were reordered while I was at it. The only device currently registered is the ATLAS PMIC (MC13783) chip. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: add MMC/SDHC support to mx31lite-db.cDaniel Mack2009-11-19
| | | | | 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>
* i.MX35: Fix audmux clockSascha Hauer2009-11-14
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC: Add a digital audio multiplexer driverSascha Hauer2009-11-14
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX3: Add sound (ssi) resourcesSascha Hauer2009-11-14
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm043: Add NAND supportSascha Hauer2009-11-14
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC NFC: Fix NFCs address area on i.MX35Juergen Beisert2009-11-14
| | | | | | | The address area of the NFC in the i.MX35 silicon is much larger than 4k. Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC NFC: Add the clock resource to support NFC in i.MX35Juergen Beisert2009-11-14
| | | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31moboard: camera supportValentin Longchamp2009-11-14
| | | | | | | | | We have two mt9t031 cameras that have a muxed bus on the robot. Only one is currently initialized because of limitations in soc_camera that should be removed later. Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31moboard: initialize ipu device for all the boardsValentin Longchamp2009-11-14
| | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31moboard: SPI and MC13783 voltage regulator supportValentin Longchamp2009-11-14
| | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31moboard: support for pin linked for battery presence checkValentin Longchamp2009-11-14
| | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31moboard: serial port fixValentin Longchamp2009-11-14
| | | | | | | | | | | | | | We get rid of CTS/RTS lines on uart0 on our platform. This is the port we use as main kernel console. We do not want it to be blocking because of CTS/RTS signals, not allowing the system to boot or print messages. However we often use it with a bluetooth module needing CTS/RTS lines as backup login in case of trouble. To be able to use it, we assert CTS low so that the module can always send chars. Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Armadillo500 Add support for Seiko Instruments S-35390A rtc over i2c.Alberto Panizzo2009-11-14
| | | | | | | | The RTC chip Seiko Instruments S-35390A is connected to the Application Processor over the second bus i2c with the hard coded address 0x30. Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Armadillo500 Add i2c second bus support.Alberto Panizzo2009-11-14
| | | | | | | | This add pin allocation an device registration for the second bus i2c. Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Armadillo500 Correct bus length for SMSC9118 on board chip.Alberto Panizzo2009-11-14
| | | | | | | | | | Armadillo500 Correct bus length for SMSC9118 on board chip. The SMSC9118 network chip is connected to the data bus with a 16 bit interface, not 32 as early suggested. Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Armadillo500 Add support for onboard GPIO Buttons.Alberto Panizzo2009-11-14
| | | | | | | | There are two low active Buttons on boards. This patch connect those to the Input Subsystem over gpio-keys driver. Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: Add pad config for MMC pins on lilly-dbDaniel Mack2009-11-14
| | | | | Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: add support for mc13783 on lilly-dbDaniel Mack2009-11-14
| | | | | | | | | | The chip is actually located on the module, not on the base board. But other base boards might add more SPI devices, so the spi_board_info struct must be separated from the module code. Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: add SPI functions for lilly1131-dbDaniel Mack2009-11-14
| | | | | | | | This adds support for the two SPI busses found on the lilly1131 module. Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MX3: remove I2C defintions from mx31lilly.cDaniel Mack2009-11-14
| | | | | | | | The module does not use these pins for I2C but for SPI. Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC: fix reset for mx31, mx35 and mx27 SoCsValentin Longchamp2009-10-13
| | | | | | | | The clock name for the watchdog devices was not set consistently with mx21 on these platforms, resulting in the reset not to work. Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fix pcm037_eet compilation with the new SPI driverGuennadi Liakhovetski2009-10-13
| | | | | | | | | Fix pcm037_eet compilation with the new imx SPI driver by unifying platform device names. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fix compilation of i.MX31 platformsGuennadi Liakhovetski2009-10-13
| | | | | | | | | mxc_iomux_v3_init() is defined in arch/arm/plat-mxc/iomux-v3.c, which is not linked for i.MX31 and produces an undefined reference error. Fix this by building the offending code only for i.MX35. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'master' into develRussell King2009-09-12
|\
| * mx31moboard: invert sdhc ro signal senseValentin Longchamp2009-08-14
| | | | | | | | | | | | | | | | | | | | | | Small confusion with our hardware engineer, the WP signal (RO) is active low on our boards, the signal has to inverted. This is a pretty straightforward patch, it could even go to -rc, but if not, then push it for 2.6.32. Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mx3: Fix double pin allocation in pcm037_eet.cGuennadi Liakhovetski2009-07-31
| | | | | | | | | | | | | | SPI pins are now allocated in pcm037.c, remove them from EET. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mx31moboard: two GPIOS are used to reset other microcontrolers on the robotValentin Longchamp2009-08-14
| | | | | | | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mx31moboard: initialize 4 input gpios for mx31moboardValentin Longchamp2009-08-14
| | | | | | | | | | | | | | | | These gpios are exported to userspace and are here to be used as a selector Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>