diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/media/v4l2-chip-ident.h | 120 |
1 files changed, 62 insertions, 58 deletions
diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip-ident.h index 56abf21dd786..bf937d3c6ba9 100644 --- a/include/media/v4l2-chip-ident.h +++ b/include/media/v4l2-chip-ident.h | |||
@@ -25,6 +25,10 @@ | |||
25 | #define V4L2_CHIP_IDENT_H_ | 25 | #define V4L2_CHIP_IDENT_H_ |
26 | 26 | ||
27 | /* VIDIOC_DBG_G_CHIP_IDENT: identifies the actual chip installed on the board */ | 27 | /* VIDIOC_DBG_G_CHIP_IDENT: identifies the actual chip installed on the board */ |
28 | |||
29 | /* KEEP THIS LIST ORDERED BY ID! | ||
30 | Otherwise it will be hard to see which ranges are already in use when | ||
31 | adding support to a new chip family. */ | ||
28 | enum { | 32 | enum { |
29 | /* general idents: reserved range 0-49 */ | 33 | /* general idents: reserved range 0-49 */ |
30 | V4L2_IDENT_NONE = 0, /* No chip matched */ | 34 | V4L2_IDENT_NONE = 0, /* No chip matched */ |
@@ -77,17 +81,14 @@ enum { | |||
77 | V4L2_IDENT_CX23417 = 417, | 81 | V4L2_IDENT_CX23417 = 417, |
78 | V4L2_IDENT_CX23418 = 418, | 82 | V4L2_IDENT_CX23418 = 418, |
79 | 83 | ||
80 | /* module au0828 */ | ||
81 | V4L2_IDENT_AU0828 = 828, | ||
82 | |||
83 | /* module indycam: just ident 2000 */ | ||
84 | V4L2_IDENT_INDYCAM = 2000, | ||
85 | |||
86 | /* module bt819: reserved range 810-819 */ | 84 | /* module bt819: reserved range 810-819 */ |
87 | V4L2_IDENT_BT815A = 815, | 85 | V4L2_IDENT_BT815A = 815, |
88 | V4L2_IDENT_BT817A = 817, | 86 | V4L2_IDENT_BT817A = 817, |
89 | V4L2_IDENT_BT819A = 819, | 87 | V4L2_IDENT_BT819A = 819, |
90 | 88 | ||
89 | /* module au0828 */ | ||
90 | V4L2_IDENT_AU0828 = 828, | ||
91 | |||
91 | /* module bt856: just ident 856 */ | 92 | /* module bt856: just ident 856 */ |
92 | V4L2_IDENT_BT856 = 856, | 93 | V4L2_IDENT_BT856 = 856, |
93 | 94 | ||
@@ -99,6 +100,9 @@ enum { | |||
99 | V4L2_IDENT_KS0127 = 1127, | 100 | V4L2_IDENT_KS0127 = 1127, |
100 | V4L2_IDENT_KS0127B = 1128, | 101 | V4L2_IDENT_KS0127B = 1128, |
101 | 102 | ||
103 | /* module indycam: just ident 2000 */ | ||
104 | V4L2_IDENT_INDYCAM = 2000, | ||
105 | |||
102 | /* module vp27smpx: just ident 2700 */ | 106 | /* module vp27smpx: just ident 2700 */ |
103 | V4L2_IDENT_VP27SMPX = 2700, | 107 | V4L2_IDENT_VP27SMPX = 2700, |
104 | 108 | ||
@@ -162,21 +166,18 @@ enum { | |||
162 | /* module saa7706h: just ident 7706 */ | 166 | /* module saa7706h: just ident 7706 */ |
163 | V4L2_IDENT_SAA7706H = 7706, | 167 | V4L2_IDENT_SAA7706H = 7706, |
164 | 168 | ||
169 | /* module mt9v011, just ident 8243 */ | ||
170 | V4L2_IDENT_MT9V011 = 8243, | ||
171 | |||
165 | /* module wm8739: just ident 8739 */ | 172 | /* module wm8739: just ident 8739 */ |
166 | V4L2_IDENT_WM8739 = 8739, | 173 | V4L2_IDENT_WM8739 = 8739, |
167 | 174 | ||
168 | /* module wm8775: just ident 8775 */ | 175 | /* module wm8775: just ident 8775 */ |
169 | V4L2_IDENT_WM8775 = 8775, | 176 | V4L2_IDENT_WM8775 = 8775, |
170 | 177 | ||
171 | /* module tda9840: just ident 9840 */ | ||
172 | V4L2_IDENT_TDA9840 = 9840, | ||
173 | |||
174 | /* module cafe_ccic, just ident 8801 */ | 178 | /* module cafe_ccic, just ident 8801 */ |
175 | V4L2_IDENT_CAFE = 8801, | 179 | V4L2_IDENT_CAFE = 8801, |
176 | 180 | ||
177 | /* module mt9v011, just ident 8243 */ | ||
178 | V4L2_IDENT_MT9V011 = 8243, | ||
179 | |||
180 | /* module cx23885 and cx25840 */ | 181 | /* module cx23885 and cx25840 */ |
181 | V4L2_IDENT_CX23885 = 8850, | 182 | V4L2_IDENT_CX23885 = 8850, |
182 | V4L2_IDENT_CX23885_AV = 8851, /* Integrated A/V decoder */ | 183 | V4L2_IDENT_CX23885_AV = 8851, /* Integrated A/V decoder */ |
@@ -186,6 +187,9 @@ enum { | |||
186 | V4L2_IDENT_CX23888_AV = 8881, /* Integrated A/V decoder */ | 187 | V4L2_IDENT_CX23888_AV = 8881, /* Integrated A/V decoder */ |
187 | V4L2_IDENT_CX23888_IR = 8882, /* Integrated infrared controller */ | 188 | V4L2_IDENT_CX23888_IR = 8882, /* Integrated infrared controller */ |
188 | 189 | ||
190 | /* module tda9840: just ident 9840 */ | ||
191 | V4L2_IDENT_TDA9840 = 9840, | ||
192 | |||
189 | /* module tw9910: just ident 9910 */ | 193 | /* module tw9910: just ident 9910 */ |
190 | V4L2_IDENT_TW9910 = 9910, | 194 | V4L2_IDENT_TW9910 = 9910, |
191 | 195 | ||
@@ -198,72 +202,70 @@ enum { | |||
198 | V4L2_IDENT_CX23101 = 23101, | 202 | V4L2_IDENT_CX23101 = 23101, |
199 | V4L2_IDENT_CX23102 = 23102, | 203 | V4L2_IDENT_CX23102 = 23102, |
200 | 204 | ||
201 | /* module msp3400: reserved range 34000-34999 and 44000-44999 */ | 205 | /* module msp3400: reserved range 34000-34999 for msp34xx */ |
202 | V4L2_IDENT_MSPX4XX = 34000, /* generic MSPX4XX identifier, only | 206 | V4L2_IDENT_MSPX4XX = 34000, /* generic MSPX4XX identifier, only |
203 | use internally (tveeprom.c). */ | 207 | use internally (tveeprom.c). */ |
204 | 208 | ||
205 | V4L2_IDENT_MSP3400B = 34002, | 209 | V4L2_IDENT_MSP3400B = 34002, |
206 | V4L2_IDENT_MSP3410B = 34102, | ||
207 | |||
208 | V4L2_IDENT_MSP3400C = 34003, | 210 | V4L2_IDENT_MSP3400C = 34003, |
209 | V4L2_IDENT_MSP3410C = 34103, | ||
210 | |||
211 | V4L2_IDENT_MSP3400D = 34004, | 211 | V4L2_IDENT_MSP3400D = 34004, |
212 | V4L2_IDENT_MSP3410D = 34104, | 212 | V4L2_IDENT_MSP3400G = 34007, |
213 | V4L2_IDENT_MSP3401G = 34017, | ||
214 | V4L2_IDENT_MSP3402G = 34027, | ||
213 | V4L2_IDENT_MSP3405D = 34054, | 215 | V4L2_IDENT_MSP3405D = 34054, |
214 | V4L2_IDENT_MSP3415D = 34154, | 216 | V4L2_IDENT_MSP3405G = 34057, |
215 | V4L2_IDENT_MSP3407D = 34074, | 217 | V4L2_IDENT_MSP3407D = 34074, |
216 | V4L2_IDENT_MSP3417D = 34174, | 218 | V4L2_IDENT_MSP3407G = 34077, |
217 | 219 | ||
218 | V4L2_IDENT_MSP3400G = 34007, | 220 | V4L2_IDENT_MSP3410B = 34102, |
221 | V4L2_IDENT_MSP3410C = 34103, | ||
222 | V4L2_IDENT_MSP3410D = 34104, | ||
219 | V4L2_IDENT_MSP3410G = 34107, | 223 | V4L2_IDENT_MSP3410G = 34107, |
220 | V4L2_IDENT_MSP3420G = 34207, | ||
221 | V4L2_IDENT_MSP3430G = 34307, | ||
222 | V4L2_IDENT_MSP3440G = 34407, | ||
223 | V4L2_IDENT_MSP3450G = 34507, | ||
224 | V4L2_IDENT_MSP3460G = 34607, | ||
225 | |||
226 | V4L2_IDENT_MSP3401G = 34017, | ||
227 | V4L2_IDENT_MSP3411G = 34117, | 224 | V4L2_IDENT_MSP3411G = 34117, |
228 | V4L2_IDENT_MSP3421G = 34217, | ||
229 | V4L2_IDENT_MSP3431G = 34317, | ||
230 | V4L2_IDENT_MSP3441G = 34417, | ||
231 | V4L2_IDENT_MSP3451G = 34517, | ||
232 | V4L2_IDENT_MSP3461G = 34617, | ||
233 | |||
234 | V4L2_IDENT_MSP3402G = 34027, | ||
235 | V4L2_IDENT_MSP3412G = 34127, | 225 | V4L2_IDENT_MSP3412G = 34127, |
236 | V4L2_IDENT_MSP3422G = 34227, | 226 | V4L2_IDENT_MSP3415D = 34154, |
237 | V4L2_IDENT_MSP3442G = 34427, | ||
238 | V4L2_IDENT_MSP3452G = 34527, | ||
239 | |||
240 | V4L2_IDENT_MSP3405G = 34057, | ||
241 | V4L2_IDENT_MSP3415G = 34157, | 227 | V4L2_IDENT_MSP3415G = 34157, |
242 | V4L2_IDENT_MSP3425G = 34257, | 228 | V4L2_IDENT_MSP3417D = 34174, |
243 | V4L2_IDENT_MSP3435G = 34357, | ||
244 | V4L2_IDENT_MSP3445G = 34457, | ||
245 | V4L2_IDENT_MSP3455G = 34557, | ||
246 | V4L2_IDENT_MSP3465G = 34657, | ||
247 | |||
248 | V4L2_IDENT_MSP3407G = 34077, | ||
249 | V4L2_IDENT_MSP3417G = 34177, | 229 | V4L2_IDENT_MSP3417G = 34177, |
230 | |||
231 | V4L2_IDENT_MSP3420G = 34207, | ||
232 | V4L2_IDENT_MSP3421G = 34217, | ||
233 | V4L2_IDENT_MSP3422G = 34227, | ||
234 | V4L2_IDENT_MSP3425G = 34257, | ||
250 | V4L2_IDENT_MSP3427G = 34277, | 235 | V4L2_IDENT_MSP3427G = 34277, |
236 | |||
237 | V4L2_IDENT_MSP3430G = 34307, | ||
238 | V4L2_IDENT_MSP3431G = 34317, | ||
239 | V4L2_IDENT_MSP3435G = 34357, | ||
251 | V4L2_IDENT_MSP3437G = 34377, | 240 | V4L2_IDENT_MSP3437G = 34377, |
241 | |||
242 | V4L2_IDENT_MSP3440G = 34407, | ||
243 | V4L2_IDENT_MSP3441G = 34417, | ||
244 | V4L2_IDENT_MSP3442G = 34427, | ||
245 | V4L2_IDENT_MSP3445G = 34457, | ||
252 | V4L2_IDENT_MSP3447G = 34477, | 246 | V4L2_IDENT_MSP3447G = 34477, |
247 | |||
248 | V4L2_IDENT_MSP3450G = 34507, | ||
249 | V4L2_IDENT_MSP3451G = 34517, | ||
250 | V4L2_IDENT_MSP3452G = 34527, | ||
251 | V4L2_IDENT_MSP3455G = 34557, | ||
253 | V4L2_IDENT_MSP3457G = 34577, | 252 | V4L2_IDENT_MSP3457G = 34577, |
253 | |||
254 | V4L2_IDENT_MSP3460G = 34607, | ||
255 | V4L2_IDENT_MSP3461G = 34617, | ||
256 | V4L2_IDENT_MSP3465G = 34657, | ||
254 | V4L2_IDENT_MSP3467G = 34677, | 257 | V4L2_IDENT_MSP3467G = 34677, |
255 | 258 | ||
256 | /* module msp3400: reserved range 34000-34999 and 44000-44999 */ | 259 | /* module msp3400: reserved range 44000-44999 for msp44xx */ |
257 | V4L2_IDENT_MSP4400G = 44007, | 260 | V4L2_IDENT_MSP4400G = 44007, |
258 | V4L2_IDENT_MSP4410G = 44107, | ||
259 | V4L2_IDENT_MSP4420G = 44207, | ||
260 | V4L2_IDENT_MSP4440G = 44407, | ||
261 | V4L2_IDENT_MSP4450G = 44507, | ||
262 | |||
263 | V4L2_IDENT_MSP4408G = 44087, | 261 | V4L2_IDENT_MSP4408G = 44087, |
262 | V4L2_IDENT_MSP4410G = 44107, | ||
264 | V4L2_IDENT_MSP4418G = 44187, | 263 | V4L2_IDENT_MSP4418G = 44187, |
264 | V4L2_IDENT_MSP4420G = 44207, | ||
265 | V4L2_IDENT_MSP4428G = 44287, | 265 | V4L2_IDENT_MSP4428G = 44287, |
266 | V4L2_IDENT_MSP4440G = 44407, | ||
266 | V4L2_IDENT_MSP4448G = 44487, | 267 | V4L2_IDENT_MSP4448G = 44487, |
268 | V4L2_IDENT_MSP4450G = 44507, | ||
267 | V4L2_IDENT_MSP4458G = 44587, | 269 | V4L2_IDENT_MSP4458G = 44587, |
268 | 270 | ||
269 | /* Micron CMOS sensor chips: 45000-45099 */ | 271 | /* Micron CMOS sensor chips: 45000-45099 */ |
@@ -282,6 +284,12 @@ enum { | |||
282 | /* HV7131R CMOS sensor: just ident 46000 */ | 284 | /* HV7131R CMOS sensor: just ident 46000 */ |
283 | V4L2_IDENT_HV7131R = 46000, | 285 | V4L2_IDENT_HV7131R = 46000, |
284 | 286 | ||
287 | /* Sharp RJ54N1CB0C, 0xCB0C = 51980 */ | ||
288 | V4L2_IDENT_RJ54N1CB0C = 51980, | ||
289 | |||
290 | /* module m52790: just ident 52790 */ | ||
291 | V4L2_IDENT_M52790 = 52790, | ||
292 | |||
285 | /* module cs53132a: just ident 53132 */ | 293 | /* module cs53132a: just ident 53132 */ |
286 | V4L2_IDENT_CS53l32A = 53132, | 294 | V4L2_IDENT_CS53l32A = 53132, |
287 | 295 | ||
@@ -291,11 +299,7 @@ enum { | |||
291 | /* module upd64083: just ident 64083 */ | 299 | /* module upd64083: just ident 64083 */ |
292 | V4L2_IDENT_UPD64083 = 64083, | 300 | V4L2_IDENT_UPD64083 = 64083, |
293 | 301 | ||
294 | /* module m52790: just ident 52790 */ | 302 | /* Don't just add new IDs at the end: KEEP THIS LIST ORDERED BY ID! */ |
295 | V4L2_IDENT_M52790 = 52790, | ||
296 | |||
297 | /* Sharp RJ54N1CB0C, 0xCB0C = 51980 */ | ||
298 | V4L2_IDENT_RJ54N1CB0C = 51980, | ||
299 | }; | 303 | }; |
300 | 304 | ||
301 | #endif | 305 | #endif |