diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2009-04-17 05:38:23 -0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-06-04 22:39:16 -0400 |
commit | f8f9d5ecfff9b2d04db4decd7d2c86aba86e49e5 (patch) | |
tree | a9a75055c4290d63f151c3c3336cc5e950f26b42 /arch/arm | |
parent | 3dbeef231e2247f91784f33555ed6f7da7a6f726 (diff) |
[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')
-rw-r--r-- | arch/arm/mach-pxa/magician.c | 10 |
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 = { | |||
745 | }; | 745 | }; |
746 | 746 | ||
747 | /* | 747 | /* |
748 | * I2C | ||
749 | */ | ||
750 | |||
751 | static struct i2c_pxa_platform_data i2c_info = { | ||
752 | .fast_mode = 1, | ||
753 | }; | ||
754 | |||
755 | /* | ||
748 | * Platform devices | 756 | * Platform devices |
749 | */ | 757 | */ |
750 | 758 | ||
@@ -779,7 +787,7 @@ static void __init magician_init(void) | |||
779 | pxa_set_ficp_info(&magician_ficp_info); | 787 | pxa_set_ficp_info(&magician_ficp_info); |
780 | } | 788 | } |
781 | pxa27x_set_i2c_power_info(NULL); | 789 | pxa27x_set_i2c_power_info(NULL); |
782 | pxa_set_i2c_info(NULL); | 790 | pxa_set_i2c_info(&i2c_info); |
783 | pxa_set_mci_info(&magician_mci_info); | 791 | pxa_set_mci_info(&magician_mci_info); |
784 | pxa_set_ohci_info(&magician_ohci_info); | 792 | pxa_set_ohci_info(&magician_ohci_info); |
785 | 793 | ||