summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/magician.c
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2009-04-17 11:38:23 +0200
committerEric Miao <eric.y.miao@gmail.com>2009-06-05 10:39:16 +0800
commitf8f9d5ecfff9b2d04db4decd7d2c86aba86e49e5 (patch)
treea9a75055c4290d63f151c3c3336cc5e950f26b42 /arch/arm/mach-pxa/magician.c
parent3dbeef231e2247f91784f33555ed6f7da7a6f726 (diff)
downloadlinux-f8f9d5ecfff9b2d04db4decd7d2c86aba86e49e5.tar.gz
linux-f8f9d5ecfff9b2d04db4decd7d2c86aba86e49e5.tar.bz2
linux-f8f9d5ecfff9b2d04db4decd7d2c86aba86e49e5.zip
[ARM] pxa/magician: use I2C fast mode
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/magician.c')
-rw-r--r--arch/arm/mach-pxa/magician.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c
index 5a9df973935d..34046c8bfaf5 100644
--- a/arch/arm/mach-pxa/magician.c
+++ b/arch/arm/mach-pxa/magician.c
@@ -745,6 +745,14 @@ static struct platform_device strataflash = {
};
/*
+ * I2C
+ */
+
+static struct i2c_pxa_platform_data i2c_info = {
+ .fast_mode = 1,
+};
+
+/*
* Platform devices
*/
@@ -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);