blob: 44fe44ec9ea7963bead81f104958ecb8d00cf6e3 [file] [log] [blame]
Hans Verkuil3434eb72007-04-27 12:31:08 -03001/*
2 v4l2 chip identifiers header
3
4 This header provides a list of chip identifiers that can be returned
Hans Verkuilaecde8b52008-12-30 07:14:19 -03005 through the VIDIOC_DBG_G_CHIP_IDENT ioctl.
Hans Verkuil3434eb72007-04-27 12:31:08 -03006
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
Hans Verkuilaecde8b52008-12-30 07:14:19 -030027/* VIDIOC_DBG_G_CHIP_IDENT: identifies the actual chip installed on the board */
Hans Verkuil32208d42010-03-14 08:01:55 -030028
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. */
Hans Verkuil3434eb72007-04-27 12:31:08 -030032enum {
33 /* general idents: reserved range 0-49 */
34 V4L2_IDENT_NONE = 0, /* No chip matched */
35 V4L2_IDENT_AMBIGUOUS = 1, /* Match too general, multiple chips matched */
36 V4L2_IDENT_UNKNOWN = 2, /* Chip found, but cannot identify */
37
Hans Verkuil74cab312007-04-27 12:31:26 -030038 /* module tvaudio: reserved range 50-99 */
39 V4L2_IDENT_TVAUDIO = 50, /* A tvaudio chip, unknown which it is exactly */
40
Guennadi Liakhovetski32e1f772010-10-05 12:32:41 -030041 /* Sony IMX074 */
42 V4L2_IDENT_IMX074 = 74,
43
Hans Verkuil74cab312007-04-27 12:31:26 -030044 /* module saa7110: just ident 100 */
Hans Verkuil3434eb72007-04-27 12:31:08 -030045 V4L2_IDENT_SAA7110 = 100,
46
Hans Verkuile7946842009-02-19 12:24:27 -030047 /* module saa7115: reserved range 101-149 */
Hans Verkuil3434eb72007-04-27 12:31:08 -030048 V4L2_IDENT_SAA7111 = 101,
Hans Verkuil340dde82010-02-20 08:07:51 -030049 V4L2_IDENT_SAA7111A = 102,
Hans Verkuil3434eb72007-04-27 12:31:08 -030050 V4L2_IDENT_SAA7113 = 103,
51 V4L2_IDENT_SAA7114 = 104,
52 V4L2_IDENT_SAA7115 = 105,
53 V4L2_IDENT_SAA7118 = 108,
54
55 /* module saa7127: reserved range 150-199 */
56 V4L2_IDENT_SAA7127 = 157,
57 V4L2_IDENT_SAA7129 = 159,
58
59 /* module cx25840: reserved range 200-249 */
60 V4L2_IDENT_CX25836 = 236,
61 V4L2_IDENT_CX25837 = 237,
62 V4L2_IDENT_CX25840 = 240,
63 V4L2_IDENT_CX25841 = 241,
64 V4L2_IDENT_CX25842 = 242,
65 V4L2_IDENT_CX25843 = 243,
66
Hans Verkuil74cab312007-04-27 12:31:26 -030067 /* OmniVision sensors: reserved range 250-299 */
Hans Verkuil3434eb72007-04-27 12:31:08 -030068 V4L2_IDENT_OV7670 = 250,
Kuninori Morimotoaeabc882008-12-18 11:05:49 -030069 V4L2_IDENT_OV7720 = 251,
Kuninori Morimoto3cac2ca2008-12-18 11:07:11 -030070 V4L2_IDENT_OV7725 = 252,
Brian Johnson26e744b2009-07-19 05:52:58 -030071 V4L2_IDENT_OV7660 = 253,
72 V4L2_IDENT_OV9650 = 254,
73 V4L2_IDENT_OV9655 = 255,
74 V4L2_IDENT_SOI968 = 256,
Marek Vasut8d648272009-09-23 04:59:24 -030075 V4L2_IDENT_OV9640 = 257,
Janusz Krzysztofik2f6e2402010-10-05 11:52:45 -030076 V4L2_IDENT_OV6650 = 258,
Alberto Panizzo3153ac92010-12-02 11:53:28 -030077 V4L2_IDENT_OV2640 = 259,
Hans Verkuil1b5888c2007-04-27 12:31:23 -030078
Hans Verkuil1b8dac12009-02-07 11:18:05 -030079 /* module saa7146: reserved range 300-309 */
80 V4L2_IDENT_SAA7146 = 300,
81
Andy Wallsfa3e7032009-02-16 02:23:25 -030082 /* Conexant MPEG encoder/decoders: reserved range 400-420 */
83 V4L2_IDENT_CX23418_843 = 403, /* Integrated A/V Decoder on the '418 */
Hans Verkuil1b5888c2007-04-27 12:31:23 -030084 V4L2_IDENT_CX23415 = 415,
85 V4L2_IDENT_CX23416 = 416,
Andy Wallsf56db932009-09-26 22:07:10 -030086 V4L2_IDENT_CX23417 = 417,
Hans Verkuil1c1e45d2008-04-28 20:24:33 -030087 V4L2_IDENT_CX23418 = 418,
Hans Verkuil74cab312007-04-27 12:31:26 -030088
Hans Verkuilc2179ad2009-02-19 06:36:36 -030089 /* module bt819: reserved range 810-819 */
90 V4L2_IDENT_BT815A = 815,
91 V4L2_IDENT_BT817A = 817,
92 V4L2_IDENT_BT819A = 819,
93
Hans Verkuil32208d42010-03-14 08:01:55 -030094 /* module au0828 */
95 V4L2_IDENT_AU0828 = 828,
96
Hans Verkuila91f56e2009-02-19 08:54:36 -030097 /* module bt856: just ident 856 */
98 V4L2_IDENT_BT856 = 856,
99
Hans Verkuil8e4e1d82009-02-19 04:49:29 -0300100 /* module bt866: just ident 866 */
101 V4L2_IDENT_BT866 = 866,
102
Hans Verkuil0750e972009-02-19 11:50:27 -0300103 /* module ks0127: reserved range 1120-1129 */
104 V4L2_IDENT_KS0122S = 1122,
105 V4L2_IDENT_KS0127 = 1127,
106 V4L2_IDENT_KS0127B = 1128,
107
Hans Verkuil32208d42010-03-14 08:01:55 -0300108 /* module indycam: just ident 2000 */
109 V4L2_IDENT_INDYCAM = 2000,
110
Hans Verkuilac247432007-07-27 06:56:50 -0300111 /* module vp27smpx: just ident 2700 */
112 V4L2_IDENT_VP27SMPX = 2700,
113
Hans Verkuil7e5eaad2009-02-19 14:36:53 -0300114 /* module vpx3220: reserved range: 3210-3229 */
115 V4L2_IDENT_VPX3214C = 3214,
116 V4L2_IDENT_VPX3216B = 3216,
117 V4L2_IDENT_VPX3220A = 3220,
118
Jonathan Corbet024fafbac2010-10-19 21:32:11 -0300119 /* VX855 just ident 3409 */
120 /* Other via devs could use 3314, 3324, 3327, 3336, 3364, 3353 */
121 V4L2_IDENT_VIA_VX855 = 3409,
122
Mauro Carvalho Chehabbc974302008-12-22 20:34:18 -0300123 /* module tvp5150 */
124 V4L2_IDENT_TVP5150 = 5150,
125
Hans Verkuil1b8dac12009-02-07 11:18:05 -0300126 /* module saa5246a: just ident 5246 */
127 V4L2_IDENT_SAA5246A = 5246,
128
129 /* module saa5249: just ident 5249 */
130 V4L2_IDENT_SAA5249 = 5249,
131
Hans Verkuil6fb377f2007-12-18 19:40:44 -0300132 /* module cs5345: just ident 5345 */
133 V4L2_IDENT_CS5345 = 5345,
134
Hans Verkuil1b8dac12009-02-07 11:18:05 -0300135 /* module tea6415c: just ident 6415 */
136 V4L2_IDENT_TEA6415C = 6415,
137
138 /* module tea6420: just ident 6420 */
139 V4L2_IDENT_TEA6420 = 6420,
140
Hans Verkuilf1f8c902009-02-11 19:28:30 -0300141 /* module saa6588: just ident 6588 */
142 V4L2_IDENT_SAA6588 = 6588,
143
Hans Verkuile281db582008-08-08 12:43:59 -0300144 /* module saa6752hs: reserved range 6750-6759 */
145 V4L2_IDENT_SAA6752HS = 6752,
146 V4L2_IDENT_SAA6752HS_AC3 = 6753,
147
Richard Röjforseea85b02009-09-22 10:14:39 -0300148 /* modules tef6862: just ident 6862 */
149 V4L2_IDENT_TEF6862 = 6862,
150
Santiago Nunez-Corralesff9118a2009-12-18 14:07:29 -0300151 /* module tvp7002: just ident 7002 */
152 V4L2_IDENT_TVP7002 = 7002,
153
Hans Verkuil7d9ef212009-02-19 14:47:22 -0300154 /* module adv7170: just ident 7170 */
155 V4L2_IDENT_ADV7170 = 7170,
156
157 /* module adv7175: just ident 7175 */
158 V4L2_IDENT_ADV7175 = 7175,
159
Richard Röjfors6789cb52009-09-18 21:17:20 -0300160 /* module adv7180: just ident 7180 */
161 V4L2_IDENT_ADV7180 = 7180,
162
Hans Verkuil780d8e12009-02-19 13:24:47 -0300163 /* module saa7185: just ident 7185 */
164 V4L2_IDENT_SAA7185 = 7185,
165
Hans Verkuil8340ff42009-02-13 19:58:12 -0300166 /* module saa7191: just ident 7191 */
167 V4L2_IDENT_SAA7191 = 7191,
168
Chaithrika U S40199c52009-05-07 09:29:25 -0300169 /* module ths7303: just ident 7303 */
170 V4L2_IDENT_THS7303 = 7303,
171
Chaithrika U S06e61f82009-05-07 09:30:01 -0300172 /* module adv7343: just ident 7343 */
173 V4L2_IDENT_ADV7343 = 7343,
174
Richard Röjforsee4b9db2010-02-02 19:40:49 -0300175 /* module saa7706h: just ident 7706 */
176 V4L2_IDENT_SAA7706H = 7706,
177
Hans Verkuil32208d42010-03-14 08:01:55 -0300178 /* module mt9v011, just ident 8243 */
179 V4L2_IDENT_MT9V011 = 8243,
180
Hans Verkuil74cab312007-04-27 12:31:26 -0300181 /* module wm8739: just ident 8739 */
182 V4L2_IDENT_WM8739 = 8739,
183
184 /* module wm8775: just ident 8775 */
185 V4L2_IDENT_WM8775 = 8775,
186
Hans Verkuil69d94f72009-03-18 13:25:54 -0300187 /* module cafe_ccic, just ident 8801 */
188 V4L2_IDENT_CAFE = 8801,
189
Guennadi Liakhovetskiaec11e52010-03-29 04:45:22 -0300190 /* AKM AK8813/AK8814 */
191 V4L2_IDENT_AK8813 = 8813,
192 V4L2_IDENT_AK8814 = 8814,
193
Andy Wallsf56db932009-09-26 22:07:10 -0300194 /* module cx23885 and cx25840 */
195 V4L2_IDENT_CX23885 = 8850,
196 V4L2_IDENT_CX23885_AV = 8851, /* Integrated A/V decoder */
197 V4L2_IDENT_CX23887 = 8870,
198 V4L2_IDENT_CX23887_AV = 8871, /* Integrated A/V decoder */
199 V4L2_IDENT_CX23888 = 8880,
200 V4L2_IDENT_CX23888_AV = 8881, /* Integrated A/V decoder */
201 V4L2_IDENT_CX23888_IR = 8882, /* Integrated infrared controller */
202
Hans Verkuil32208d42010-03-14 08:01:55 -0300203 /* module tda9840: just ident 9840 */
204 V4L2_IDENT_TDA9840 = 9840,
205
Kuninori Morimotoed922a82008-12-29 06:04:06 -0300206 /* module tw9910: just ident 9910 */
207 V4L2_IDENT_TW9910 = 9910,
208
Brian Johnson26e744b2009-07-19 05:52:58 -0300209 /* module sn9c20x: just ident 10000 */
210 V4L2_IDENT_SN9C20X = 10000,
211
Andy Wallsf56db932009-09-26 22:07:10 -0300212 /* module cx231xx and cx25840 */
213 V4L2_IDENT_CX2310X_AV = 23099, /* Integrated A/V decoder; not in '100 */
214 V4L2_IDENT_CX23100 = 23100,
215 V4L2_IDENT_CX23101 = 23101,
216 V4L2_IDENT_CX23102 = 23102,
217
Hans Verkuil32208d42010-03-14 08:01:55 -0300218 /* module msp3400: reserved range 34000-34999 for msp34xx */
Hans Verkuil38f9d302008-07-23 05:09:15 -0300219 V4L2_IDENT_MSPX4XX = 34000, /* generic MSPX4XX identifier, only
220 use internally (tveeprom.c). */
221
Hans Verkuil74cab312007-04-27 12:31:26 -0300222 V4L2_IDENT_MSP3400B = 34002,
Hans Verkuil74cab312007-04-27 12:31:26 -0300223 V4L2_IDENT_MSP3400C = 34003,
Hans Verkuil74cab312007-04-27 12:31:26 -0300224 V4L2_IDENT_MSP3400D = 34004,
Hans Verkuil74cab312007-04-27 12:31:26 -0300225 V4L2_IDENT_MSP3400G = 34007,
Hans Verkuil74cab312007-04-27 12:31:26 -0300226 V4L2_IDENT_MSP3401G = 34017,
Hans Verkuil74cab312007-04-27 12:31:26 -0300227 V4L2_IDENT_MSP3402G = 34027,
Hans Verkuil32208d42010-03-14 08:01:55 -0300228 V4L2_IDENT_MSP3405D = 34054,
Hans Verkuil74cab312007-04-27 12:31:26 -0300229 V4L2_IDENT_MSP3405G = 34057,
Hans Verkuil32208d42010-03-14 08:01:55 -0300230 V4L2_IDENT_MSP3407D = 34074,
Hans Verkuil74cab312007-04-27 12:31:26 -0300231 V4L2_IDENT_MSP3407G = 34077,
Hans Verkuil32208d42010-03-14 08:01:55 -0300232
233 V4L2_IDENT_MSP3410B = 34102,
234 V4L2_IDENT_MSP3410C = 34103,
235 V4L2_IDENT_MSP3410D = 34104,
236 V4L2_IDENT_MSP3410G = 34107,
237 V4L2_IDENT_MSP3411G = 34117,
238 V4L2_IDENT_MSP3412G = 34127,
239 V4L2_IDENT_MSP3415D = 34154,
240 V4L2_IDENT_MSP3415G = 34157,
241 V4L2_IDENT_MSP3417D = 34174,
Hans Verkuil74cab312007-04-27 12:31:26 -0300242 V4L2_IDENT_MSP3417G = 34177,
Hans Verkuil32208d42010-03-14 08:01:55 -0300243
244 V4L2_IDENT_MSP3420G = 34207,
245 V4L2_IDENT_MSP3421G = 34217,
246 V4L2_IDENT_MSP3422G = 34227,
247 V4L2_IDENT_MSP3425G = 34257,
Hans Verkuil74cab312007-04-27 12:31:26 -0300248 V4L2_IDENT_MSP3427G = 34277,
Hans Verkuil32208d42010-03-14 08:01:55 -0300249
250 V4L2_IDENT_MSP3430G = 34307,
251 V4L2_IDENT_MSP3431G = 34317,
252 V4L2_IDENT_MSP3435G = 34357,
Hans Verkuil74cab312007-04-27 12:31:26 -0300253 V4L2_IDENT_MSP3437G = 34377,
Hans Verkuil32208d42010-03-14 08:01:55 -0300254
255 V4L2_IDENT_MSP3440G = 34407,
256 V4L2_IDENT_MSP3441G = 34417,
257 V4L2_IDENT_MSP3442G = 34427,
258 V4L2_IDENT_MSP3445G = 34457,
Hans Verkuil74cab312007-04-27 12:31:26 -0300259 V4L2_IDENT_MSP3447G = 34477,
Hans Verkuil32208d42010-03-14 08:01:55 -0300260
261 V4L2_IDENT_MSP3450G = 34507,
262 V4L2_IDENT_MSP3451G = 34517,
263 V4L2_IDENT_MSP3452G = 34527,
264 V4L2_IDENT_MSP3455G = 34557,
Hans Verkuil74cab312007-04-27 12:31:26 -0300265 V4L2_IDENT_MSP3457G = 34577,
Hans Verkuil32208d42010-03-14 08:01:55 -0300266
267 V4L2_IDENT_MSP3460G = 34607,
268 V4L2_IDENT_MSP3461G = 34617,
269 V4L2_IDENT_MSP3465G = 34657,
Hans Verkuil74cab312007-04-27 12:31:26 -0300270 V4L2_IDENT_MSP3467G = 34677,
271
Hans Verkuil32208d42010-03-14 08:01:55 -0300272 /* module msp3400: reserved range 44000-44999 for msp44xx */
Hans Verkuil74cab312007-04-27 12:31:26 -0300273 V4L2_IDENT_MSP4400G = 44007,
Hans Verkuil74cab312007-04-27 12:31:26 -0300274 V4L2_IDENT_MSP4408G = 44087,
Hans Verkuil32208d42010-03-14 08:01:55 -0300275 V4L2_IDENT_MSP4410G = 44107,
Hans Verkuil74cab312007-04-27 12:31:26 -0300276 V4L2_IDENT_MSP4418G = 44187,
Hans Verkuil32208d42010-03-14 08:01:55 -0300277 V4L2_IDENT_MSP4420G = 44207,
Hans Verkuil74cab312007-04-27 12:31:26 -0300278 V4L2_IDENT_MSP4428G = 44287,
Hans Verkuil32208d42010-03-14 08:01:55 -0300279 V4L2_IDENT_MSP4440G = 44407,
Hans Verkuil74cab312007-04-27 12:31:26 -0300280 V4L2_IDENT_MSP4448G = 44487,
Hans Verkuil32208d42010-03-14 08:01:55 -0300281 V4L2_IDENT_MSP4450G = 44507,
Hans Verkuil74cab312007-04-27 12:31:26 -0300282 V4L2_IDENT_MSP4458G = 44587,
Guennadi Liakhovetskia7c74022008-04-22 14:42:03 -0300283
284 /* Micron CMOS sensor chips: 45000-45099 */
285 V4L2_IDENT_MT9M001C12ST = 45000,
286 V4L2_IDENT_MT9M001C12STM = 45005,
Robert Jarzmik9cc64932008-08-14 11:36:37 -0300287 V4L2_IDENT_MT9M111 = 45007,
Mike Rapoport9b9fd6c2008-12-18 11:42:54 -0300288 V4L2_IDENT_MT9M112 = 45008,
Guennadi Liakhovetskia7c74022008-04-22 14:42:03 -0300289 V4L2_IDENT_MT9V022IX7ATC = 45010, /* No way to detect "normal" I77ATx */
290 V4L2_IDENT_MT9V022IX7ATM = 45015, /* and "lead free" IA7ATx chips */
Guennadi Liakhovetski4e96fd02008-12-29 06:04:59 -0300291 V4L2_IDENT_MT9T031 = 45020,
Kuninori Morimoto858424b2009-12-11 11:53:55 -0300292 V4L2_IDENT_MT9T111 = 45021,
293 V4L2_IDENT_MT9T112 = 45022,
Brian Johnson26e744b2009-07-19 05:52:58 -0300294 V4L2_IDENT_MT9V111 = 45031,
295 V4L2_IDENT_MT9V112 = 45032,
296
297 /* HV7131R CMOS sensor: just ident 46000 */
298 V4L2_IDENT_HV7131R = 46000,
Hans Verkuil69d94f72009-03-18 13:25:54 -0300299
Hans Verkuil32208d42010-03-14 08:01:55 -0300300 /* Sharp RJ54N1CB0C, 0xCB0C = 51980 */
301 V4L2_IDENT_RJ54N1CB0C = 51980,
302
303 /* module m52790: just ident 52790 */
304 V4L2_IDENT_M52790 = 52790,
305
Hans Verkuil69d94f72009-03-18 13:25:54 -0300306 /* module cs53132a: just ident 53132 */
307 V4L2_IDENT_CS53l32A = 53132,
308
Dmitri Belimovd53b2132010-03-18 04:00:19 -0300309 /* modules upd61151 MPEG2 encoder: just ident 54000 */
310 V4L2_IDENT_UPD61161 = 54000,
311 /* modules upd61152 MPEG2 encoder with AC3: just ident 54001 */
312 V4L2_IDENT_UPD61162 = 54001,
313
Hans Verkuil69d94f72009-03-18 13:25:54 -0300314 /* module upd64031a: just ident 64031 */
315 V4L2_IDENT_UPD64031A = 64031,
316
317 /* module upd64083: just ident 64083 */
318 V4L2_IDENT_UPD64083 = 64083,
319
Hans Verkuil32208d42010-03-14 08:01:55 -0300320 /* Don't just add new IDs at the end: KEEP THIS LIST ORDERED BY ID! */
Hans Verkuil3434eb72007-04-27 12:31:08 -0300321};
322
323#endif