diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-03 03:28:15 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-11-08 05:56:03 -0500 |
commit | aaed44e1672c61b28dcae6e3d7bd5d15aef362f3 (patch) | |
tree | 6dc2c56729227cc9abbc685e91284d2b11ee150f /arch/arm/mach-s3c64xx | |
parent | 4ff13995b512cfadef44e0bf5cb15298d6094519 (diff) |
ARM: S3C64XX: Correct reservation of GPIOs for CPU module on Cragganmore
The gpio_base for the PMIC on the CPU module was being incorrectly set to
be the same as that for the CODEC causing the two GPIO drivers to collide.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r-- | arch/arm/mach-s3c64xx/include/mach/crag6410.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-crag6410.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c64xx/include/mach/crag6410.h b/arch/arm/mach-s3c64xx/include/mach/crag6410.h index be9074e17dfd..1cc1cc82e754 100644 --- a/arch/arm/mach-s3c64xx/include/mach/crag6410.h +++ b/arch/arm/mach-s3c64xx/include/mach/crag6410.h | |||
@@ -17,7 +17,8 @@ | |||
17 | #define GLENFARCLAS_PMIC_IRQ_BASE (IRQ_BOARD_START + 64) | 17 | #define GLENFARCLAS_PMIC_IRQ_BASE (IRQ_BOARD_START + 64) |
18 | 18 | ||
19 | #define PCA935X_GPIO_BASE GPIO_BOARD_START | 19 | #define PCA935X_GPIO_BASE GPIO_BOARD_START |
20 | #define CODEC_GPIO_BASE (GPIO_BOARD_START + 8) | 20 | #define CODEC_GPIO_BASE (GPIO_BOARD_START + 8) |
21 | #define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 16) | 21 | #define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 16) |
22 | #define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 32) | ||
22 | 23 | ||
23 | #endif | 24 | #endif |
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c index d04b65448510..8b04a46e9f6d 100644 --- a/arch/arm/mach-s3c64xx/mach-crag6410.c +++ b/arch/arm/mach-s3c64xx/mach-crag6410.c | |||
@@ -500,7 +500,7 @@ static struct wm831x_touch_pdata touch_pdata __initdata = { | |||
500 | static struct wm831x_pdata crag_pmic_pdata __initdata = { | 500 | static struct wm831x_pdata crag_pmic_pdata __initdata = { |
501 | .wm831x_num = 1, | 501 | .wm831x_num = 1, |
502 | .irq_base = BANFF_PMIC_IRQ_BASE, | 502 | .irq_base = BANFF_PMIC_IRQ_BASE, |
503 | .gpio_base = GPIO_BOARD_START + 8, | 503 | .gpio_base = BANFF_PMIC_GPIO_BASE, |
504 | 504 | ||
505 | .backup = &banff_backup_pdata, | 505 | .backup = &banff_backup_pdata, |
506 | 506 | ||