soc_camera
This is an old revision of the document!
주요 구조체
- soc_camera_device - soc_camera의 구현부의 _probe에서 채움
soc_camera는 i2c_driver의 일종으로 취급. 예:
static struct i2c_driver mt9m001_i2c_driver = { .driver = { .name = "mt9m001", }, .probe = mt9m001_probe, .remove = mt9m001_remove, .id_table = mt9m001_id, };
icl은 arch/arm/mach-pxa/보드이름.c 에서 정의/구현됨 예. pcm990-baseboard.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, };
soc_camera.1258377026.txt.gz · Last modified: 2013/08/03 05:04 (external edit)