Commit f8f9d5ec authored by Philipp Zabel's avatar Philipp Zabel Committed by Eric Miao

[ARM] pxa/magician: use I2C fast mode

Signed-off-by: default avatarPhilipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: default avatarEric Miao <eric.miao@marvell.com>
parent 3dbeef23
...@@ -744,6 +744,14 @@ static struct platform_device strataflash = { ...@@ -744,6 +744,14 @@ static struct platform_device strataflash = {
}, },
}; };
/*
* I2C
*/
static struct i2c_pxa_platform_data i2c_info = {
.fast_mode = 1,
};
/* /*
* Platform devices * Platform devices
*/ */
...@@ -779,7 +787,7 @@ static void __init magician_init(void) ...@@ -779,7 +787,7 @@ static void __init magician_init(void)
pxa_set_ficp_info(&magician_ficp_info); pxa_set_ficp_info(&magician_ficp_info);
} }
pxa27x_set_i2c_power_info(NULL); 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_mci_info(&magician_mci_info);
pxa_set_ohci_info(&magician_ohci_info); pxa_set_ohci_info(&magician_ohci_info);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment