Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123669
b: refs/heads/master
c: 6f584cf
h: refs/heads/master
i:
  123667: d5b3383
v: v3
  • Loading branch information
Eric Miao committed Dec 2, 2008
1 parent 983a28e commit 2547600
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 14758220520c45755ae9de3c3073f03bd71f098a
refs/heads/master: 6f584cfab47173bcbf06b67cb22d519e95317311
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-pxa/cm-x300.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ static mfp_cfg_t cm_x300_mfp_cfg[] __initdata = {
GPIO82_GPIO | MFP_PULL_HIGH, /* MMC CD */
GPIO85_GPIO, /* MMC WP */
GPIO99_GPIO, /* Ethernet IRQ */

/* Standard I2C */
GPIO21_I2C_SCL,
GPIO22_I2C_SDA,
};

#if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE)
Expand Down
8 changes: 0 additions & 8 deletions trunk/arch/arm/mach-pxa/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <mach/mmc.h>
#include <mach/irda.h>
#include <mach/i2c.h>
#include <mach/mfp-pxa27x.h>
#include <mach/ohci.h>
#include <mach/pxa27x_keypad.h>
#include <mach/pxa2xx_spi.h>
Expand Down Expand Up @@ -249,15 +248,8 @@ struct platform_device pxa_device_i2c = {
.num_resources = ARRAY_SIZE(pxai2c_resources),
};

static unsigned long pxa27x_i2c_mfp_cfg[] = {
GPIO117_I2C_SCL,
GPIO118_I2C_SDA,
};

void __init pxa_set_i2c_info(struct i2c_pxa_platform_data *info)
{
if (cpu_is_pxa27x())
pxa2xx_mfp_config(ARRAY_AND_SIZE(pxa27x_i2c_mfp_cfg));
pxa_register_device(&pxa_device_i2c, info);
}

Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-pxa/ezx.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ static unsigned long ezx_pin_config[] __initdata = {
GPIO91_USB_P3_1, /* ICL_XRXD */
GPIO56_USB_P3_4, /* ICL_VMOUT */
GPIO113_USB_P3_3, /* /ICL_VMIN */

/* I2C */
GPIO117_I2C_SCL,
GPIO118_I2C_SDA,
};

static void __init ezx_init(void)
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-pxa/magician.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ static unsigned long magician_pin_config[] __initdata = {
GPIO107_GPIO, /* DS1WM_IRQ */
GPIO108_GPIO, /* GSM_READY */
GPIO115_GPIO, /* nPEN_IRQ */

/* I2C */
GPIO117_I2C_SCL,
GPIO118_I2C_SDA,
};

/*
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-pxa/mainstone.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ static unsigned long mainstone_pin_config[] = {
GPIO108_KP_MKOUT_5,
GPIO96_KP_MKOUT_6,

/* I2C */
GPIO117_I2C_SCL,
GPIO118_I2C_SDA,

/* GPIO */
GPIO1_GPIO | WAKEUP_ON_EDGE_BOTH,
};
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-pxa/pcm990-baseboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ static unsigned long pcm990_pin_config[] __initdata = {
GPIO89_USBH1_PEN,
/* PWM0 */
GPIO16_PWM0_OUT,

/* I2C */
GPIO117_I2C_SCL,
GPIO118_I2C_SDA,
};

/*
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-pxa/spitz.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ static unsigned long spitz_pin_config[] __initdata = {
GPIO105_GPIO, /* SPITZ_GPIO_CF_IRQ */
GPIO106_GPIO, /* SPITZ_GPIO_CF2_IRQ */

/* I2C */
GPIO117_I2C_SCL,
GPIO118_I2C_SDA,

GPIO1_GPIO | WAKEUP_ON_EDGE_RISE,
};

Expand Down

0 comments on commit 2547600

Please sign in to comment.