aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3
Commit message (Collapse)AuthorAge
* 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>
* | mx31moboard: support for the 4 leds used on mx31moboardValentin Longchamp2009-08-14
| | | | | | | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pcm037: mux configuration for predefined gpio lineLuotao Fu2009-08-14
| | | | | | | | Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
* | pcm043: mux configuration for predefined gpio lineLuotao Fu2009-08-14
| | | | | | | | Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
* | MX31 Fix spi clock namesSascha Hauer2009-08-14
| | | | | | | | | | | | Fix the SPI clock names to match the device names. 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>
* | i.MX35 clock support: Add USB clocksSascha Hauer2009-08-14
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | MX31: add spi controller devices/resourcesSascha Hauer2009-08-14
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mx31moboard: move usb otg support back to moboard common fileValentin Longchamp2009-08-14
| | | | | | | | | | | | | | since all boards finally have this device Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mx31moboard: added usb xcvr reset for mx31moboardValentin Longchamp2009-08-14
| | | | | | | | | | Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | fix mx35 wrong clockSascha 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>
* | ARM: MX3: add ckil clockDaniel Mack2009-08-14
| | | | | | | | | | | | | | | | The CKIL clock source is used by the upcoming RTC driver, so we need to export it. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>