V4L/DVB (10726): vpx3220: convert to v4l2_subdev.
[GitHub/mt8127/android_kernel_alcatel_ttab.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 */
3434eb7e
HV
28enum {
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
74cab31c
HV
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 */
3434eb7e
HV
38 V4L2_IDENT_SAA7110 = 100,
39
e7946844 40 /* module saa7115: reserved range 101-149 */
3434eb7e 41 V4L2_IDENT_SAA7111 = 101,
3434eb7e
HV
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
74cab31c 59 /* OmniVision sensors: reserved range 250-299 */
3434eb7e 60 V4L2_IDENT_OV7670 = 250,
aeabc882 61 V4L2_IDENT_OV7720 = 251,
3cac2cab 62 V4L2_IDENT_OV7725 = 252,
1b5888ce 63
1b8dac15
HV
64 /* module saa7146: reserved range 300-309 */
65 V4L2_IDENT_SAA7146 = 300,
66
74cab31c 67 /* Conexant MPEG encoder/decoders: reserved range 410-420 */
1b5888ce
HV
68 V4L2_IDENT_CX23415 = 415,
69 V4L2_IDENT_CX23416 = 416,
1c1e45d1 70 V4L2_IDENT_CX23418 = 418,
74cab31c 71
c2179ad8
HV
72 /* module bt819: reserved range 810-819 */
73 V4L2_IDENT_BT815A = 815,
74 V4L2_IDENT_BT817A = 817,
75 V4L2_IDENT_BT819A = 819,
76
a91f56e7
HV
77 /* module bt856: just ident 856 */
78 V4L2_IDENT_BT856 = 856,
79
8e4e1d80
HV
80 /* module bt866: just ident 866 */
81 V4L2_IDENT_BT866 = 866,
82
0750e971
HV
83 /* module ks0127: reserved range 1120-1129 */
84 V4L2_IDENT_KS0122S = 1122,
85 V4L2_IDENT_KS0127 = 1127,
86 V4L2_IDENT_KS0127B = 1128,
87
ac247433
HV
88 /* module vp27smpx: just ident 2700 */
89 V4L2_IDENT_VP27SMPX = 2700,
90
7e5eaadc
HV
91 /* module vpx3220: reserved range: 3210-3229 */
92 V4L2_IDENT_VPX3214C = 3214,
93 V4L2_IDENT_VPX3216B = 3216,
94 V4L2_IDENT_VPX3220A = 3220,
95
bc974305
MCC
96 /* module tvp5150 */
97 V4L2_IDENT_TVP5150 = 5150,
98
1b8dac15
HV
99 /* module saa5246a: just ident 5246 */
100 V4L2_IDENT_SAA5246A = 5246,
101
102 /* module saa5249: just ident 5249 */
103 V4L2_IDENT_SAA5249 = 5249,
104
6fb377f8
HV
105 /* module cs5345: just ident 5345 */
106 V4L2_IDENT_CS5345 = 5345,
107
1b8dac15
HV
108 /* module tea6415c: just ident 6415 */
109 V4L2_IDENT_TEA6415C = 6415,
110
111 /* module tea6420: just ident 6420 */
112 V4L2_IDENT_TEA6420 = 6420,
113
f1f8c907
HV
114 /* module saa6588: just ident 6588 */
115 V4L2_IDENT_SAA6588 = 6588,
116
e281db58
HV
117 /* module saa6752hs: reserved range 6750-6759 */
118 V4L2_IDENT_SAA6752HS = 6752,
119 V4L2_IDENT_SAA6752HS_AC3 = 6753,
120
780d8e15
HV
121 /* module saa7185: just ident 7185 */
122 V4L2_IDENT_SAA7185 = 7185,
123
74cab31c
HV
124 /* module wm8739: just ident 8739 */
125 V4L2_IDENT_WM8739 = 8739,
126
127 /* module wm8775: just ident 8775 */
128 V4L2_IDENT_WM8775 = 8775,
129
1b8dac15
HV
130 /* module tda9840: just ident 9840 */
131 V4L2_IDENT_TDA9840 = 9840,
132
ed922a89
KM
133 /* module tw9910: just ident 9910 */
134 V4L2_IDENT_TW9910 = 9910,
135
74cab31c
HV
136 /* module cs53132a: just ident 53132 */
137 V4L2_IDENT_CS53l32A = 53132,
138
139 /* module upd64031a: just ident 64031 */
140 V4L2_IDENT_UPD64031A = 64031,
141
142 /* module upd64083: just ident 64083 */
143 V4L2_IDENT_UPD64083 = 64083,
144
761dacd2
HV
145 /* module m52790: just ident 52790 */
146 V4L2_IDENT_M52790 = 52790,
147
38f9d308
HV
148 /* module msp3400: reserved range 34000-34999 and 44000-44999 */
149 V4L2_IDENT_MSPX4XX = 34000, /* generic MSPX4XX identifier, only
150 use internally (tveeprom.c). */
151
74cab31c
HV
152 V4L2_IDENT_MSP3400B = 34002,
153 V4L2_IDENT_MSP3410B = 34102,
154
155 V4L2_IDENT_MSP3400C = 34003,
156 V4L2_IDENT_MSP3410C = 34103,
157
158 V4L2_IDENT_MSP3400D = 34004,
159 V4L2_IDENT_MSP3410D = 34104,
160 V4L2_IDENT_MSP3405D = 34054,
161 V4L2_IDENT_MSP3415D = 34154,
162 V4L2_IDENT_MSP3407D = 34074,
163 V4L2_IDENT_MSP3417D = 34174,
164
165 V4L2_IDENT_MSP3400G = 34007,
166 V4L2_IDENT_MSP3410G = 34107,
167 V4L2_IDENT_MSP3420G = 34207,
168 V4L2_IDENT_MSP3430G = 34307,
169 V4L2_IDENT_MSP3440G = 34407,
170 V4L2_IDENT_MSP3450G = 34507,
171 V4L2_IDENT_MSP3460G = 34607,
172
173 V4L2_IDENT_MSP3401G = 34017,
174 V4L2_IDENT_MSP3411G = 34117,
175 V4L2_IDENT_MSP3421G = 34217,
176 V4L2_IDENT_MSP3431G = 34317,
177 V4L2_IDENT_MSP3441G = 34417,
178 V4L2_IDENT_MSP3451G = 34517,
179 V4L2_IDENT_MSP3461G = 34617,
180
181 V4L2_IDENT_MSP3402G = 34027,
182 V4L2_IDENT_MSP3412G = 34127,
183 V4L2_IDENT_MSP3422G = 34227,
184 V4L2_IDENT_MSP3442G = 34427,
185 V4L2_IDENT_MSP3452G = 34527,
186
187 V4L2_IDENT_MSP3405G = 34057,
188 V4L2_IDENT_MSP3415G = 34157,
189 V4L2_IDENT_MSP3425G = 34257,
190 V4L2_IDENT_MSP3435G = 34357,
191 V4L2_IDENT_MSP3445G = 34457,
192 V4L2_IDENT_MSP3455G = 34557,
193 V4L2_IDENT_MSP3465G = 34657,
194
195 V4L2_IDENT_MSP3407G = 34077,
196 V4L2_IDENT_MSP3417G = 34177,
197 V4L2_IDENT_MSP3427G = 34277,
198 V4L2_IDENT_MSP3437G = 34377,
199 V4L2_IDENT_MSP3447G = 34477,
200 V4L2_IDENT_MSP3457G = 34577,
201 V4L2_IDENT_MSP3467G = 34677,
202
38f9d308 203 /* module msp3400: reserved range 34000-34999 and 44000-44999 */
74cab31c
HV
204 V4L2_IDENT_MSP4400G = 44007,
205 V4L2_IDENT_MSP4410G = 44107,
206 V4L2_IDENT_MSP4420G = 44207,
207 V4L2_IDENT_MSP4440G = 44407,
208 V4L2_IDENT_MSP4450G = 44507,
209
210 V4L2_IDENT_MSP4408G = 44087,
211 V4L2_IDENT_MSP4418G = 44187,
212 V4L2_IDENT_MSP4428G = 44287,
213 V4L2_IDENT_MSP4448G = 44487,
214 V4L2_IDENT_MSP4458G = 44587,
a7c7402f
GL
215
216 /* Micron CMOS sensor chips: 45000-45099 */
217 V4L2_IDENT_MT9M001C12ST = 45000,
218 V4L2_IDENT_MT9M001C12STM = 45005,
9cc6493d 219 V4L2_IDENT_MT9M111 = 45007,
9b9fd6c7 220 V4L2_IDENT_MT9M112 = 45008,
a7c7402f
GL
221 V4L2_IDENT_MT9V022IX7ATC = 45010, /* No way to detect "normal" I77ATx */
222 V4L2_IDENT_MT9V022IX7ATM = 45015, /* and "lead free" IA7ATx chips */
4e96fd08 223 V4L2_IDENT_MT9T031 = 45020,
3434eb7e
HV
224};
225
226#endif