User Tools

Site Tools


soc_camera

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
soc_camera [2009/11/16 13:10] suapapasoc_camera [2013/08/03 05:04] (current) – external edit 127.0.0.1
Line 14: Line 14:
 </code> </code>
  
-icl은 arch/arm/mach-pxa/보드이름.c 에서 정의/구현됨 예. pcm990-baseboard.c+icl은 arch/arm/mach-pxa/보드이름.c 에서 정의/구현됨 예. pcm990-baseboard.c march-rfidc100.c ???
 <code c> <code c>
 static struct soc_camera_link iclink = { static struct soc_camera_link iclink = {
Line 21: Line 21:
  .set_bus_param = pcm990_camera_set_bus_param,  .set_bus_param = pcm990_camera_set_bus_param,
  .free_bus = pcm990_camera_free_bus,  .free_bus = pcm990_camera_free_bus,
 +};
 +</code>
 +이게 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("pca9536", 0x41),
 + .platform_data = &pca9536_data,
 + }, {
 + I2C_BOARD_INFO("mt9v022", 0x48),
 + .platform_data = &iclink, /* With extender */
 + }, {
 + I2C_BOARD_INFO("mt9m001", 0x5d),
 + .platform_data = &iclink, /* With extender */
 + },
 }; };
 </code> </code>
soc_camera.1258377026.txt.gz · Last modified: 2013/08/03 05:04 (external edit)