]> bbs.cooldavid.org Git - net-next-2.6.git/blame - include/media/v4l2-chip-ident.h
V4L/DVB: V4L: v4l2-subdev driver for AK8813 and AK8814 TV-encoders from AKM
[net-next-2.6.git] / include / media / v4l2-chip-ident.h
CommitLineData
3434eb7e
HV
1/*
2 v4l2 chip identifiers header
3
4 This header provides a list of chip identifiers that can be returned
aecde8b5 5 through the VIDIOC_DBG_G_CHIP_IDENT ioctl.
3434eb7e
HV
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
aecde8b5 27/* VIDIOC_DBG_G_CHIP_IDENT: identifies the actual chip installed on the board */
32208d44
HV
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. */
3434eb7e
HV
32enum {
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
74cab31c
HV
38 /* module tvaudio: reserved range 50-99 */
39 V4L2_IDENT_TVAUDIO = 50, /* A tvaudio chip, unknown which it is exactly */
40
41 /* module saa7110: just ident 100 */
3434eb7e
HV
42 V4L2_IDENT_SAA7110 = 100,
43
e7946844 44 /* module saa7115: reserved range 101-149 */
3434eb7e 45 V4L2_IDENT_SAA7111 = 101,
340dde81 46 V4L2_IDENT_SAA7111A = 102,
3434eb7e
HV
47 V4L2_IDENT_SAA7113 = 103,
48 V4L2_IDENT_SAA7114 = 104,
49 V4L2_IDENT_SAA7115 = 105,
50 V4L2_IDENT_SAA7118 = 108,
51
52 /* module saa7127: reserved range 150-199 */
53 V4L2_IDENT_SAA7127 = 157,
54 V4L2_IDENT_SAA7129 = 159,
55
56 /* module cx25840: reserved range 200-249 */
57 V4L2_IDENT_CX25836 = 236,
58 V4L2_IDENT_CX25837 = 237,
59 V4L2_IDENT_CX25840 = 240,
60 V4L2_IDENT_CX25841 = 241,
61 V4L2_IDENT_CX25842 = 242,
62 V4L2_IDENT_CX25843 = 243,
63
74cab31c 64 /* OmniVision sensors: reserved range 250-299 */
3434eb7e 65 V4L2_IDENT_OV7670 = 250,
aeabc882 66 V4L2_IDENT_OV7720 = 251,
3cac2cab 67 V4L2_IDENT_OV7725 = 252,
26e744b6
BJ
68 V4L2_IDENT_OV7660 = 253,
69 V4L2_IDENT_OV9650 = 254,
70 V4L2_IDENT_OV9655 = 255,
71 V4L2_IDENT_SOI968 = 256,
8d648271 72 V4L2_IDENT_OV9640 = 257,
1b5888ce 73
1b8dac15
HV
74 /* module saa7146: reserved range 300-309 */
75 V4L2_IDENT_SAA7146 = 300,
76
fa3e7036
AW
77 /* Conexant MPEG encoder/decoders: reserved range 400-420 */
78 V4L2_IDENT_CX23418_843 = 403, /* Integrated A/V Decoder on the '418 */
1b5888ce
HV
79 V4L2_IDENT_CX23415 = 415,
80 V4L2_IDENT_CX23416 = 416,
f56db93c 81 V4L2_IDENT_CX23417 = 417,
1c1e45d1 82 V4L2_IDENT_CX23418 = 418,
74cab31c 83
c2179ad8
HV
84 /* module bt819: reserved range 810-819 */
85 V4L2_IDENT_BT815A = 815,
86 V4L2_IDENT_BT817A = 817,
87 V4L2_IDENT_BT819A = 819,
88
32208d44
HV
89 /* module au0828 */
90 V4L2_IDENT_AU0828 = 828,
91
a91f56e7
HV
92 /* module bt856: just ident 856 */
93 V4L2_IDENT_BT856 = 856,
94
8e4e1d80
HV
95 /* module bt866: just ident 866 */
96 V4L2_IDENT_BT866 = 866,
97
0750e971
HV
98 /* module ks0127: reserved range 1120-1129 */
99 V4L2_IDENT_KS0122S = 1122,
100 V4L2_IDENT_KS0127 = 1127,
101 V4L2_IDENT_KS0127B = 1128,
102
32208d44
HV
103 /* module indycam: just ident 2000 */
104 V4L2_IDENT_INDYCAM = 2000,
105
ac247433
HV
106 /* module vp27smpx: just ident 2700 */
107 V4L2_IDENT_VP27SMPX = 2700,
108
7e5eaadc
HV
109 /* module vpx3220: reserved range: 3210-3229 */
110 V4L2_IDENT_VPX3214C = 3214,
111 V4L2_IDENT_VPX3216B = 3216,
112 V4L2_IDENT_VPX3220A = 3220,
113
bc974305
MCC
114 /* module tvp5150 */
115 V4L2_IDENT_TVP5150 = 5150,
116
1b8dac15
HV
117 /* module saa5246a: just ident 5246 */
118 V4L2_IDENT_SAA5246A = 5246,
119
120 /* module saa5249: just ident 5249 */
121 V4L2_IDENT_SAA5249 = 5249,
122
6fb377f8
HV
123 /* module cs5345: just ident 5345 */
124 V4L2_IDENT_CS5345 = 5345,
125
1b8dac15
HV
126 /* module tea6415c: just ident 6415 */
127 V4L2_IDENT_TEA6415C = 6415,
128
129 /* module tea6420: just ident 6420 */
130 V4L2_IDENT_TEA6420 = 6420,
131
f1f8c907
HV
132 /* module saa6588: just ident 6588 */
133 V4L2_IDENT_SAA6588 = 6588,
134
e281db58
HV
135 /* module saa6752hs: reserved range 6750-6759 */
136 V4L2_IDENT_SAA6752HS = 6752,
137 V4L2_IDENT_SAA6752HS_AC3 = 6753,
138
eea85b0a
RR
139 /* modules tef6862: just ident 6862 */
140 V4L2_IDENT_TEF6862 = 6862,
141
ff9118a5
SNC
142 /* module tvp7002: just ident 7002 */
143 V4L2_IDENT_TVP7002 = 7002,
144
7d9ef21c
HV
145 /* module adv7170: just ident 7170 */
146 V4L2_IDENT_ADV7170 = 7170,
147
148 /* module adv7175: just ident 7175 */
149 V4L2_IDENT_ADV7175 = 7175,
150
6789cb52
RR
151 /* module adv7180: just ident 7180 */
152 V4L2_IDENT_ADV7180 = 7180,
153
780d8e15
HV
154 /* module saa7185: just ident 7185 */
155 V4L2_IDENT_SAA7185 = 7185,
156
8340ff43
HV
157 /* module saa7191: just ident 7191 */
158 V4L2_IDENT_SAA7191 = 7191,
159
40199c50
C
160 /* module ths7303: just ident 7303 */
161 V4L2_IDENT_THS7303 = 7303,
162
06e61f8d
C
163 /* module adv7343: just ident 7343 */
164 V4L2_IDENT_ADV7343 = 7343,
165
ee4b9dbb
RR
166 /* module saa7706h: just ident 7706 */
167 V4L2_IDENT_SAA7706H = 7706,
168
32208d44
HV
169 /* module mt9v011, just ident 8243 */
170 V4L2_IDENT_MT9V011 = 8243,
171
74cab31c
HV
172 /* module wm8739: just ident 8739 */
173 V4L2_IDENT_WM8739 = 8739,
174
175 /* module wm8775: just ident 8775 */
176 V4L2_IDENT_WM8775 = 8775,
177
69d94f7e
HV
178 /* module cafe_ccic, just ident 8801 */
179 V4L2_IDENT_CAFE = 8801,
180
aec11e5d
GL
181 /* AKM AK8813/AK8814 */
182 V4L2_IDENT_AK8813 = 8813,
183 V4L2_IDENT_AK8814 = 8814,
184
f56db93c
AW
185 /* module cx23885 and cx25840 */
186 V4L2_IDENT_CX23885 = 8850,
187 V4L2_IDENT_CX23885_AV = 8851, /* Integrated A/V decoder */
188 V4L2_IDENT_CX23887 = 8870,
189 V4L2_IDENT_CX23887_AV = 8871, /* Integrated A/V decoder */
190 V4L2_IDENT_CX23888 = 8880,
191 V4L2_IDENT_CX23888_AV = 8881, /* Integrated A/V decoder */
192 V4L2_IDENT_CX23888_IR = 8882, /* Integrated infrared controller */
193
32208d44
HV
194 /* module tda9840: just ident 9840 */
195 V4L2_IDENT_TDA9840 = 9840,
196
ed922a89
KM
197 /* module tw9910: just ident 9910 */
198 V4L2_IDENT_TW9910 = 9910,
199
26e744b6
BJ
200 /* module sn9c20x: just ident 10000 */
201 V4L2_IDENT_SN9C20X = 10000,
202
f56db93c
AW
203 /* module cx231xx and cx25840 */
204 V4L2_IDENT_CX2310X_AV = 23099, /* Integrated A/V decoder; not in '100 */
205 V4L2_IDENT_CX23100 = 23100,
206 V4L2_IDENT_CX23101 = 23101,
207 V4L2_IDENT_CX23102 = 23102,
208
32208d44 209 /* module msp3400: reserved range 34000-34999 for msp34xx */
38f9d308
HV
210 V4L2_IDENT_MSPX4XX = 34000, /* generic MSPX4XX identifier, only
211 use internally (tveeprom.c). */
212
74cab31c 213 V4L2_IDENT_MSP3400B = 34002,
74cab31c 214 V4L2_IDENT_MSP3400C = 34003,
74cab31c 215 V4L2_IDENT_MSP3400D = 34004,
32208d44
HV
216 V4L2_IDENT_MSP3400G = 34007,
217 V4L2_IDENT_MSP3401G = 34017,
218 V4L2_IDENT_MSP3402G = 34027,
74cab31c 219 V4L2_IDENT_MSP3405D = 34054,
32208d44 220 V4L2_IDENT_MSP3405G = 34057,
74cab31c 221 V4L2_IDENT_MSP3407D = 34074,
32208d44 222 V4L2_IDENT_MSP3407G = 34077,
74cab31c 223
32208d44
HV
224 V4L2_IDENT_MSP3410B = 34102,
225 V4L2_IDENT_MSP3410C = 34103,
226 V4L2_IDENT_MSP3410D = 34104,
74cab31c 227 V4L2_IDENT_MSP3410G = 34107,
74cab31c 228 V4L2_IDENT_MSP3411G = 34117,
74cab31c 229 V4L2_IDENT_MSP3412G = 34127,
32208d44 230 V4L2_IDENT_MSP3415D = 34154,
74cab31c 231 V4L2_IDENT_MSP3415G = 34157,
32208d44 232 V4L2_IDENT_MSP3417D = 34174,
74cab31c 233 V4L2_IDENT_MSP3417G = 34177,
32208d44
HV
234
235 V4L2_IDENT_MSP3420G = 34207,
236 V4L2_IDENT_MSP3421G = 34217,
237 V4L2_IDENT_MSP3422G = 34227,
238 V4L2_IDENT_MSP3425G = 34257,
74cab31c 239 V4L2_IDENT_MSP3427G = 34277,
32208d44
HV
240
241 V4L2_IDENT_MSP3430G = 34307,
242 V4L2_IDENT_MSP3431G = 34317,
243 V4L2_IDENT_MSP3435G = 34357,
74cab31c 244 V4L2_IDENT_MSP3437G = 34377,
32208d44
HV
245
246 V4L2_IDENT_MSP3440G = 34407,
247 V4L2_IDENT_MSP3441G = 34417,
248 V4L2_IDENT_MSP3442G = 34427,
249 V4L2_IDENT_MSP3445G = 34457,
74cab31c 250 V4L2_IDENT_MSP3447G = 34477,
32208d44
HV
251
252 V4L2_IDENT_MSP3450G = 34507,
253 V4L2_IDENT_MSP3451G = 34517,
254 V4L2_IDENT_MSP3452G = 34527,
255 V4L2_IDENT_MSP3455G = 34557,
74cab31c 256 V4L2_IDENT_MSP3457G = 34577,
32208d44
HV
257
258 V4L2_IDENT_MSP3460G = 34607,
259 V4L2_IDENT_MSP3461G = 34617,
260 V4L2_IDENT_MSP3465G = 34657,
74cab31c
HV
261 V4L2_IDENT_MSP3467G = 34677,
262
32208d44 263 /* module msp3400: reserved range 44000-44999 for msp44xx */
74cab31c 264 V4L2_IDENT_MSP4400G = 44007,
74cab31c 265 V4L2_IDENT_MSP4408G = 44087,
32208d44 266 V4L2_IDENT_MSP4410G = 44107,
74cab31c 267 V4L2_IDENT_MSP4418G = 44187,
32208d44 268 V4L2_IDENT_MSP4420G = 44207,
74cab31c 269 V4L2_IDENT_MSP4428G = 44287,
32208d44 270 V4L2_IDENT_MSP4440G = 44407,
74cab31c 271 V4L2_IDENT_MSP4448G = 44487,
32208d44 272 V4L2_IDENT_MSP4450G = 44507,
74cab31c 273 V4L2_IDENT_MSP4458G = 44587,
a7c7402f
GL
274
275 /* Micron CMOS sensor chips: 45000-45099 */
276 V4L2_IDENT_MT9M001C12ST = 45000,
277 V4L2_IDENT_MT9M001C12STM = 45005,
9cc6493d 278 V4L2_IDENT_MT9M111 = 45007,
9b9fd6c7 279 V4L2_IDENT_MT9M112 = 45008,
a7c7402f
GL
280 V4L2_IDENT_MT9V022IX7ATC = 45010, /* No way to detect "normal" I77ATx */
281 V4L2_IDENT_MT9V022IX7ATM = 45015, /* and "lead free" IA7ATx chips */
4e96fd08 282 V4L2_IDENT_MT9T031 = 45020,
858424b9
KM
283 V4L2_IDENT_MT9T111 = 45021,
284 V4L2_IDENT_MT9T112 = 45022,
26e744b6
BJ
285 V4L2_IDENT_MT9V111 = 45031,
286 V4L2_IDENT_MT9V112 = 45032,
287
288 /* HV7131R CMOS sensor: just ident 46000 */
289 V4L2_IDENT_HV7131R = 46000,
69d94f7e 290
32208d44
HV
291 /* Sharp RJ54N1CB0C, 0xCB0C = 51980 */
292 V4L2_IDENT_RJ54N1CB0C = 51980,
293
294 /* module m52790: just ident 52790 */
295 V4L2_IDENT_M52790 = 52790,
296
69d94f7e
HV
297 /* module cs53132a: just ident 53132 */
298 V4L2_IDENT_CS53l32A = 53132,
299
d53b213c
DB
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
69d94f7e
HV
305 /* module upd64031a: just ident 64031 */
306 V4L2_IDENT_UPD64031A = 64031,
307
308 /* module upd64083: just ident 64083 */
309 V4L2_IDENT_UPD64083 = 64083,
310
32208d44 311 /* Don't just add new IDs at the end: KEEP THIS LIST ORDERED BY ID! */
3434eb7e
HV
312};
313
314#endif