From mboxrd@z Thu Jan 1 00:00:00 1970 From: m.szyprowski@samsung.com (Marek Szyprowski) Date: Tue, 21 Sep 2010 07:16:41 +0200 Subject: [PATCH 4/6] ARM: S5PC100: Move external interrupt defines In-Reply-To: <001001cb50df$c0ed7e30$42c87a90$%kim@samsung.com> References: <1283764347-460-1-git-send-email-m.szyprowski@samsung.com> <1283764347-460-5-git-send-email-m.szyprowski@samsung.com> <001001cb50df$c0ed7e30$42c87a90$%kim@samsung.com> Message-ID: <000001cb594c$3025c7c0$90715740$%szyprowski@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hello, On Friday, September 10, 2010 2:00 PM Kukjin Kim wrote: > Marek Szyprowski wrote: > > > > From: Joonyoung Shim > > > > This patch moves external interrupt defines from gpio.h to regs-gpio.h > > for consistency with s5pv210. > > > > Signed-off-by: Joonyoung Shim > > Signed-off-by: Kyungmin Park > > Signed-off-by: Marek Szyprowski > > --- > > arch/arm/mach-s5pc100/include/mach/gpio.h | 7 ------- > > arch/arm/mach-s5pc100/include/mach/regs-gpio.h | 7 +++++++ > > 2 files changed, 7 insertions(+), 7 deletions(-) > > > > diff --git a/arch/arm/mach-s5pc100/include/mach/gpio.h b/arch/arm/mach- > > s5pc100/include/mach/gpio.h > > index 71ae1f5..29a8a12 100644 > > --- a/arch/arm/mach-s5pc100/include/mach/gpio.h > > +++ b/arch/arm/mach-s5pc100/include/mach/gpio.h > > @@ -146,13 +146,6 @@ enum s5p_gpio_number { > > /* define the number of gpios we need to the one after the MP04() range > */ > > #define ARCH_NR_GPIOS (S5PC100_GPIO_END + 1) > > > > -#define EINT_MODE S3C_GPIO_SFN(0x2) > > - > > -#define EINT_GPIO_0(x) S5PC100_GPH0(x) > > -#define EINT_GPIO_1(x) S5PC100_GPH1(x) > > -#define EINT_GPIO_2(x) S5PC100_GPH2(x) > > -#define EINT_GPIO_3(x) S5PC100_GPH3(x) > > - > > #include > > > > #endif /* __ASM_ARCH_GPIO_H */ > > diff --git a/arch/arm/mach-s5pc100/include/mach/regs-gpio.h > b/arch/arm/mach- > > s5pc100/include/mach/regs-gpio.h > > index dd6295e..6abe481 100644 > > --- a/arch/arm/mach-s5pc100/include/mach/regs-gpio.h > > +++ b/arch/arm/mach-s5pc100/include/mach/regs-gpio.h > > @@ -71,5 +71,12 @@ > > #define S5P_EXTINT_RISEEDGE (0x03) > > #define S5P_EXTINT_BOTHEDGE (0x04) > > > > +#define EINT_MODE S3C_GPIO_SFN(0x2) > > + > > +#define EINT_GPIO_0(x) S5PC100_GPH0(x) > > +#define EINT_GPIO_1(x) S5PC100_GPH1(x) > > +#define EINT_GPIO_2(x) S5PC100_GPH2(x) > > +#define EINT_GPIO_3(x) S5PC100_GPH3(x) > > + > > #endif /* __ASM_MACH_S5PC100_REGS_GPIO_H */ > > > > -- > > This is ok to me, will apply. > > And will check other regarding gpio interrupt in this weekend ;-) Is there any progress on gpio interrupts? Over 2 weeks passed since I posted the patches... Best regards -- Marek Szyprowski Samsung Poland R&D Center