aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ARM i.MX51 boards: Do not use PHYS_OFFSETSascha Hauer2010-11-243-3/+3
| | | | | | | PHYS_OFFSET may become a variable once the runtime PHYS_OFFSET patch is merged, so use MX51_PHYS_OFFSET for boot_params. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx51_3ds: Add esdhc supportFabio Estevam2010-11-242-0/+2
| | | | | | | | Add support for esdhc on mx51_3ds board. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx: fix iomux v3Arnaud Patard (Rtp)2010-11-241-1/+1
| | | | | | | | | | Commit "ARM: i.MX IOMUX-V3 replace struct pad_desc with bitmapped cookie" (b705cb4d42e95a4a43a8945571c8613e71526c3d) introduced a typo which was preventing my efikamx to boot. This patch is fixing that. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Tested-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efikamx: add resetArnaud Patard (Rtp)2010-11-243-1/+33
| | | | | | | | The efikamx board is using a gpio to reset the board so add support for it Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efikamx: add spi nor supportArnaud Patard (Rtp)2010-11-242-0/+59
| | | | | | | On efikamx, uboot is stored on a nor spi flash. Add support for it Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx51: fix gpio_4_24 and gpio_4_25 pad configurationArnaud Patard (Rtp)2010-11-241-2/+2
| | | | | | | s/NO_PAD_CTRL/MX51_GPIO_PAD_CTRL/ Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efikamx: add support for power keyArnaud Patard (Rtp)2010-11-241-0/+24
| | | | | | | | This patch adds support for power key button of the efika mx. It's connected on GPIO 2 31. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efikamx: add leds supportArnaud Patard (Rtp)2010-11-241-1/+46
| | | | | | | | | The efika mx a 3 leds (1 blue, 1 red, 1 green) connected on GPIOS 3 13/14/15. Also, some special care is done for default trigger of blue led for mmc as the mmc host used is different between hw revisions Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx51: add gpio mode for csi1 {h,v}syncArnaud Patard (Rtp)2010-11-241-0/+2
| | | | | | | Add definitions for configuring CSI1_{H,V}SYNC as GPIO Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efikamx: add mmc supportArnaud Patard (Rtp)2010-11-242-0/+28
| | | | | | | | The efika mx is using a esdhc host for mmc support. Now that the sdhci has support for it, enable it. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx51: enhance iomux configuration for esdhc supportArnaud Patard (Rtp)2010-11-241-0/+6
| | | | | | | - add definition to configure pads as ESDHC{1,2} WP and CD Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx51: fix iomux configurationArnaud Patard (Rtp)2010-11-241-8/+8
| | | | | | | | - ALT0 is used to set GPIO mode of GPIO_1_{2,3,4,5,6,7,8,9} but it's ALT1 for GPIO_1_{0,1}. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efikamx: read board idArnaud Patard (Rtp)2010-11-241-0/+65
| | | | | | | read board id value from the GPIO3_16/17/11 Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx31_3ds: Add touchscreen supportFabio Estevam2010-11-241-1/+1
| | | | | | | On the mx31_3ds board the touchscreen feature is provided by MC13783 PMIC. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX IOMUX-V3 replace struct pad_desc with bitmapped cookieLothar Waßmann2010-11-2416-40/+70
| | | | | | | | | | | | | | The following patch is a first step to convert the 'struct pad_desc' to a bitmapped cookie to facilitate adding platform specific pullup or drive strength definitions to existing pad definitions without need to rewrite the complete pad def. The patch wraps 'struct pad_desc' in an opaque data type and introduces macros to access the individual members. This patch does not constitute any functional change! Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'imx-for-2.6.38' of git://git.pengutronix.de/git/ukl/linux-2.6 ↵Sascha Hauer2010-11-24112-2651/+2101
|\ | | | | | | into imx-for-2.6.38
| * ARM: imx: fix name for functions adding sdhci-esdhc-imx devicesUwe Kleine-König2010-11-1919-118/+124
| | | | | | | | | | | | and restore alphabetic ordering. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx3/mx35_3ds: Add watchdog supportUwe Kleine-König2010-11-192-0/+2
| | | | | | | | | | | | | | | | This bases on a patch by Fabio Estevam who added the device before it was allocated dynamically. Cc: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx3: dynamically allocate imx-keypad devicesUwe Kleine-König2010-11-197-23/+21
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx3: dynamically allocate imx2-wdt devicesUwe Kleine-König2010-11-1910-42/+26
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx3: dynamically allocate mxc-ehci devicesUwe Kleine-König2010-11-1917-135/+92
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx3: dynamically allocate fsl-usb2-udc devicesUwe Kleine-König2010-11-1916-68/+78
| | | | | | | | | | | | | | | | | | While adapting the #defines for this I noticed that the offset used for USB HS on i.MX35 differs from the documented offset. I kept the working offset and commented that the documentation differs. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx3: dynamically allocate mxc_rnga devicesUwe Kleine-König2010-11-196-20/+62
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx3: dynamically register mxc-mmc devicesUwe Kleine-König2010-11-1914-73/+48
| | | | | | | | | | | | | | Compared to the static devices the dynamic have a DMA resource. This should be save as it seems unused in the driver. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx3: introduce SOC_IMX31 and SOC_IMX35Uwe Kleine-König2010-11-1915-58/+70
| | | | | | | | | | | | | | Additionally convert some known to be good usages to the new names. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx3: use an MX35 constant in imx35 only codeUwe Kleine-König2010-11-191-1/+1
| | | | | | | | | | | | ... instead of MX3x Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx3: move registration of gpios to plat-mxc/gpio.cUwe Kleine-König2010-11-193-39/+34
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: imx: use SOC_IMX25 instead of ARCH_MX25 for multi-SoCUwe Kleine-König2010-11-1919-39/+39
| | | | | | | | | | | | | | | | Some usages of ARCH_MX25 are assuming that if it is defined the other SoCs are undefined. Use SOC_IMX25 for the save places. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: imx: let the machines select SOC_IMX{21,27}Uwe Kleine-König2010-11-191-2/+9
| | | | | | | | | | | | This prepares multi-SoC kernel support. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: imx: let IMX_HAVE_PLATFORM_IMX_FB select HAVE_FB_IMXUwe Kleine-König2010-11-192-2/+2
| | | | | | | | | | | | | | | | This way FB_IMX can just depend on HAVE_FB_IMX and machines just need to select IMX_HAVE_PLATFORM_IMX_FB without bothering about HAVE_FB_IMX. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: imx: move mx25 support to mach-imxUwe Kleine-König2010-11-1914-74/+81
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx25: remove now empty devices.hUwe Kleine-König2010-11-194-3/+0
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx25: dynamically allocate mx2-camera devicesUwe Kleine-König2010-11-195-53/+22
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx25: dynamically allocate imx2-wdt devicesUwe Kleine-König2010-11-197-21/+17
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx25: dynamically allocatate imx-fb devicesUwe Kleine-König2010-11-178-34/+21
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx25: dynamically allocate imxdi_rtc devicesUwe Kleine-König2010-11-1710-22/+60
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx25: dynamically allocate imx-keypad devicesUwe Kleine-König2010-11-177-48/+19
| | | | | | | | | | | | | | | | | | The mxc-keypad device seems to be the result of an early and partial merge of the keypad driver. It's unused and there is no corresponding driver available, so just remove it. Cc: Alberto Panizzo <maramaopercheseimorto@gmail.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx25: move registration of gpios to plat-mxc/gpio.cUwe Kleine-König2010-11-176-52/+55
| | | | | | | | | | | | | | | | To use common macros to define the gpio ports for imx{1,21,25,27} the existing ones had to made more general and a few more base address defines were necessary. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx25: dynamically allocate mxc_pwm devicesUwe Kleine-König2010-11-175-87/+32
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx25: dynamically allocate fsl-usb2-udc devicesUwe Kleine-König2010-11-176-30/+12
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx25: dynamically allocate mxc-ehci devicesUwe Kleine-König2010-11-179-53/+34
| | | | | | | | | | | | | | | | According to the reference manual of the i.MX25 the host controller uses an offset of 0x200 not 0x400 as was specified in the resources for mxc_usbh2. Needs-Testing: yes Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: imx: move registration of gpios to plat-mxc/gpio.cUwe Kleine-König2010-11-173-126/+59
| | | | | | | | | | | | This finally gets rid of mach-imx/devices.c. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: imx: remove now empty devices.hUwe Kleine-König2010-11-1715-15/+0
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: imx: dynamically allocate imx21-hcd devicesUwe Kleine-König2010-11-177-29/+58
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: imx: dynamically allocate imx-keypad devicesUwe Kleine-König2010-11-1711-26/+74
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: imx: dynamically allocate fsl-usb2-udc devicesUwe Kleine-König2010-11-1710-35/+64
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: imx: dynamically allocate mxc-ehci devicesUwe Kleine-König2010-11-1713-93/+95
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: imx: dynamically register mxc-mmc devicesUwe Kleine-König2010-11-1719-72/+116
| | | | | | | | | | | | ... plus a trivial simplification of mx21ads_sdhc_init() Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: mx3/mach-pcm037_eet: Fix section mismatch for eet_init_devices()Alberto Panizzo2010-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function should be marked as __init because it is used only in the init phase. This fix the compiler warning: LD arch/arm/mach-mx3/built-in.o WARNING: arch/arm/mach-mx3/built-in.o(.text+0x1328): Section mismatch in reference from the function eet_init_devices() to the (unknown reference) .init.rodata:(unknown) The function eet_init_devices() references the (unknown reference) __initconst (unknown). This is often because eet_init_devices lacks a __initconst annotation or the annotation of (unknown) is wrong. Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM: imx: dynamically allocate mxc_pwm devicesUwe Kleine-König2010-11-176-20/+56
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>