V4L/DVB (13084): v4l2-chip-ident: Add ID's needed for the cx23885 and cx25840 modules
[linux-2.6.git] / include / media / v4l2-chip-ident.h
1 /*
2     v4l2 chip identifiers header
3
4     This header provides a list of chip identifiers that can be returned
5     through the VIDIOC_DBG_G_CHIP_IDENT ioctl.
6
7     Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
8
9     This program is free software; you can redistribute it and/or modify
10     it under the terms of the GNU General Public License as published by
11     the Free Software Foundation; either version 2 of the License, or
12     (at your option) any later version.
13
14     This program is distributed in the hope that it will be useful,
15     but WITHOUT ANY WARRANTY; without even the implied warranty of
16     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17     GNU General Public License for more details.
18
19     You should have received a copy of the GNU General Public License
20     along with this program; if not, write to the Free Software
21     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22  */
23
24 #ifndef V4L2_CHIP_IDENT_H_
25 #define V4L2_CHIP_IDENT_H_
26
27 /* VIDIOC_DBG_G_CHIP_IDENT: identifies the actual chip installed on the board */
28 enum {
29         /* general idents: reserved range 0-49 */
30         V4L2_IDENT_NONE      = 0,       /* No chip matched */
31         V4L2_IDENT_AMBIGUOUS = 1,       /* Match too general, multiple chips matched */
32         V4L2_IDENT_UNKNOWN   = 2,       /* Chip found, but cannot identify */
33
34         /* module tvaudio: reserved range 50-99 */
35         V4L2_IDENT_TVAUDIO = 50,        /* A tvaudio chip, unknown which it is exactly */
36
37         /* module saa7110: just ident 100 */
38         V4L2_IDENT_SAA7110 = 100,
39
40         /* module saa7115: reserved range 101-149 */
41         V4L2_IDENT_SAA7111 = 101,
42         V4L2_IDENT_SAA7113 = 103,
43         V4L2_IDENT_SAA7114 = 104,
44         V4L2_IDENT_SAA7115 = 105,
45         V4L2_IDENT_SAA7118 = 108,
46
47         /* module saa7127: reserved range 150-199 */
48         V4L2_IDENT_SAA7127 = 157,
49         V4L2_IDENT_SAA7129 = 159,
50
51         /* module cx25840: reserved range 200-249 */
52         V4L2_IDENT_CX25836 = 236,
53         V4L2_IDENT_CX25837 = 237,
54         V4L2_IDENT_CX25840 = 240,
55         V4L2_IDENT_CX25841 = 241,
56         V4L2_IDENT_CX25842 = 242,
57         V4L2_IDENT_CX25843 = 243,
58
59         /* OmniVision sensors: reserved range 250-299 */
60         V4L2_IDENT_OV7670 = 250,
61         V4L2_IDENT_OV7720 = 251,
62         V4L2_IDENT_OV7725 = 252,
63         V4L2_IDENT_OV7660 = 253,
64         V4L2_IDENT_OV9650 = 254,
65         V4L2_IDENT_OV9655 = 255,
66         V4L2_IDENT_SOI968 = 256,
67         V4L2_IDENT_OV9640 = 257,
68
69         /* module saa7146: reserved range 300-309 */
70         V4L2_IDENT_SAA7146 = 300,
71
72         /* Conexant MPEG encoder/decoders: reserved range 400-420 */
73         V4L2_IDENT_CX23418_843 = 403, /* Integrated A/V Decoder on the '418 */
74         V4L2_IDENT_CX23415 = 415,
75         V4L2_IDENT_CX23416 = 416,
76         V4L2_IDENT_CX23417 = 417,
77         V4L2_IDENT_CX23418 = 418,
78
79         /* module au0828 */
80         V4L2_IDENT_AU0828 = 828,
81
82         /* module indycam: just ident 2000 */
83         V4L2_IDENT_INDYCAM = 2000,
84
85         /* module bt819: reserved range 810-819 */
86         V4L2_IDENT_BT815A = 815,
87         V4L2_IDENT_BT817A = 817,
88         V4L2_IDENT_BT819A = 819,
89
90         /* module bt856: just ident 856 */
91         V4L2_IDENT_BT856 = 856,
92
93         /* module bt866: just ident 866 */
94         V4L2_IDENT_BT866 = 866,
95
96         /* module ks0127: reserved range 1120-1129 */
97         V4L2_IDENT_KS0122S = 1122,
98         V4L2_IDENT_KS0127  = 1127,
99         V4L2_IDENT_KS0127B = 1128,
100
101         /* module vp27smpx: just ident 2700 */
102         V4L2_IDENT_VP27SMPX = 2700,
103
104         /* module vpx3220: reserved range: 3210-3229 */
105         V4L2_IDENT_VPX3214C = 3214,
106         V4L2_IDENT_VPX3216B = 3216,
107         V4L2_IDENT_VPX3220A = 3220,
108
109         /* module tvp5150 */
110         V4L2_IDENT_TVP5150 = 5150,
111
112         /* module saa5246a: just ident 5246 */
113         V4L2_IDENT_SAA5246A = 5246,
114
115         /* module saa5249: just ident 5249 */
116         V4L2_IDENT_SAA5249 = 5249,
117
118         /* module cs5345: just ident 5345 */
119         V4L2_IDENT_CS5345 = 5345,
120
121         /* module tea6415c: just ident 6415 */
122         V4L2_IDENT_TEA6415C = 6415,
123
124         /* module tea6420: just ident 6420 */
125         V4L2_IDENT_TEA6420 = 6420,
126
127         /* module saa6588: just ident 6588 */
128         V4L2_IDENT_SAA6588 = 6588,
129
130         /* module saa6752hs: reserved range 6750-6759 */
131         V4L2_IDENT_SAA6752HS = 6752,
132         V4L2_IDENT_SAA6752HS_AC3 = 6753,
133
134         /* module adv7170: just ident 7170 */
135         V4L2_IDENT_ADV7170 = 7170,
136
137         /* module adv7175: just ident 7175 */
138         V4L2_IDENT_ADV7175 = 7175,
139
140         /* module adv7180: just ident 7180 */
141         V4L2_IDENT_ADV7180 = 7180,
142
143         /* module saa7185: just ident 7185 */
144         V4L2_IDENT_SAA7185 = 7185,
145
146         /* module saa7191: just ident 7191 */
147         V4L2_IDENT_SAA7191 = 7191,
148
149         /* module ths7303: just ident 7303 */
150         V4L2_IDENT_THS7303 = 7303,
151
152         /* module adv7343: just ident 7343 */
153         V4L2_IDENT_ADV7343 = 7343,
154
155         /* module wm8739: just ident 8739 */
156         V4L2_IDENT_WM8739 = 8739,
157
158         /* module wm8775: just ident 8775 */
159         V4L2_IDENT_WM8775 = 8775,
160
161         /* module tda9840: just ident 9840 */
162         V4L2_IDENT_TDA9840 = 9840,
163
164         /* module cafe_ccic, just ident 8801 */
165         V4L2_IDENT_CAFE = 8801,
166
167         /* module mt9v011, just ident 8243 */
168         V4L2_IDENT_MT9V011 = 8243,
169
170         /* module cx23885 and cx25840 */
171         V4L2_IDENT_CX23885    = 8850,
172         V4L2_IDENT_CX23885_AV = 8851, /* Integrated A/V decoder */
173         V4L2_IDENT_CX23887    = 8870,
174         V4L2_IDENT_CX23887_AV = 8871, /* Integrated A/V decoder */
175         V4L2_IDENT_CX23888    = 8880,
176         V4L2_IDENT_CX23888_AV = 8881, /* Integrated A/V decoder */
177         V4L2_IDENT_CX23888_IR = 8882, /* Integrated infrared controller */
178
179         /* module tw9910: just ident 9910 */
180         V4L2_IDENT_TW9910 = 9910,
181
182         /* module sn9c20x: just ident 10000 */
183         V4L2_IDENT_SN9C20X = 10000,
184
185         /* module cx231xx and cx25840 */
186         V4L2_IDENT_CX2310X_AV = 23099, /* Integrated A/V decoder; not in '100 */
187         V4L2_IDENT_CX23100    = 23100,
188         V4L2_IDENT_CX23101    = 23101,
189         V4L2_IDENT_CX23102    = 23102,
190
191         /* module msp3400: reserved range 34000-34999 and 44000-44999 */
192         V4L2_IDENT_MSPX4XX  = 34000, /* generic MSPX4XX identifier, only
193                                         use internally (tveeprom.c). */
194
195         V4L2_IDENT_MSP3400B = 34002,
196         V4L2_IDENT_MSP3410B = 34102,
197
198         V4L2_IDENT_MSP3400C = 34003,
199         V4L2_IDENT_MSP3410C = 34103,
200
201         V4L2_IDENT_MSP3400D = 34004,
202         V4L2_IDENT_MSP3410D = 34104,
203         V4L2_IDENT_MSP3405D = 34054,
204         V4L2_IDENT_MSP3415D = 34154,
205         V4L2_IDENT_MSP3407D = 34074,
206         V4L2_IDENT_MSP3417D = 34174,
207
208         V4L2_IDENT_MSP3400G = 34007,
209         V4L2_IDENT_MSP3410G = 34107,
210         V4L2_IDENT_MSP3420G = 34207,
211         V4L2_IDENT_MSP3430G = 34307,
212         V4L2_IDENT_MSP3440G = 34407,
213         V4L2_IDENT_MSP3450G = 34507,
214         V4L2_IDENT_MSP3460G = 34607,
215
216         V4L2_IDENT_MSP3401G = 34017,
217         V4L2_IDENT_MSP3411G = 34117,
218         V4L2_IDENT_MSP3421G = 34217,
219         V4L2_IDENT_MSP3431G = 34317,
220         V4L2_IDENT_MSP3441G = 34417,
221         V4L2_IDENT_MSP3451G = 34517,
222         V4L2_IDENT_MSP3461G = 34617,
223
224         V4L2_IDENT_MSP3402G = 34027,
225         V4L2_IDENT_MSP3412G = 34127,
226         V4L2_IDENT_MSP3422G = 34227,
227         V4L2_IDENT_MSP3442G = 34427,
228         V4L2_IDENT_MSP3452G = 34527,
229
230         V4L2_IDENT_MSP3405G = 34057,
231         V4L2_IDENT_MSP3415G = 34157,
232         V4L2_IDENT_MSP3425G = 34257,
233         V4L2_IDENT_MSP3435G = 34357,
234         V4L2_IDENT_MSP3445G = 34457,
235         V4L2_IDENT_MSP3455G = 34557,
236         V4L2_IDENT_MSP3465G = 34657,
237
238         V4L2_IDENT_MSP3407G = 34077,
239         V4L2_IDENT_MSP3417G = 34177,
240         V4L2_IDENT_MSP3427G = 34277,
241         V4L2_IDENT_MSP3437G = 34377,
242         V4L2_IDENT_MSP3447G = 34477,
243         V4L2_IDENT_MSP3457G = 34577,
244         V4L2_IDENT_MSP3467G = 34677,
245
246         /* module msp3400: reserved range 34000-34999 and 44000-44999 */
247         V4L2_IDENT_MSP4400G = 44007,
248         V4L2_IDENT_MSP4410G = 44107,
249         V4L2_IDENT_MSP4420G = 44207,
250         V4L2_IDENT_MSP4440G = 44407,
251         V4L2_IDENT_MSP4450G = 44507,
252
253         V4L2_IDENT_MSP4408G = 44087,
254         V4L2_IDENT_MSP4418G = 44187,
255         V4L2_IDENT_MSP4428G = 44287,
256         V4L2_IDENT_MSP4448G = 44487,
257         V4L2_IDENT_MSP4458G = 44587,
258
259         /* Micron CMOS sensor chips: 45000-45099 */
260         V4L2_IDENT_MT9M001C12ST         = 45000,
261         V4L2_IDENT_MT9M001C12STM        = 45005,
262         V4L2_IDENT_MT9M111              = 45007,
263         V4L2_IDENT_MT9M112              = 45008,
264         V4L2_IDENT_MT9V022IX7ATC        = 45010, /* No way to detect "normal" I77ATx */
265         V4L2_IDENT_MT9V022IX7ATM        = 45015, /* and "lead free" IA7ATx chips */
266         V4L2_IDENT_MT9T031              = 45020,
267         V4L2_IDENT_MT9V111              = 45031,
268         V4L2_IDENT_MT9V112              = 45032,
269
270         /* HV7131R CMOS sensor: just ident 46000 */
271         V4L2_IDENT_HV7131R              = 46000,
272
273         /* module cs53132a: just ident 53132 */
274         V4L2_IDENT_CS53l32A = 53132,
275
276         /* module upd64031a: just ident 64031 */
277         V4L2_IDENT_UPD64031A = 64031,
278
279         /* module upd64083: just ident 64083 */
280         V4L2_IDENT_UPD64083 = 64083,
281
282         /* module m52790: just ident 52790 */
283         V4L2_IDENT_M52790 = 52790,
284 };
285
286 #endif