aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-12-25 04:17:34 -0500
committerPaul Mundt <lethal@linux-sh.org>2009-01-27 00:49:10 -0500
commit69edbba0021a48fe034849501513930f6175cb5d (patch)
tree51499128883b2e84bce5dcaa78e6e943c37eeb40 /arch/sh/boards
parent3292094e88ce6b76714dad8ec4b43d7c5c12ada2 (diff)
sh: use gpiolib
This patch updates the SuperH gpio code to make use of gpiolib. The gpiolib callbacks get() and set() are lockless, but we use our own spinlock for the other operations to make sure hardware register bitfield accesses stay atomic. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards')
-rw-r--r--arch/sh/boards/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig
index 861914747e4..802d5c475a7 100644
--- a/arch/sh/boards/Kconfig
+++ b/arch/sh/boards/Kconfig
@@ -165,7 +165,7 @@ config SH_SH7785LCR_29BIT_PHYSMAPS
165config SH_MIGOR 165config SH_MIGOR
166 bool "Migo-R" 166 bool "Migo-R"
167 depends on CPU_SUBTYPE_SH7722 167 depends on CPU_SUBTYPE_SH7722
168 select GENERIC_GPIO 168 select ARCH_REQUIRE_GPIOLIB
169 help 169 help
170 Select Migo-R if configuring for the SH7722 Migo-R platform 170 Select Migo-R if configuring for the SH7722 Migo-R platform
171 by Renesas System Solutions Asia Pte. Ltd. 171 by Renesas System Solutions Asia Pte. Ltd.
@@ -173,7 +173,7 @@ config SH_MIGOR
173config SH_AP325RXA 173config SH_AP325RXA
174 bool "AP-325RXA" 174 bool "AP-325RXA"
175 depends on CPU_SUBTYPE_SH7723 175 depends on CPU_SUBTYPE_SH7723
176 select GENERIC_GPIO 176 select ARCH_REQUIRE_GPIOLIB
177 help 177 help
178 Renesas "AP-325RXA" support. 178 Renesas "AP-325RXA" support.
179 Compatible with ALGO SYSTEM CO.,LTD. "AP-320A" 179 Compatible with ALGO SYSTEM CO.,LTD. "AP-320A"