diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2011-02-15 00:27:44 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-02-21 23:50:01 -0500 |
commit | 9c4f0a390c66cd6e85635f79ff999f1e37458af1 (patch) | |
tree | 51f6ae9bd3ce31cab51ea47c142b2547c4ed21e2 /arch/arm/mach-s5pv210 | |
parent | d3f9c570219c72736ae2da9071f1efbf804707f7 (diff) |
ARM: S5PV210: Enable I2C0 bus on GONI board
Add I2C0 bus platform device for camera sensors.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-goni.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index 43c1c1b1c0ae..c675125b331f 100644 --- a/arch/arm/mach-s5pv210/mach-goni.c +++ b/arch/arm/mach-s5pv210/mach-goni.c | |||
@@ -776,6 +776,7 @@ static struct platform_device *goni_devices[] __initdata = { | |||
776 | &goni_i2c_gpio5, | 776 | &goni_i2c_gpio5, |
777 | &mmc2_fixed_voltage, | 777 | &mmc2_fixed_voltage, |
778 | &goni_device_gpiokeys, | 778 | &goni_device_gpiokeys, |
779 | &s3c_device_i2c0, | ||
779 | &s5p_device_fimc0, | 780 | &s5p_device_fimc0, |
780 | &s5p_device_fimc1, | 781 | &s5p_device_fimc1, |
781 | &s5p_device_fimc2, | 782 | &s5p_device_fimc2, |
@@ -812,6 +813,9 @@ static void __init goni_machine_init(void) | |||
812 | /* Radio: call before I2C 1 registeration */ | 813 | /* Radio: call before I2C 1 registeration */ |
813 | goni_radio_init(); | 814 | goni_radio_init(); |
814 | 815 | ||
816 | /* I2C0 */ | ||
817 | s3c_i2c0_set_platdata(NULL); | ||
818 | |||
815 | /* I2C1 */ | 819 | /* I2C1 */ |
816 | s3c_i2c1_set_platdata(NULL); | 820 | s3c_i2c1_set_platdata(NULL); |
817 | i2c_register_board_info(1, i2c1_devs, ARRAY_SIZE(i2c1_devs)); | 821 | i2c_register_board_info(1, i2c1_devs, ARRAY_SIZE(i2c1_devs)); |