summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/iomux-imx.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: MXS: Make gpio a driverSascha Hauer2015-01-281-60/+0
| | | | | | This turns the MXS gpio support into a driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mxs: iomux-imx23/imx28: add additional checks on modeUwe Kleine-König2014-11-031-4/+19
| | | | | | | | | | | | | This catches wrong modes: - request to enable the pull up on a pin that doesn't have one. - ditto for bit keepers, drive strength and voltage Additionally only write values for a given pin if the mode has the corresponding value set. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mxs: Fix signed/unsigned arguments for printfAlexander Shiyan2013-11-111-1/+1
| | | | | | | | "%d" in format string requires a signed integer. "%u" in format string requires a unsigned integer. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MXS: move iomux definitions to iomux.hSascha Hauer2013-08-161-0/+1
| | | | | | | mach/gpio.h is for the gpio API, so move unrelated stuff away. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MXS: introduce stmp device supportSascha Hauer2013-07-231-11/+16
| | | | | | | | | | | | MXS specific devices have some common infrastructure in the kernel known as STMP devices. We have the same in barebox, but with a mxs_ prefix instead of a stmp_ prefix. As some STMP devices are also found on i.MX6 move the common infrastructure out of MXS specific files and use the stmp_ prefix. This is done in preparation for i.MX6 NAND support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* 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/MXS: the GPIO bitkeeper enable logic is inverse to the pullup enable logicJuergen Beisert2012-07-161-1/+1
| | | | | | | | | While a set bit enables the pullup (if exists) it disables the bitkeeper (if exists). Both features are using the same register bit and only one of this feature is present on a per pin base. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mxs: Fix support for BITKEEPER() macroEsben Haabendal2012-04-021-0/+6
| | | | | | | | There was no check for BE, so any BITKEEPER(1) iomux configurations were not being applied. Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk> 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: rename STM arch to mxsSascha Hauer2011-01-201-0/+201
We never supported the sigmatel stm chips and probably never will. So do the first step and rename the architecture to mxs just like in the kernel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>