Sascha Hauer
b1b76f6027
ARM i.MX: get rid of imx-regs.h
...
- 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>
2012-10-17 20:22:02 +02:00
Sascha Hauer
bad4d7cd75
ARM i.MX gpio: fix of gpio base
...
of_alias_get_id() returns the number of the gpio bank, so we have
to multiply with 32 to get the gpio base.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-10-07 18:46:42 +02:00
Jean-Christophe PLAGNIOL-VILLARD
3c5327e660
switch all platform_bus device/driver registering to platform_driver/device_register
...
now register_driver and register_device are for bus only usage.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2012-10-04 15:19:12 +02:00
Sascha Hauer
d1e65d2a7b
Merge branch 'for-next/remove-fsf-address'
...
Conflicts:
drivers/net/miidev.c
include/miidev.h
2012-10-03 21:12:48 +02:00
Jan Luebbe
bdc3be380f
gpio: reduce verbosity while probing
...
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-09-28 16:34:21 +02:00
Sascha Hauer
01bd66c9a2
ARM i.MX: add devicetree support for gpio driver
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-09-23 21:15:12 +02:00
Sascha Hauer
77322aa896
Treewide: remove address of the Free Software Foundation
...
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>
2012-09-17 10:57:41 +02:00
Sascha Hauer
fdf74cafd6
ARM i.MX: Use platform_device_id for gpio driver
...
So we get the type of the gpio controller from the device
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-09-14 13:35:49 +02:00
Sascha Hauer
b395e8bfb0
ARM i.MX: switch to gpiolib support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
2012-09-04 21:01:05 +02:00
Sascha Hauer
3ee7877a48
introduce io.h
...
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>
2011-09-22 19:03:05 +02:00
Sascha Hauer
9702299b42
imx gpio: sparse fixes
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-21 22:21:23 +02:00
Uwe Kleine-König
76da3708c8
imx/gpio: make gpio_get_value actually work
...
The value read at the pin is provided by Sample Status Register, not the
Data Register.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:01:28 +02:00
Sascha Hauer
f601b74d01
complete i.MX GPIO support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-10 12:15:01 +01:00
Sascha Hauer
6bd5caf6c6
i.MX: split out iomux-v1 support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-10 12:15:01 +01:00
Jean-Christophe PLAGNIOL-VILLARD
f6a579da9c
[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:25 +02:00
Sascha Hauer
d13f32d50a
imx: replace imx specific gpio functions with generic ones
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-02 15:34:03 +02:00
Luotao Fu
50cbe3e0fc
IMX regression: fix GPIO_DR usage
...
GPIO_DR ist defined already as GPIO_GPIO in imx-regs.h. There's no need to
define archdependent GPIO_DR. This one fixes a regression brought in by
d5ec92129e
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-08 12:27:56 +02:00
Luotao Fu
d5ec92129e
mx2: add gpio direction/value setting calls
...
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
2009-06-25 16:20:26 +02:00
Robert Schwebel
d86ba7d308
remove gpio debug output for imx
...
Remove a bogus debug output in the gpio initialization code for i.MX.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-11-28 09:03:27 +01:00
Juergen Beisert
1cb7062653
integrating sha's changes into jbe's branch
2007-11-05 12:26:29 +01:00
Sascha Hauer
c00393f996
against high density code
2007-10-08 00:11:29 +02:00
Sascha Hauer
231e867072
svn_rev_667
...
move gpio.c
2007-07-05 18:02:15 +02:00