diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-02 00:29:07 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-12-02 00:29:07 -0500 |
commit | 8351c7aad45c15647903f70e30a5884258d25b95 (patch) | |
tree | 3c1bbe764369698ff0155a97fd89f0388102f665 /arch/arm/mach-s3c64xx | |
parent | aaed44e1672c61b28dcae6e3d7bd5d15aef362f3 (diff) |
ARM: S3C64XX: Raise the frequency of the second I2C bus on Cragganmore
The S3C I2C driver defaults to a rather low 66kHz, ask for 400kHz for
a bit of a speed boost.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-crag6410.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c index 8b04a46e9f6d..d7245ccb99ac 100644 --- a/arch/arm/mach-s3c64xx/mach-crag6410.c +++ b/arch/arm/mach-s3c64xx/mach-crag6410.c | |||
@@ -634,6 +634,11 @@ static struct i2c_board_info i2c_devs1[] __initdata = { | |||
634 | { I2C_BOARD_INFO("wm1250-ev1", 0x27) }, | 634 | { I2C_BOARD_INFO("wm1250-ev1", 0x27) }, |
635 | }; | 635 | }; |
636 | 636 | ||
637 | static struct s3c2410_platform_i2c i2c1_pdata = { | ||
638 | .frequency = 400000, | ||
639 | .bus_num = 1, | ||
640 | }; | ||
641 | |||
637 | static void __init crag6410_map_io(void) | 642 | static void __init crag6410_map_io(void) |
638 | { | 643 | { |
639 | s3c64xx_init_io(NULL, 0); | 644 | s3c64xx_init_io(NULL, 0); |
@@ -692,7 +697,7 @@ static void __init crag6410_machine_init(void) | |||
692 | s3c_sdhci2_set_platdata(&crag6410_hsmmc2_pdata); | 697 | s3c_sdhci2_set_platdata(&crag6410_hsmmc2_pdata); |
693 | 698 | ||
694 | s3c_i2c0_set_platdata(&i2c0_pdata); | 699 | s3c_i2c0_set_platdata(&i2c0_pdata); |
695 | s3c_i2c1_set_platdata(NULL); | 700 | s3c_i2c1_set_platdata(&i2c1_pdata); |
696 | s3c_fb_set_platdata(&crag6410_lcd_pdata); | 701 | s3c_fb_set_platdata(&crag6410_lcd_pdata); |
697 | 702 | ||
698 | i2c_register_board_info(0, i2c_devs0, ARRAY_SIZE(i2c_devs0)); | 703 | i2c_register_board_info(0, i2c_devs0, ARRAY_SIZE(i2c_devs0)); |