summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/imx27.c
Commit message (Collapse)AuthorAgeFilesLines
* pinctrl: i.MX iomux-v1: Make base address initialization unnecessarySascha Hauer2019-08-141-2/+0
| | | | | | | | | | | | So far we have imx_gpio_mode() to configure a pinmux entry for the older i.MX pinmuxes. For this to work imx_iomuxv1_init() must be called beforehand to configure the base address. Simplify this by introducing SoC specific variants of imx_gpio_mode() which also pass the base address. This makes initialization of the base address unnecessary and the functions usable for PBL. Consequently also compile the code for PBL. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARN: Remove duplicate includesAlexander Shiyan2019-01-181-1/+0
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX53: do not pass base address to imx*_boot_save_locSascha Hauer2016-09-221-1/+1
| | | | | | | The functions can determine the necessary base addresses themselves since they are SoC specific anyway. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sizes.h: move include/sizes.h to include/linux/sizes.hMasahiro Yamada2015-01-081-1/+1
| | | | | | | | | | | | | | This file originates in Linux. Linux has it under include/linux/ directory since commit dccd2304cc90. Let's move it to the same place as well in barebox. This commit was generated by the following commands: find -name '*.[chS]' | xargs sed -i -e 's:<sizes.h>:<linux/sizes.h>:' git mv include/sizes.h include/linux/ Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: move esdctl device registration to soc_initSascha Hauer2013-08-201-2/+2
| | | | | | | | | 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-2/+7
| | | | | | | 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 bootsource: rename imx_27_boot_save_loc -> imx27_boot_save_locMarc Kleine-Budde2013-03-261-1/+1
| | | | | | | | This patch renames imx_27_boot_save_loc() to imx27_boot_save_loc(), so that all imx*_boot_save_loc() functions follow the same nameing sheme. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX27: Use DEVICE_ID_SINGLE for IIM, CCM and ESDCTLAlexander Shiyan2013-02-251-4/+6
| | | | | | | | Only one of IIM, CCM or ESDCTL device is allowed, so use DEVICE_ID_SINGLE for these devices. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX27: Add USB device functionsSascha Hauer2012-12-131-0/+1
| | | | | | | Register the USB misc devices and provide convenience wrappers to register the USB ports for i.MX27. 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>
* Merge branch 'for-next/imx-work' into for-next/imxSascha Hauer2012-10-171-3/+33
|\ | | | | | | | | | | | | Conflicts: arch/arm/mach-imx/imx1.c Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX: Print silicon revision in common placeSascha Hauer2012-10-151-1/+1
| | | | | | | | | | | | | | | | | | Rather than doing this in the SoC specific code just print it in imx_set_silicon_revision. This saves some lines of code and also results in i.MX27 now also having the silicon revision printed during startup. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX: rework bootsource settingSascha Hauer2012-10-151-0/+2
| | | | | | | | | | | | | | | | | | | | This moves the known i.MX bootsource settings to a single file so that the code can be shared. Also we add a enum for the different boot sources so that it can be used in C Code and not only on the shell. The pcm038 board is changed to use it instead of digging in the registers manually. 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: streamline imx_silicon_revisionSascha Hauer2012-10-051-6/+18
| | | | | | | | | | | | | | | | All i.MX SoCs now use the same imx_silicon_revision() function to get the revision. Add a separate header file for it and a common function used on all SoCs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX27: Use standard IMX_CHIP_REV_* definesSascha Hauer2012-10-051-1/+14
| | | | | | | | | | | | | | We have IMX_CHIP_REV_* defines which are used for most i.MX SoCs. Use them for i.MX27 aswell. 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.MX27: implement clk supportSascha Hauer2012-10-041-1/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: Add header file for WEIM cs setupSascha Hauer2012-10-041-0/+9
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX27: give register base addresses a proper MX27_ prefixSascha Hauer2012-10-041-9/+9
| | | | 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/+2
| | | | | | | | | | | | | | 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-8/+7
|/ | | | | | 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-13/+6
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
* ARM i.MX27: initialize MAXSascha Hauer2011-12-081-0/+43
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX27: Add IIM supportSascha Hauer2011-07-291-0/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* complete i.MX GPIO supportSascha Hauer2009-12-101-1/+14
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/machJean-Christophe PLAGNIOL-VILLARD2009-10-221-1/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* [i.MX] add function to determine chip revisionSascha Hauer2008-02-191-0/+25