summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/imx35.c
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* imx35: register usb-misc by defaultFlorian Vallee2015-12-021-0/+1
| | | | | | Signed-off-by: Florian Vallee <fvallee@eukrea.fr> Signed-off-by: Eric BĂ©nard <eric@eukrea.com> 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-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-8/+6
| | | | | | | 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: add separate function for mx25 and mx35Marc Kleine-Budde2013-03-261-5/+1
| | | | | | | | This patch creates a seperate function for mx25 and mx35 to save it's bootsource. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX35: Fix device names for gpioSascha Hauer2013-02-151-3/+3
| | | | | | | The i.MX35 has a imx31 gpio type. Change the name accordingly, otherwise the gpio driver does not probe successfully. 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: 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>
* ARM i.MX35: Cleanup remaining unprefixed registersSascha Hauer2012-10-171-3/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx-work' into for-next/imxSascha Hauer2012-10-171-2/+12
|\ | | | | | | | | | | | | 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/+6
| | | | | | | | | | | | | | | | | | | | 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: Turn iomux-v3 into driverSascha Hauer2012-10-051-0/+1
| | | | | | | | | | | | | | To get proper resources allocated for it and to get rid of IMX_IOMUXC_BASE usage. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX: streamline imx_silicon_revisionSascha Hauer2012-10-051-2/+5
| | | | | | | | | | | | | | | | 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.MX: Add watchdog devices to SoCsSascha Hauer2012-10-051-0/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX35: Switch to common clkSascha Hauer2012-10-041-1/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX35: Add function to setup chipselectSascha Hauer2012-10-041-0/+9
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX35: give register base addresses a proper MX35_ prefixSascha Hauer2012-10-041-7/+7
| | | | 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-3/+3
|/ | | | | | 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-10/+4
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
* Merge silicon definitions i.MX35, i.MX51 and i.MX53Alexander Shiyan2012-04-191-1/+2
| | | | | | | | | Also definition can be modified in arch/arm/boards/pcm043/lowlevel.c, but I am not sure is we can call imx_silicon_revision() from board_init_lowlevel(). Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce io.hSascha Hauer2011-09-221-1/+1
| | | | | | | To allow for some generic io accessors introduce io.h and use this instead of asm/io.h throughout the tree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX35: Add IIM supportSascha Hauer2011-07-291-0/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX35: Fix bogus L2 cache settingsSascha Hauer2011-07-251-0/+19
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx: move IIM registers to their own headerBaruch Siach2010-08-171-0/+1
| | | | | | | This allows the use of IIM registers from code which is not mx35 specific. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx35: add detection of silicon revisionMarc Reilly2010-05-171-0/+11
| | | | | | | Implemented imx_silicon_revision() for imx35. Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* complete i.MX GPIO supportSascha Hauer2009-12-101-0/+29
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>