linux-sg2042/arch/mips/alchemy/devboards
Manuel Lauss b7f720d68c MIPS: Alchemy: Clean up GPIO registers and accessors
remove au_readl/au_writel, remove the predefined GPIO1/2 KSEG1 register
addresses and fix the fallout in all boards and drivers.

This also fixes a bug in the mtx-1_wdt driver which was introduced by
commit 6ea8115bb6
("Convert mtx1 wdt to be a platform device and use generic GPIO API")
before this patch mtx-1_wdt only modified GPIO215, the patch then
used the gpio resource information as bit index into the GPIO2 register
but the conversion to the GPIO API didn't realize that.
With this patch the drivers original behaviour is restored and GPIO15
is left alone.

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
Cc: Florian Fainelli <florian@openwrt.org>
To: Linux-MIPS <linux-mips@linux-mips.org>
Cc: linux-watchdog@vger.kernel.org
Cc: Wim Van Sebroeck <wim@iguana.be>
Patchwork: https://patchwork.linux-mips.org/patch/2381/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org
2011-05-19 09:55:46 +01:00
..
db1x00 MIPS: Alchemy: Fix GCC 4.6.0 build error. 2011-05-10 18:15:25 +01:00
db1200 MIPS: DB1200: Set Config[OD] for improved stability. 2011-05-19 09:55:44 +01:00
pb1000 MIPS: Alchemy: Clean up GPIO registers and accessors 2011-05-19 09:55:46 +01:00
pb1100 MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
pb1200 MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
pb1500 MIPS: Alchemy: Clean up GPIO registers and accessors 2011-05-19 09:55:46 +01:00
pb1550 MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
Makefile MIPS: Move Alchemy Makefile parts to their own Platform file. 2010-08-05 13:25:46 +01:00
bcsr.c MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
platform.c MIPS: Alchemy: use 36bit addresses for PCMCIA resources. 2010-02-27 12:53:43 +01:00
platform.h MIPS: Alchemy: use 36bit addresses for PCMCIA resources. 2010-02-27 12:53:43 +01:00
pm.c suspend: constify platform_suspend_ops 2010-11-16 14:14:02 +01:00
prom.c MIPS: Alchemy: Rewrite UART setup and constants. 2011-05-19 09:55:45 +01:00