]> err.no Git - linux-2.6/blob - include/media/v4l2-chip-ident.h
V4L/DVB (5341): Add cx23415/6 chip idents.
[linux-2.6] / 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_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_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 saa7110: just ident= 100 */
35         V4L2_IDENT_SAA7110 = 100,
36
37         /* module saa7111: just ident= 101 */
38         V4L2_IDENT_SAA7111 = 101,
39
40         /* module saa7115: reserved range 102-149 */
41         V4L2_IDENT_SAA7113 = 103,
42         V4L2_IDENT_SAA7114 = 104,
43         V4L2_IDENT_SAA7115 = 105,
44         V4L2_IDENT_SAA7118 = 108,
45
46         /* module saa7127: reserved range 150-199 */
47         V4L2_IDENT_SAA7127 = 157,
48         V4L2_IDENT_SAA7129 = 159,
49
50         /* module cx25840: reserved range 200-249 */
51         V4L2_IDENT_CX25836 = 236,
52         V4L2_IDENT_CX25837 = 237,
53         V4L2_IDENT_CX25840 = 240,
54         V4L2_IDENT_CX25841 = 241,
55         V4L2_IDENT_CX25842 = 242,
56         V4L2_IDENT_CX25843 = 243,
57
58         /* OmniVision sensors - range 250-299 */
59         V4L2_IDENT_OV7670 = 250,
60
61         /* Conexant MPEG encoder/decoders: range 410-420 */
62         V4L2_IDENT_CX23415 = 415,
63         V4L2_IDENT_CX23416 = 416,
64 };
65
66 #endif