Skip to content

Commit

Permalink
[ARM] pxa/magician: use I2C fast mode
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
  • Loading branch information
Philipp Zabel authored and Eric Miao committed Jun 5, 2009
1 parent 3dbeef2 commit f8f9d5e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion arch/arm/mach-pxa/magician.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,14 @@ static struct platform_device strataflash = {
},
};

/*
* I2C
*/

static struct i2c_pxa_platform_data i2c_info = {
.fast_mode = 1,
};

/*
* Platform devices
*/
Expand Down Expand Up @@ -779,7 +787,7 @@ static void __init magician_init(void)
pxa_set_ficp_info(&magician_ficp_info);
}
pxa27x_set_i2c_power_info(NULL);
pxa_set_i2c_info(NULL);
pxa_set_i2c_info(&i2c_info);
pxa_set_mci_info(&magician_mci_info);
pxa_set_ohci_info(&magician_ohci_info);

Expand Down

0 comments on commit f8f9d5e

Please sign in to comment.