linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/3] ARM: S5PC210: Add missing GPIO MP0_0 definition
@ 2010-08-06  4:23 Kyungmin Park
  2010-08-06 13:33 ` Kukjin Kim
  2010-08-20 10:06 ` Kukjin Kim
  0 siblings, 2 replies; 4+ messages in thread
From: Kyungmin Park @ 2010-08-06  4:23 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kyungmin Park <kyungmin.park@samsung.com>

Some board uses the MP0_0 for GPIO.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 arch/arm/mach-s5pv310/include/mach/gpio.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-s5pv310/include/mach/gpio.h b/arch/arm/mach-s5pv310/include/mach/gpio.h
index a840d83..4ab4e23 100644
--- a/arch/arm/mach-s5pv310/include/mach/gpio.h
+++ b/arch/arm/mach-s5pv310/include/mach/gpio.h
@@ -55,6 +55,7 @@
 #define S5PV310_GPIO_X2_NR	(8)
 #define S5PV310_GPIO_X3_NR	(8)
 #define S5PV310_GPIO_Z_NR	(7)
+#define S5PV310_GPIO_MP00_NR	(8)
 #define S5PV310_GPIO_MP01_NR	(8)
 #define S5PV310_GPIO_MP02_NR	(4)
 #define S5PV310_GPIO_MP03_NR	(8)
@@ -96,7 +97,8 @@ enum s5p_gpio_number {
 	S5PV310_GPIO_X2_START	= S5PV310_GPIO_NEXT(S5PV310_GPIO_X1),
 	S5PV310_GPIO_X3_START	= S5PV310_GPIO_NEXT(S5PV310_GPIO_X2),
 	S5PV310_GPIO_Z_START	= S5PV310_GPIO_NEXT(S5PV310_GPIO_X3),
-	S5PV310_GPIO_MP01_START	= S5PV310_GPIO_NEXT(S5PV310_GPIO_Z),
+	S5PV310_GPIO_MP00_START	= S5PV310_GPIO_NEXT(S5PV310_GPIO_Z),
+	S5PV310_GPIO_MP01_START	= S5PV310_GPIO_NEXT(S5PV310_GPIO_MP00),
 	S5PV310_GPIO_MP02_START	= S5PV310_GPIO_NEXT(S5PV310_GPIO_MP01),
 	S5PV310_GPIO_MP03_START	= S5PV310_GPIO_NEXT(S5PV310_GPIO_MP02),
 	S5PV310_GPIO_MP04_START	= S5PV310_GPIO_NEXT(S5PV310_GPIO_MP03),
@@ -133,6 +135,7 @@ enum s5p_gpio_number {
 #define S5PV310_GPX2(_nr)	(S5PV310_GPIO_X2_START + (_nr))
 #define S5PV310_GPX3(_nr)	(S5PV310_GPIO_X3_START + (_nr))
 #define S5PV310_GPZ(_nr)	(S5PV310_GPIO_Z_START + (_nr))
+#define S5PV310_MP00(_nr)	(S5PV310_GPIO_MP00_START + (_nr))
 #define S5PV310_MP01(_nr)	(S5PV310_GPIO_MP01_START + (_nr))
 #define S5PV310_MP02(_nr)	(S5PV310_GPIO_MP02_START + (_nr))
 #define S5PV310_MP03(_nr)	(S5PV310_GPIO_MP03_START + (_nr))
-- 
1.5.3.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-20 10:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-06  4:23 [PATCH 2/3] ARM: S5PC210: Add missing GPIO MP0_0 definition Kyungmin Park
2010-08-06 13:33 ` Kukjin Kim
2010-08-20 10:06 ` Kukjin Kim
2010-08-20 10:08   ` Kyungmin Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).