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>
This commit is contained in:
parent
d3f9c57021
commit
9c4f0a390c
|
@ -776,6 +776,7 @@ static struct platform_device *goni_devices[] __initdata = {
|
||||||
&goni_i2c_gpio5,
|
&goni_i2c_gpio5,
|
||||||
&mmc2_fixed_voltage,
|
&mmc2_fixed_voltage,
|
||||||
&goni_device_gpiokeys,
|
&goni_device_gpiokeys,
|
||||||
|
&s3c_device_i2c0,
|
||||||
&s5p_device_fimc0,
|
&s5p_device_fimc0,
|
||||||
&s5p_device_fimc1,
|
&s5p_device_fimc1,
|
||||||
&s5p_device_fimc2,
|
&s5p_device_fimc2,
|
||||||
|
@ -812,6 +813,9 @@ static void __init goni_machine_init(void)
|
||||||
/* Radio: call before I2C 1 registeration */
|
/* Radio: call before I2C 1 registeration */
|
||||||
goni_radio_init();
|
goni_radio_init();
|
||||||
|
|
||||||
|
/* I2C0 */
|
||||||
|
s3c_i2c0_set_platdata(NULL);
|
||||||
|
|
||||||
/* I2C1 */
|
/* I2C1 */
|
||||||
s3c_i2c1_set_platdata(NULL);
|
s3c_i2c1_set_platdata(NULL);
|
||||||
i2c_register_board_info(1, i2c1_devs, ARRAY_SIZE(i2c1_devs));
|
i2c_register_board_info(1, i2c1_devs, ARRAY_SIZE(i2c1_devs));
|
||||||
|
|
Loading…
Reference in New Issue