diff options
Diffstat (limited to 'include/media/v4l2-chip-ident.h')
| -rw-r--r-- | include/media/v4l2-chip-ident.h | 127 |
1 files changed, 70 insertions, 57 deletions
diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip-ident.h index 56abf21dd786..21b4428c12ab 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,20 +166,21 @@ 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 */ | 181 | /* AKM AK8813/AK8814 */ |
| 178 | V4L2_IDENT_MT9V011 = 8243, | 182 | V4L2_IDENT_AK8813 = 8813, |
| 183 | V4L2_IDENT_AK8814 = 8814, | ||
| 179 | 184 | ||
| 180 | /* module cx23885 and cx25840 */ | 185 | /* module cx23885 and cx25840 */ |
| 181 | V4L2_IDENT_CX23885 = 8850, | 186 | V4L2_IDENT_CX23885 = 8850, |
| @@ -186,6 +191,9 @@ enum { | |||
| 186 | V4L2_IDENT_CX23888_AV = 8881, /* Integrated A/V decoder */ | 191 | V4L2_IDENT_CX23888_AV = 8881, /* Integrated A/V decoder */ |
| 187 | V4L2_IDENT_CX23888_IR = 8882, /* Integrated infrared controller */ | 192 | V4L2_IDENT_CX23888_IR = 8882, /* Integrated infrared controller */ |
| 188 | 193 | ||
| 194 | /* module tda9840: just ident 9840 */ | ||
| 195 | V4L2_IDENT_TDA9840 = 9840, | ||
| 196 | |||
| 189 | /* module tw9910: just ident 9910 */ | 197 | /* module tw9910: just ident 9910 */ |
| 190 | V4L2_IDENT_TW9910 = 9910, | 198 | V4L2_IDENT_TW9910 = 9910, |
| 191 | 199 | ||
| @@ -198,72 +206,70 @@ enum { | |||
| 198 | V4L2_IDENT_CX23101 = 23101, | 206 | V4L2_IDENT_CX23101 = 23101, |
| 199 | V4L2_IDENT_CX23102 = 23102, | 207 | V4L2_IDENT_CX23102 = 23102, |
| 200 | 208 | ||
| 201 | /* module msp3400: reserved range 34000-34999 and 44000-44999 */ | 209 | /* module msp3400: reserved range 34000-34999 for msp34xx */ |
| 202 | V4L2_IDENT_MSPX4XX = 34000, /* generic MSPX4XX identifier, only | 210 | V4L2_IDENT_MSPX4XX = 34000, /* generic MSPX4XX identifier, only |
| 203 | use internally (tveeprom.c). */ | 211 | use internally (tveeprom.c). */ |
| 204 | 212 | ||
| 205 | V4L2_IDENT_MSP3400B = 34002, | 213 | V4L2_IDENT_MSP3400B = 34002, |
| 206 | V4L2_IDENT_MSP3410B = 34102, | ||
| 207 | |||
| 208 | V4L2_IDENT_MSP3400C = 34003, | 214 | V4L2_IDENT_MSP3400C = 34003, |
| 209 | V4L2_IDENT_MSP3410C = 34103, | ||
| 210 | |||
| 211 | V4L2_IDENT_MSP3400D = 34004, | 215 | V4L2_IDENT_MSP3400D = 34004, |
| 212 | V4L2_IDENT_MSP3410D = 34104, | 216 | V4L2_IDENT_MSP3400G = 34007, |
| 217 | V4L2_IDENT_MSP3401G = 34017, | ||
| 218 | V4L2_IDENT_MSP3402G = 34027, | ||
| 213 | V4L2_IDENT_MSP3405D = 34054, | 219 | V4L2_IDENT_MSP3405D = 34054, |
| 214 | V4L2_IDENT_MSP3415D = 34154, | 220 | V4L2_IDENT_MSP3405G = 34057, |
| 215 | V4L2_IDENT_MSP3407D = 34074, | 221 | V4L2_IDENT_MSP3407D = 34074, |
| 216 | V4L2_IDENT_MSP3417D = 34174, | 222 | V4L2_IDENT_MSP3407G = 34077, |
| 217 | 223 | ||
| 218 | V4L2_IDENT_MSP3400G = 34007, | 224 | V4L2_IDENT_MSP3410B = 34102, |
| 225 | V4L2_IDENT_MSP3410C = 34103, | ||
| 226 | V4L2_IDENT_MSP3410D = 34104, | ||
| 219 | V4L2_IDENT_MSP3410G = 34107, | 227 | 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, | 228 | 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, | 229 | V4L2_IDENT_MSP3412G = 34127, |
| 236 | V4L2_IDENT_MSP3422G = 34227, | 230 | 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, | 231 | V4L2_IDENT_MSP3415G = 34157, |
| 242 | V4L2_IDENT_MSP3425G = 34257, | 232 | 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, | 233 | V4L2_IDENT_MSP3417G = 34177, |
| 234 | |||
| 235 | V4L2_IDENT_MSP3420G = 34207, | ||
| 236 | V4L2_IDENT_MSP3421G = 34217, | ||
| 237 | V4L2_IDENT_MSP3422G = 34227, | ||
| 238 | V4L2_IDENT_MSP3425G = 34257, | ||
| 250 | V4L2_IDENT_MSP3427G = 34277, | 239 | V4L2_IDENT_MSP3427G = 34277, |
| 240 | |||
| 241 | V4L2_IDENT_MSP3430G = 34307, | ||
| 242 | V4L2_IDENT_MSP3431G = 34317, | ||
| 243 | V4L2_IDENT_MSP3435G = 34357, | ||
| 251 | V4L2_IDENT_MSP3437G = 34377, | 244 | V4L2_IDENT_MSP3437G = 34377, |
| 245 | |||
| 246 | V4L2_IDENT_MSP3440G = 34407, | ||
| 247 | V4L2_IDENT_MSP3441G = 34417, | ||
| 248 | V4L2_IDENT_MSP3442G = 34427, | ||
| 249 | V4L2_IDENT_MSP3445G = 34457, | ||
| 252 | V4L2_IDENT_MSP3447G = 34477, | 250 | V4L2_IDENT_MSP3447G = 34477, |
| 251 | |||
| 252 | V4L2_IDENT_MSP3450G = 34507, | ||
| 253 | V4L2_IDENT_MSP3451G = 34517, | ||
| 254 | V4L2_IDENT_MSP3452G = 34527, | ||
| 255 | V4L2_IDENT_MSP3455G = 34557, | ||
| 253 | V4L2_IDENT_MSP3457G = 34577, | 256 | V4L2_IDENT_MSP3457G = 34577, |
| 257 | |||
| 258 | V4L2_IDENT_MSP3460G = 34607, | ||
| 259 | V4L2_IDENT_MSP3461G = 34617, | ||
| 260 | V4L2_IDENT_MSP3465G = 34657, | ||
| 254 | V4L2_IDENT_MSP3467G = 34677, | 261 | V4L2_IDENT_MSP3467G = 34677, |
| 255 | 262 | ||
| 256 | /* module msp3400: reserved range 34000-34999 and 44000-44999 */ | 263 | /* module msp3400: reserved range 44000-44999 for msp44xx */ |
| 257 | V4L2_IDENT_MSP4400G = 44007, | 264 | 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, | 265 | V4L2_IDENT_MSP4408G = 44087, |
| 266 | V4L2_IDENT_MSP4410G = 44107, | ||
| 264 | V4L2_IDENT_MSP4418G = 44187, | 267 | V4L2_IDENT_MSP4418G = 44187, |
| 268 | V4L2_IDENT_MSP4420G = 44207, | ||
| 265 | V4L2_IDENT_MSP4428G = 44287, | 269 | V4L2_IDENT_MSP4428G = 44287, |
| 270 | V4L2_IDENT_MSP4440G = 44407, | ||
| 266 | V4L2_IDENT_MSP4448G = 44487, | 271 | V4L2_IDENT_MSP4448G = 44487, |
| 272 | V4L2_IDENT_MSP4450G = 44507, | ||
| 267 | V4L2_IDENT_MSP4458G = 44587, | 273 | V4L2_IDENT_MSP4458G = 44587, |
| 268 | 274 | ||
| 269 | /* Micron CMOS sensor chips: 45000-45099 */ | 275 | /* Micron CMOS sensor chips: 45000-45099 */ |
| @@ -282,20 +288,27 @@ enum { | |||
| 282 | /* HV7131R CMOS sensor: just ident 46000 */ | 288 | /* HV7131R CMOS sensor: just ident 46000 */ |
| 283 | V4L2_IDENT_HV7131R = 46000, | 289 | V4L2_IDENT_HV7131R = 46000, |
| 284 | 290 | ||
| 291 | /* Sharp RJ54N1CB0C, 0xCB0C = 51980 */ | ||
| 292 | V4L2_IDENT_RJ54N1CB0C = 51980, | ||
| 293 | |||
| 294 | /* module m52790: just ident 52790 */ | ||
| 295 | V4L2_IDENT_M52790 = 52790, | ||
| 296 | |||
| 285 | /* module cs53132a: just ident 53132 */ | 297 | /* module cs53132a: just ident 53132 */ |
| 286 | V4L2_IDENT_CS53l32A = 53132, | 298 | V4L2_IDENT_CS53l32A = 53132, |
| 287 | 299 | ||
| 300 | /* modules upd61151 MPEG2 encoder: just ident 54000 */ | ||
| 301 | V4L2_IDENT_UPD61161 = 54000, | ||
| 302 | /* modules upd61152 MPEG2 encoder with AC3: just ident 54001 */ | ||
| 303 | V4L2_IDENT_UPD61162 = 54001, | ||
| 304 | |||
| 288 | /* module upd64031a: just ident 64031 */ | 305 | /* module upd64031a: just ident 64031 */ |
| 289 | V4L2_IDENT_UPD64031A = 64031, | 306 | V4L2_IDENT_UPD64031A = 64031, |
| 290 | 307 | ||
| 291 | /* module upd64083: just ident 64083 */ | 308 | /* module upd64083: just ident 64083 */ |
| 292 | V4L2_IDENT_UPD64083 = 64083, | 309 | V4L2_IDENT_UPD64083 = 64083, |
| 293 | 310 | ||
| 294 | /* module m52790: just ident 52790 */ | 311 | /* 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 | }; | 312 | }; |
| 300 | 313 | ||
| 301 | #endif | 314 | #endif |
