summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/imx1.c
Commit message (Collapse)AuthorAgeFilesLines
* reset_source: rename set_reset_source to reset_source_setSascha Hauer2014-01-291-3/+3
| | | | | | | To get all reset source related functions into the same function namespace. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: move esdctl device registration to soc_initSascha Hauer2013-08-201-1/+1
| | | | | | | | | The esdctl devices are currently not in the devicetrees. this means they are not registered when booting from the devicetree. Move the device registration from soc_devices_init to soc_init which is called even with devicetree support so that we get esdctl devices. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: centralize i.MX startupSascha Hauer2013-06-241-3/+9
| | | | | | | Each i.MX SoC has its own SoC initcall. To ease multi SoC support move it to a single initcall. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: register esdctl controller deviceSascha Hauer2012-12-061-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: Add driver to get sdram base and sizeSascha Hauer2012-12-061-0/+2
| | | | | | | | | | The code initializing the SDRAM controller is not at the same place where SDRAM is registered with barebox. To reduce the risk of registering wrong SDRAM sizes this patch adds a driver for the ESDCTL which reads back the configured SDRAM size and registers the memory found with barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: get rid of imx-regs.hSascha Hauer2012-10-171-1/+1
| | | | | | | | | - remove now unused __REG definitions - include individual SoC register files instead of imx-regs.h - move IMX_GPIO_NR to generic.h - finally remove imx-regs.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx-work' into for-next/imxSascha Hauer2012-10-171-0/+2
|\ | | | | | | | | | | | | Conflicts: arch/arm/mach-imx/imx1.c Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX iomux-v1: Add separate header fileSascha Hauer2012-10-051-0/+3
| | | | | | | | | | | | | | | | | | | | - Add a separate header file for the iomux-v1 just like done for iomux-v3. - initialize iomux from SoC code so that we do not depend on IMX_GPIO_BASE anymore. - define registers as offset to the base rather than absolute addresses Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM i.MX: move reset source detection codeSascha Hauer2012-10-081-0/+27
| | | | | | | | | | | | | | | | | | - for i.MX1 the register is in the System Control unit, so move the code to arch/arm/mach-imx/imx1.c - for the other i.MX the register is in the watchdog unit, so move the code to drivers/watchdog/imxwd.c Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM i.MX: Add watchdog devices to SoCsSascha Hauer2012-10-051-0/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX1: Switch to common clk supportSascha Hauer2012-10-041-1/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX1: Add function to setup chipselectSascha Hauer2012-10-041-0/+8
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX1: give register base addresses a proper MX1_ prefixSascha Hauer2012-10-041-5/+6
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/remove-fsf-address'Sascha Hauer2012-10-031-4/+0
|\ | | | | | | | | | | Conflicts: drivers/net/miidev.c include/miidev.h
| * Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-171-4/+0
| | | | | | | | | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM i.MX: implement clocksource as driverSascha Hauer2012-09-171-0/+1
| | | | | | | | | | | | | | To get rid of the register definitions in the SoC header files. platform_device_id is used to distinguish between gpt types. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM i.MX: Use platform_device_id for gpio driverSascha Hauer2012-09-141-4/+4
|/ | | | | | So we get the type of the gpio controller from the device Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: switch to gpiolib supportSascha Hauer2012-09-041-11/+10
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
* complete i.MX GPIO supportSascha Hauer2009-12-101-0/+31
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>