soc_camera
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
soc_camera [2009/11/16 12:54] – created suapapa | soc_camera [2013/08/03 05:04] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 11: | Line 11: | ||
.remove = mt9m001_remove, | .remove = mt9m001_remove, | ||
.id_table = mt9m001_id, | .id_table = mt9m001_id, | ||
+ | }; | ||
+ | </ | ||
+ | |||
+ | icl은 arch/ | ||
+ | <code c> | ||
+ | static struct soc_camera_link iclink = { | ||
+ | .bus_id = 0, /* Must match with the camera ID above */ | ||
+ | .query_bus_param = pcm990_camera_query_bus_param, | ||
+ | .set_bus_param = pcm990_camera_set_bus_param, | ||
+ | .free_bus = pcm990_camera_free_bus, | ||
+ | }; | ||
+ | </ | ||
+ | 이게 i2c의 platform_data로 묶여 들어감. | ||
+ | <code c> | ||
+ | /* Board I2C devices. */ | ||
+ | static struct i2c_board_info __initdata pcm990_i2c_devices[] = { | ||
+ | { | ||
+ | /* Must initialize before the camera(s) */ | ||
+ | I2C_BOARD_INFO(" | ||
+ | .platform_data = & | ||
+ | }, { | ||
+ | I2C_BOARD_INFO(" | ||
+ | .platform_data = & | ||
+ | }, { | ||
+ | I2C_BOARD_INFO(" | ||
+ | .platform_data = & | ||
+ | }, | ||
}; | }; | ||
</ | </ |
soc_camera.1258376055.txt.gz · Last modified: 2013/08/03 05:04 (external edit)