summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx1
Commit message (Collapse)AuthorAgeFilesLines
* ARM: imx: move mx1 support to mach-imxUwe Kleine-König2010-06-3011-1330/+0
| | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: imx1: rename imx_uart[12]_device to follow a common naming schemeUwe Kleine-König2010-06-244-57/+34
| | | | | | | Note that these devices are specific for imx1 as only here three irqs are used. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: imx1: rename imx_i2c_device to follow a common naming schemeUwe Kleine-König2010-06-243-3/+3
| | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: imx1: rename imx_csi_device to match its .nameUwe Kleine-König2010-06-242-7/+7
| | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: imx: get rid of mxc_gpio_initUwe Kleine-König2010-06-242-1/+4
| | | | | | | This function is defined once for each imx family and so is in the way when compiling a kernel for more than one SoC. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: imx/mx1: fold crm_regs.h into its only consumerUwe Kleine-König2010-06-242-62/+40
| | | | | | | As crm_regs.h is GPL-v2 only don't allow "(at your option) any later version" for clock.c any more. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: mx1/scb9328: fix type of uart1_mxc_exit to make compiler happyUwe Kleine-König2010-06-241-2/+1
| | | | | | | | This fixes: arch/arm/mach-mx1/mach-scb9328.c:120: warning: initialization from incompatible pointer type Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ARM: mx1: don't use deprecated symbol namesUwe Kleine-König2010-06-247-81/+81
| | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* Merge branch 'origin' into devel-stableRussell King2010-03-081-3/+1
|\ | | | | | | | | | | | | Conflicts: arch/arm/mach-mx2/devices.c arch/arm/mach-mx2/devices.h sound/soc/pxa/pxa-ssp.c
| * ARM: Consolidate clks_register() and similarRussell King2010-02-121-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Most machine classes want some way to register a block of clk_lookup structures, and most do it by implementing a clks_register() type function which walks an array, or by open-coding a loop. Consolidate all this into clkdev_add_table(). Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Kevin Hilman <khilman@deeprootsystems.com> Acked-by: Eric Miao <eric.y.miao@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | arm/imx: let platform files include the SoC-specific iomux headerUwe Kleine-König2010-02-242-2/+2
| | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx: define per SOC ..._PHYS_OFFSET and use these in favour of PHYS_OFFSETUwe Kleine-König2010-02-021-2/+2
| | | | | | | | | | | | | | This is a further step in allowing to build a kernel image for more than one imx SOC. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | mx1: prefix SOC specific defines with MX1_ and deprecate old namesUwe Kleine-König2010-01-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old names are defined only if the cpp symbol IMX_NEEDS_DEPRECATED_SYMBOLS exists, which is defined (for now) for all files below arch/arm/mach-mx1. This was done earlier for mx2 and mx3, too. USBD_INT0 is for now defined unconditionally to prevent breaking drivers/usb/gadget/imx_udc. While at it use IMX_IO_ADDRESS to define MX1_IO_ADDRESS which adds a cast to the IO_ADDRESS macro fixing many warnings like arch/arm/mach-mx1/generic.c:51: warning: passing argument 1 of 'mxc_init_irq' makes pointer from integer without a cast . Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | imx/mx1: rename files defining a machine to mach-$mach.cUwe Kleine-König2010-01-053-4/+4
| | | | | | | | | | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Russell King <linux@arm.linux.org.uk> Cc: Paulius Zaleckas <paulius.zaleckas@teltonika.lt> Cc: Darius Augulis <augulis.darius@gmail.com> Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
* | imx/mx1: add newline at end of MakefileUwe Kleine-König2010-01-051-1/+1
|/ | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Russell King <linux@arm.linux.org.uk> Cc: Paulius Zaleckas <paulius.zaleckas@teltonika.lt> Cc: Darius Augulis <augulis.darius@gmail.com> Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
* ARM: mxc: Fix i2c_board_info definitionsSascha Hauer2009-08-141-4/+2
| | | | | | | | | 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>
* [ARM] MXC: Switch MX1 to clkdev supportSascha Hauer2009-08-071-56/+28
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx1: Codingstyle: Let the compiler count arraysSascha Hauer2009-08-072-62/+39
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mxc: turn to soc specific init_irq functionsSascha Hauer2009-08-073-3/+9
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* system.c: runtime base addressSascha Hauer2009-08-071-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC: pass base/irq to mxc_timer_initSascha Hauer2009-08-071-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx1ads: rename mxc_map_io to mx1_map_ioSascha Hauer2009-05-071-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx1: add missing includeSascha Hauer2009-05-071-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx1ads: setup iomux pins at onceSascha Hauer2009-05-071-55/+18
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx1ads: remove ifdefs, reorder include alphabeticallySascha Hauer2009-05-071-8/+7
| | | | | | header is part of the kernel now. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MXC: rename mxc_map_io to architecture specific versionsSascha Hauer2009-05-073-3/+5
| | | | | | | | 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>
* MX1ADS: remove I2C ifdefsDarius Augulis2009-04-161-6/+0
| | | | Signed-off-by: Darius Augulis <augulis.darius@gmail.com>
* V4L/DVB (11350): Add camera (CSI) driver for MX1Paulius Zaleckas2009-04-064-1/+57
| | | | | | | | | | | | | | | Add support for CMOS Sensor Interface on i.MX1 and i.MXL SoCs. create mode 100644 arch/arm/mach-mx1/ksym_mx1.c create mode 100644 arch/arm/mach-mx1/mx1_camera_fiq.S create mode 100644 arch/arm/plat-mxc/include/mach/mx1_camera.h create mode 100644 drivers/media/video/mx1_camera.c Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt> Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* Merge branch 'master' of git://git.marvell.com/orion into develRussell King2009-03-191-0/+1
|\ | | | | | | | | | | Conflicts: arch/arm/mach-mx1/devices.c
| * MX1 fix includeDarius Augulis2009-03-062-0/+3
| | | | | | | | | | | | | | Includes missed irqs.h in devices.c and mx1ads.c. Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm/imx: Kconfig beautificationHolger Schurig2009-03-131-1/+2
| | | | | | | | | | Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | [ARM] mxc: add missing includeSascha Hauer2009-03-131-0/+2
| | | | | | | | | | | | | | include devices.h from devices.c to avoid inconsistencies and to fix sparse warnings Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | [ARM] Add Synertronixx scb9328 board supportSascha Hauer2009-03-133-0/+165
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | [ARM] mx1ads: add I2C supportSascha Hauer2009-03-131-0/+63
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | [ARM] MXC: remove _clk suffix from clock namesSascha Hauer2009-03-131-2/+2
| | | | | | | | | | | | | | | | | | The context makes it clear already that these are clocks, so there's no need for such a suffix. This patch only changes the clocks actually used in the tree. The remaining clocks are renamed in the subsequent architecture specific patches. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | [ARM] MXC: rework timer/clock initialisationSascha Hauer2009-03-132-3/+5
| | | | | | | | | | | | | | | | | | - 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] MXC: Use a single function for decoding a PLLSascha Hauer2009-03-131-29/+2
| | | | | | | | | | | | | | | | | | | | | | | | We had 3 versions of this function in clock support for MX1/2/3 Use a single one instead. I picked the one from the MX3 as it seems to calculate more accurate as the other ones. Also, on MX27 and MX31 mfn can be negative, this hasn't been handled correctly on MX27 since now. This patch has been tested on MX27 and MX31 and produces the same clock frequencies for me. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm/imx2x: new IOMUX definitionsHolger Schurig2009-03-132-1/+2
|/ | | | | | | | | | | | | | * removed iomux-mx1-mx2.h completely * distributes the former contents to four different files (iomux-mx1.h, iomux-mx21.h, iomux-mx27.h and the file iomux-mx2x.h, which is common to both i.MX21 and i.MX27). * adds all documented IOMUX definitions for i.MX21 and i.MX27 * fixes a few that were wrong (PD14_AOUT_FEC_CLR, PE16_AF_RTCK). * don't silenly include <linux/io.h> * and fixes all collateral damage from above Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] MXC: remove dependency to other include files from irqs.hSascha Hauer2008-12-181-4/+4
| | | | | | | This patch removes the inclusion of mach/hardware.h from mach/irqs.h and switches to more meaningful names for the irq related macros. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* patch-mx1-add-devicesDarius Augulis2008-12-162-0/+147
| | | | | | | Adds common devices to ARCH_MX1. Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* patch-mxc-add-ARCH_MX1Paulius Zaleckas2008-12-169-0/+1050
Adds MX1 architecture to platform MXC. It will supersede mach-imx and let it die. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt> Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
OpenPOWER on IntegriCloud