summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/devices
Commit message (Collapse)AuthorAgeFilesLines
* ARM: mx5: dynamically allocate imx-keypad devicesFabio Estevam2011-01-121-0/+5
| | | | | | | | | | | | | | | Add support for dynamical allocation of imx-keypad on mx5 platform. After moving to dynamically registration of the keypad, the keypad clock name needs to change accordingly. The reason is that the original mx5 keypad platform_device id was 0, now we use id=-1 as per arch/arm/plat-mxc/devices/platform-imx-keypad.c. Tested keypad successfully on a MX51_3DS board. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mx5: dynamically allocate pwm devicesFabio Estevam2011-01-121-0/+9
| | | | | Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX53 enable spi on EVK boardYong Shen2011-01-111-0/+12
| | | | | | | | | 1. some macro definitions fix 2. add platform data for spi device 3. register spi clocks Signed-off-by: Yong Shen <yong.shen@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX53 enable sdhc support on EVK boardYong Shen2011-01-071-0/+12
| | | | | | | | 1. changes some register address to fit macro definition 2. add platform data and clock for sdhc Signed-off-by: Yong Shen <yong.shen@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX53 enable i2c on EVK boardYong Shen2011-01-071-0/+9
| | | | | | | add i2c platform data and clock Signed-off-by: Yong Shen <yong.shen@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX53: enable fec driver on EVK boardYong Shen2011-01-072-1/+6
| | | | | | | | 1. Adjust FEC base address name to fit macro definition 2. Add platform data and reset function for FEC Signed-off-by: Yong Shen <yong.shen@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX53: Make MX53 EVK bootableYong Shen2011-01-041-0/+10
| | | | | | | | | | 1. Add entries to Kconfig 2. Add machine definition 3. Add Uart platform data, pad setting and base address 4. Adjust GPIO irq number Signed-off-by: Yong Shen <yong.shen@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: mx50: add core functions support except clockRichard Zhao2011-01-031-0/+12
| | | | | | | | Add core definitions and memory map, gpio, irq, iomux, uart device support. Signed-off-by: Richard Zhao <richard.zhao@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx51: add SSI3Peter Horton2010-12-141-0/+1
| | | | | | | Add SSI3 to MX51 Signed-off-by: Peter Horton <phorton@bitbox.co.uk> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mx5: add support for the two watchdog modulesFabio Estevam2010-12-071-10/+17
| | | | | | | | | MX51 has two watchdog modules. Add support for both of them. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge commit 'v2.6.37-rc4' into imx-for-2.6.38Sascha Hauer2010-12-062-8/+1
|\ | | | | | | | | | | | | | | | | Done to resolve merge conflict: Conflicts: arch/arm/mach-mx25/devices-imx25.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX spi: fix compilation for i.MX21Sascha Hauer2010-11-151-0/+1
| | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * ARM i.MX: sdma is merged, so remove #ifdef SDMA_IS_MERGEDSascha Hauer2010-11-151-8/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: mx5: dynamically allocate imx2-wdt devicesFabio Estevam2010-12-031-0/+5
| | | | | | | | | | Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: mx5: introduce SOC_IMX51Fabio Estevam2010-12-039-17/+17
| | | | | | | | | | | | | | | | Introduce SOC_IMX51 to keep consistency with the other i.MX devices 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>
* | ARM i.MX SDMA: Add ROM script addresses to platform_dataSascha Hauer2010-12-031-8/+97
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: imx: fix name for functions adding sdhci-esdhc-imx devicesUwe Kleine-König2010-11-194-75/+78
| | | | | | | | | | | | and restore alphabetic ordering. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: mx3: dynamically allocate imx-keypad devicesUwe Kleine-König2010-11-191-0/+10
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: mx3: dynamically allocate imx2-wdt devicesUwe Kleine-König2010-11-191-0/+10
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: mx3: dynamically allocate mxc-ehci devicesUwe Kleine-König2010-11-191-0/+16
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: mx3: dynamically allocate fsl-usb2-udc devicesUwe Kleine-König2010-11-191-0/+10
| | | | | | | | | | | | | | | | | | 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-193-0/+61
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: mx3: dynamically register mxc-mmc devicesUwe Kleine-König2010-11-191-5/+15
| | | | | | | | | | | | | | 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-1911-34/+34
| | | | | | | | | | | | | | 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: imx: use SOC_IMX25 instead of ARCH_MX25 for multi-SoCUwe Kleine-König2010-11-1916-33/+33
| | | | | | | | | | | | | | | | 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 IMX_HAVE_PLATFORM_IMX_FB select HAVE_FB_IMXUwe Kleine-König2010-11-191-0/+1
| | | | | | | | | | | | | | | | 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: mx25: dynamically allocate mx2-camera devicesUwe Kleine-König2010-11-191-6/+17
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: mx25: dynamically allocate imx2-wdt devicesUwe Kleine-König2010-11-191-4/+10
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: mx25: dynamically allocatate imx-fb devicesUwe Kleine-König2010-11-171-4/+10
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: mx25: dynamically allocate imxdi_rtc devicesUwe Kleine-König2010-11-173-0/+45
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: mx25: dynamically allocate imx-keypad devicesUwe Kleine-König2010-11-171-4/+10
| | | | | | | | | | | | | | | | | | 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: dynamically allocate mxc_pwm devicesUwe Kleine-König2010-11-171-7/+22
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: mx25: dynamically allocate fsl-usb2-udc devicesUwe Kleine-König2010-11-171-0/+5
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: mx25: dynamically allocate mxc-ehci devicesUwe Kleine-König2010-11-171-0/+7
| | | | | | | | | | | | | | | | 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: dynamically allocate imx21-hcd devicesUwe Kleine-König2010-11-173-0/+45
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: imx: dynamically allocate imx-keypad devicesUwe Kleine-König2010-11-173-0/+50
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: imx: dynamically allocate fsl-usb2-udc devicesUwe Kleine-König2010-11-173-0/+45
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: imx: dynamically allocate mxc-ehci devicesUwe Kleine-König2010-11-173-0/+50
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: imx: dynamically register mxc-mmc devicesUwe Kleine-König2010-11-173-0/+66
| | | | | | | | | | | | ... plus a trivial simplification of mx21ads_sdhc_init() Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: imx: dynamically allocate mxc_pwm devicesUwe Kleine-König2010-11-173-0/+49
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: imx: dynamically register imx-fb devicesUwe Kleine-König2010-11-173-0/+50
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: imx: change the way flexcan devices are registeredUwe Kleine-König2010-11-171-10/+38
| | | | | | | | | | | | | | | | | | Group soc specific data in a global struct instead of repeating it for each call to imxXX_add_flexcanX. The structs holding the actual data are placed in .init.constdata and so don't do much harm. Compared to the previous approach this reduces code size to call imx_add_flexcan. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: imx: dynamically allocate imx2-wdt devicesUwe Kleine-König2010-11-173-0/+44
| | | | | | | | | | | | | | | | Currently there is no platform data used in the driver. In case this changes and for consistency NULL is passed unused to the soc specific functions. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: imx: dynamically allocate mx2-camera deviceUwe Kleine-König2010-11-173-0/+57
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: imx: dynamically allocate mx1-camera deviceUwe Kleine-König2010-11-173-0/+46
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: imx: dynamically allocate imx_udc deviceUwe Kleine-König2010-11-173-0/+79
| | | | | | | | | | | | This is only available for mx1 machines with no in-tree user. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | ARM: imx: dynamically allocate mxc_w1 devicesUwe Kleine-König2010-11-173-0/+54
|/ | | | | | | Currently there is no platform data used in the driver. In case this changes NULL is passed unused to the soc specific functions. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: imx: Add gpio-keys to plat-mxcDinh Nguyen2010-10-263-0/+32
| | | | | | | Add imx_add_gpio_keys function to add gpio-keys in plat-mxc Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx: only select HAVE_CAN_FLEXCAN if CAN is enabledUwe Kleine-König2010-10-221-1/+1
| | | | | | | | | | | | | | | | This fixes a warning warning: (IMX_HAVE_PLATFORM_FLEXCAN && ARCH_MXC) selects HAVE_CAN_FLEXCAN which has unmet direct dependencies (NET && CAN) (The warning in general exists since 246cf9c (kbuild: Warn on selecting symbols with unmet direct dependencies) which was reverted between 71ebc01 and b1f7d6e.) Reported-and-introduced-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx-esdhc: update devices registrationEric Bénard2010-10-191-8/+48
| | | | | | Tested on i.MX25 and i.MX35 and i.MX51 Signed-off-by: Eric Bénard <eric@eukrea.com>
OpenPOWER on IntegriCloud