soc_camera
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
soc_camera [2009/11/16 13:10] – suapapa | soc_camera [2013/08/03 05:04] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 14: | Line 14: | ||
</ | </ | ||
- | icl은 arch/ | + | icl은 arch/ |
<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, | ||
+ | }; | ||
+ | </ | ||
+ | 이게 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.1258377026.txt.gz · Last modified: 2013/08/03 05:04 (external edit)