Skip to content

Commit

Permalink
ARM: SAMSUNG: move interrupt part for common s5p into plat-samsung
Browse files Browse the repository at this point in the history
Signed-off-by: Kukjin Kim <[email protected]>
  • Loading branch information
kgene committed May 12, 2012
1 parent bf46aae commit 68ae899
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 20 deletions.
11 changes: 0 additions & 11 deletions arch/arm/plat-s5p/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,6 @@ config PLAT_S5P
help
Base platform code for Samsung's S5P series SoC.

config S5P_EXT_INT
bool
help
Use the external interrupts (other than GPIO interrupts.)
Note: Do not choose this for S5P6440 and S5P6450.

config S5P_GPIO_INT
bool
help
Common code for the GPIO interrupts (other than external interrupts.)

config S5P_HRT
bool
select SAMSUNG_DEV_PWM
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/plat-s5p/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ obj- :=

# Core files

obj-y += irq.o
obj-$(CONFIG_S5P_EXT_INT) += irq-eint.o
obj-$(CONFIG_S5P_GPIO_INT) += irq-gpioint.o
obj-$(CONFIG_S5P_PM) += pm.o irq-pm.o
obj-$(CONFIG_S5P_SLEEP) += sleep.o
obj-$(CONFIG_S5P_HRT) += s5p-time.o
Expand Down
16 changes: 16 additions & 0 deletions arch/arm/plat-samsung/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,22 @@ config SAMSUNG_IRQ_VIC_TIMER
help
Internal configuration to build the VIC timer interrupt code.

config S5P_IRQ
def_bool (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS)
help
Support common interrup part for ARCH_S5P and ARCH_EXYNOS SoCs

config S5P_EXT_INT
bool
help
Use the external interrupts (other than GPIO interrupts.)
Note: Do not choose this for S5P6440 and S5P6450.

config S5P_GPIO_INT
bool
help
Common code for the GPIO interrupts (other than external interrupts.)

# options for gpio configuration support

config SAMSUNG_GPIOLIB_4BIT
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/plat-samsung/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o
obj-$(CONFIG_S5P_CLOCK) += s5p-clock.o

obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o
obj-$(CONFIG_S5P_IRQ) += s5p-irq.o
obj-$(CONFIG_S5P_EXT_INT) += s5p-irq-eint.o
obj-$(CONFIG_S5P_GPIO_INT) += s5p-irq-gpioint.o

# ADC

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* linux/arch/arm/plat-s5p/irq-eint.c
*
/*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* linux/arch/arm/plat-s5p/irq-gpioint.c
*
/*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* Author: Kyungmin Park <[email protected]>
* Author: Joonyoung Shim <[email protected]>
Expand Down
3 changes: 1 addition & 2 deletions arch/arm/plat-s5p/irq.c → arch/arm/plat-samsung/s5p-irq.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* arch/arm/plat-s5p/irq.c
*
/*
* Copyright (c) 2009 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
Expand Down

0 comments on commit 68ae899

Please sign in to comment.