linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: EXYNOS4: add a placeholder for board specific interrupts
@ 2011-03-14  7:06 Marek Szyprowski
  2011-03-15 12:55 ` Kukjin Kim
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Szyprowski @ 2011-03-14  7:06 UTC (permalink / raw)
  To: linux-arm-kernel

This patch adds a placeholder for board specific interrupts on S5PC210
platform.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 arch/arm/mach-exynos4/include/mach/irqs.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-exynos4/include/mach/irqs.h b/arch/arm/mach-exynos4/include/mach/irqs.h
index 5d03730..cc2186d 100644
--- a/arch/arm/mach-exynos4/include/mach/irqs.h
+++ b/arch/arm/mach-exynos4/include/mach/irqs.h
@@ -154,7 +154,11 @@
 #define IRQ_GPIO2_NR_GROUPS	9
 #define IRQ_GPIO_END		(S5P_GPIOINT_BASE + S5P_GPIOINT_COUNT)
 
+/* optional board specific irqs */
+#define IRQ_BOARD_START		IRQ_GPIO_END
+#define IRQ_NR_BOARD		16
+
 /* Set the default NR_IRQS */
-#define NR_IRQS			(IRQ_GPIO_END)
+#define NR_IRQS			(IRQ_GPIO_END + IRQ_NR_BOARD)
 
 #endif /* __ASM_ARCH_IRQS_H */
-- 
1.7.1.569.g6f426

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

* [PATCH v2] ARM: EXYNOS4: add a placeholder for board specific interrupts
  2011-03-14  7:06 [PATCH v2] ARM: EXYNOS4: add a placeholder for board specific interrupts Marek Szyprowski
@ 2011-03-15 12:55 ` Kukjin Kim
  2011-03-15 13:07   ` Kyungmin Park
  0 siblings, 1 reply; 3+ messages in thread
From: Kukjin Kim @ 2011-03-15 12:55 UTC (permalink / raw)
  To: linux-arm-kernel

Marek Szyprowski wrote:
> 
> This patch adds a placeholder for board specific interrupts on S5PC210
> platform.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
>  arch/arm/mach-exynos4/include/mach/irqs.h |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-exynos4/include/mach/irqs.h b/arch/arm/mach-
> exynos4/include/mach/irqs.h
> index 5d03730..cc2186d 100644
> --- a/arch/arm/mach-exynos4/include/mach/irqs.h
> +++ b/arch/arm/mach-exynos4/include/mach/irqs.h
> @@ -154,7 +154,11 @@
>  #define IRQ_GPIO2_NR_GROUPS	9
>  #define IRQ_GPIO_END		(S5P_GPIOINT_BASE + S5P_GPIOINT_COUNT)
> 
> +/* optional board specific irqs */
> +#define IRQ_BOARD_START		IRQ_GPIO_END
> +#define IRQ_NR_BOARD		16
> +
>  /* Set the default NR_IRQS */
> -#define NR_IRQS			(IRQ_GPIO_END)
> +#define NR_IRQS			(IRQ_GPIO_END + IRQ_NR_BOARD)
> 
>  #endif /* __ASM_ARCH_IRQS_H */
> --
> 1.7.1.569.g6f426

I have no idea that we need specific interrupt on EXYNOS4 now.
As you know, this can affect all machines of EXYNOS4 SoC even though there
is EXYNOS4210 now.

If required, we need something like SAMSUNG_GPIO_EXTRA for compatibility.
Anyway need more discussion on this :)

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

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

* [PATCH v2] ARM: EXYNOS4: add a placeholder for board specific interrupts
  2011-03-15 12:55 ` Kukjin Kim
@ 2011-03-15 13:07   ` Kyungmin Park
  0 siblings, 0 replies; 3+ messages in thread
From: Kyungmin Park @ 2011-03-15 13:07 UTC (permalink / raw)
  To: linux-arm-kernel

Now pmic8998, 8997 requires extra interrupts.

If you don't want to extends irqs, the sparse irq can be used at each board.

Of course, in case of exynos4210, need some patch for sparse irq support.

Kyungmin Park

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

end of thread, other threads:[~2011-03-15 13:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-14  7:06 [PATCH v2] ARM: EXYNOS4: add a placeholder for board specific interrupts Marek Szyprowski
2011-03-15 12:55 ` Kukjin Kim
2011-03-15 13:07   ` 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).