Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91264
b: refs/heads/master
c: 768dec4
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown authored and Russell King committed Apr 19, 2008
1 parent 612afd7 commit b514176
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 507012f0a503287f212ef1139683c8938ecedbcd
refs/heads/master: 768dec4cc397a9c041b0f3cd605d3f6f758883e4
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-pxa/zylonite.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ struct platform_mmc_slot zylonite_mmc_slot[MAX_SLOTS];
int gpio_backlight;
int gpio_eth_irq;

int wm9713_irq;

int lcd_id;
int lcd_orientation;

Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-pxa/zylonite_pxa300.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ static mfp_cfg_t common_mfp_cfg[] __initdata = {
GPIO27_AC97_SDATA_OUT,
GPIO28_AC97_SYNC,

/* WM9713 IRQ */
GPIO26_GPIO,

/* Keypad */
GPIO107_KP_DKIN_0 | MFP_LPM_EDGE_BOTH,
GPIO108_KP_DKIN_1 | MFP_LPM_EDGE_BOTH,
Expand Down Expand Up @@ -203,6 +206,9 @@ void __init zylonite_pxa300_init(void)
/* MMC card detect & write protect for controller 0 */
zylonite_mmc_slot[0].gpio_cd = EXT_GPIO(0);
zylonite_mmc_slot[0].gpio_wp = EXT_GPIO(2);

/* WM9713 IRQ */
wm9713_irq = mfp_to_gpio(MFP_PIN_GPIO26);
}

if (cpu_is_pxa300()) {
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-pxa/zylonite_pxa320.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ static mfp_cfg_t mfp_cfg[] __initdata = {
GPIO39_AC97_BITCLK,
GPIO40_AC97_nACRESET,

/* WM9713 IRQ */
GPIO15_GPIO,

/* I2C */
GPIO32_I2C_SCL,
GPIO33_I2C_SDA,
Expand Down Expand Up @@ -190,5 +193,8 @@ void __init zylonite_pxa320_init(void)
/* MMC card detect & write protect for controller 0 */
zylonite_mmc_slot[0].gpio_cd = mfp_to_gpio(MFP_PIN_GPIO1);
zylonite_mmc_slot[0].gpio_wp = mfp_to_gpio(MFP_PIN_GPIO5);

/* WM9713 IRQ */
wm9713_irq = mfp_to_gpio(MFP_PIN_GPIO15);
}
}
2 changes: 2 additions & 0 deletions trunk/include/asm-arm/arch-pxa/zylonite.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ extern struct platform_mmc_slot zylonite_mmc_slot[];
extern int gpio_backlight;
extern int gpio_eth_irq;

extern int wm9713_irq;

extern int lcd_id;
extern int lcd_orientation;

Expand Down

0 comments on commit b514176

Please sign in to comment.