Skip to content

Commit

Permalink
ARM: S3C64XX: Dynamically assign interrupts for CPU PMIC on Cragganmore
Browse files Browse the repository at this point in the history
Now that the WM831x driver uses irq_domain we can happily allow it to
assign its own IRQs.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Mark Brown authored and Kukjin Kim committed Jun 20, 2012
1 parent 7d1d8ce commit 4f057aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions arch/arm/mach-s3c64xx/include/mach/crag6410.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@

#include <linux/gpio.h>

#define BANFF_PMIC_IRQ_BASE IRQ_BOARD_START
#define GLENFARCLAS_PMIC_IRQ_BASE (IRQ_BOARD_START + 64)
#define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START

#define PCA935X_GPIO_BASE GPIO_BOARD_START
#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8)
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-s3c64xx/mach-crag6410.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,6 @@ static struct wm831x_touch_pdata touch_pdata __initdata = {

static struct wm831x_pdata crag_pmic_pdata __initdata = {
.wm831x_num = 1,
.irq_base = BANFF_PMIC_IRQ_BASE,
.gpio_base = BANFF_PMIC_GPIO_BASE,
.soft_shutdown = true,

Expand Down

0 comments on commit 4f057aa

Please sign in to comment.