]>
Commit | Line | Data |
---|---|---|
eb7b797b BS |
1 | /* |
2 | * Copyright (C) 2008-2009 QUALCOMM Incorporated. | |
3 | */ | |
4 | ||
5 | #ifndef MT9D112_H | |
6 | #define MT9D112_H | |
7 | ||
8 | #include <linux/types.h> | |
9 | #include <mach/camera.h> | |
10 | ||
11 | enum mt9d112_width { | |
12 | WORD_LEN, | |
13 | BYTE_LEN | |
14 | }; | |
15 | ||
16 | struct mt9d112_i2c_reg_conf { | |
17 | unsigned short waddr; | |
18 | unsigned short wdata; | |
19 | enum mt9d112_width width; | |
20 | unsigned short mdelay_time; | |
21 | }; | |
22 | ||
23 | struct mt9d112_reg { | |
24 | const struct register_address_value_pair *prev_snap_reg_settings; | |
25 | uint16_t prev_snap_reg_settings_size; | |
26 | const struct register_address_value_pair *noise_reduction_reg_settings; | |
27 | uint16_t noise_reduction_reg_settings_size; | |
28 | const struct mt9d112_i2c_reg_conf *plltbl; | |
29 | uint16_t plltbl_size; | |
30 | const struct mt9d112_i2c_reg_conf *stbl; | |
31 | uint16_t stbl_size; | |
32 | const struct mt9d112_i2c_reg_conf *rftbl; | |
33 | uint16_t rftbl_size; | |
34 | }; | |
35 | ||
36 | #endif /* MT9D112_H */ |