diff options
author | Mark Brown <broonie@sirena.org.uk> | 2008-04-15 10:50:49 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-04-19 06:29:09 -0400 |
commit | 768dec4cc397a9c041b0f3cd605d3f6f758883e4 (patch) | |
tree | 9a67653dd06aea7d31f90e06f45e1d4834ca7a54 /arch/arm/mach-pxa/zylonite_pxa320.c | |
parent | 507012f0a503287f212ef1139683c8938ecedbcd (diff) |
[ARM] 4976/1: zylonite: Configure GPIO for WM9713 IRQ line
Set up the IRQ line for the WM9713 device on the Zylonite.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: eric miao <eric.y.miao@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/zylonite_pxa320.c')
-rw-r--r-- | arch/arm/mach-pxa/zylonite_pxa320.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/zylonite_pxa320.c b/arch/arm/mach-pxa/zylonite_pxa320.c index ce54195a4546..193d07903b06 100644 --- a/arch/arm/mach-pxa/zylonite_pxa320.c +++ b/arch/arm/mach-pxa/zylonite_pxa320.c | |||
@@ -68,6 +68,9 @@ static mfp_cfg_t mfp_cfg[] __initdata = { | |||
68 | GPIO39_AC97_BITCLK, | 68 | GPIO39_AC97_BITCLK, |
69 | GPIO40_AC97_nACRESET, | 69 | GPIO40_AC97_nACRESET, |
70 | 70 | ||
71 | /* WM9713 IRQ */ | ||
72 | GPIO15_GPIO, | ||
73 | |||
71 | /* I2C */ | 74 | /* I2C */ |
72 | GPIO32_I2C_SCL, | 75 | GPIO32_I2C_SCL, |
73 | GPIO33_I2C_SDA, | 76 | GPIO33_I2C_SDA, |
@@ -190,5 +193,8 @@ void __init zylonite_pxa320_init(void) | |||
190 | /* MMC card detect & write protect for controller 0 */ | 193 | /* MMC card detect & write protect for controller 0 */ |
191 | zylonite_mmc_slot[0].gpio_cd = mfp_to_gpio(MFP_PIN_GPIO1); | 194 | zylonite_mmc_slot[0].gpio_cd = mfp_to_gpio(MFP_PIN_GPIO1); |
192 | zylonite_mmc_slot[0].gpio_wp = mfp_to_gpio(MFP_PIN_GPIO5); | 195 | zylonite_mmc_slot[0].gpio_wp = mfp_to_gpio(MFP_PIN_GPIO5); |
196 | |||
197 | /* WM9713 IRQ */ | ||
198 | wm9713_irq = mfp_to_gpio(MFP_PIN_GPIO15); | ||
193 | } | 199 | } |
194 | } | 200 | } |