diff options
author | Marek Szyprowski <[m.szyprowski@samsung.com]> | 2010-06-10 07:47:14 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-08-05 05:30:59 -0400 |
commit | 8454390155aa0a23467fcfd2fdf38445f2ab86db (patch) | |
tree | c95d84678fb68ab51f1b282245ec0b0c8cf7503e /arch/arm/mach-s5pv210/gpiolib.c | |
parent | 9fe6206f400646a2322096b56c59891d530e8d51 (diff) |
ARM: S5PV210: Add more GPIO banks to gpiolib
This patch adds support for MP04 and MP05 gpio banks.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[kgene.kim@samsung.com: minor title fix]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/gpiolib.c')
-rw-r--r-- | arch/arm/mach-s5pv210/gpiolib.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/gpiolib.c b/arch/arm/mach-s5pv210/gpiolib.c index 9ea8972e023d..0d459112d039 100644 --- a/arch/arm/mach-s5pv210/gpiolib.c +++ b/arch/arm/mach-s5pv210/gpiolib.c | |||
@@ -207,6 +207,20 @@ static struct s3c_gpio_chip s5pv210_gpio_4bit[] = { | |||
207 | .label = "MP03", | 207 | .label = "MP03", |
208 | }, | 208 | }, |
209 | }, { | 209 | }, { |
210 | .config = &gpio_cfg_noint, | ||
211 | .chip = { | ||
212 | .base = S5PV210_MP04(0), | ||
213 | .ngpio = S5PV210_GPIO_MP04_NR, | ||
214 | .label = "MP04", | ||
215 | }, | ||
216 | }, { | ||
217 | .config = &gpio_cfg_noint, | ||
218 | .chip = { | ||
219 | .base = S5PV210_MP05(0), | ||
220 | .ngpio = S5PV210_GPIO_MP05_NR, | ||
221 | .label = "MP05", | ||
222 | }, | ||
223 | }, { | ||
210 | .base = (S5P_VA_GPIO + 0xC00), | 224 | .base = (S5P_VA_GPIO + 0xC00), |
211 | .config = &gpio_cfg_noint, | 225 | .config = &gpio_cfg_noint, |
212 | .chip = { | 226 | .chip = { |