Hans Verkuil | 3434eb7 | 2007-04-27 12:31:08 -0300 | [diff] [blame] | 1 | /* |
| 2 | v4l2 chip identifiers header |
| 3 | |
| 4 | This header provides a list of chip identifiers that can be returned |
Hans Verkuil | aecde8b5 | 2008-12-30 07:14:19 -0300 | [diff] [blame] | 5 | through the VIDIOC_DBG_G_CHIP_IDENT ioctl. |
Hans Verkuil | 3434eb7 | 2007-04-27 12:31:08 -0300 | [diff] [blame] | 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 | |
Hans Verkuil | aecde8b5 | 2008-12-30 07:14:19 -0300 | [diff] [blame] | 27 | /* VIDIOC_DBG_G_CHIP_IDENT: identifies the actual chip installed on the board */ |
Hans Verkuil | 3434eb7 | 2007-04-27 12:31:08 -0300 | [diff] [blame] | 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 | |
Hans Verkuil | 74cab31 | 2007-04-27 12:31:26 -0300 | [diff] [blame] | 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 */ |
Hans Verkuil | 3434eb7 | 2007-04-27 12:31:08 -0300 | [diff] [blame] | 38 | V4L2_IDENT_SAA7110 = 100, |
| 39 | |
Hans Verkuil | 74cab31 | 2007-04-27 12:31:26 -0300 | [diff] [blame] | 40 | /* module saa7111: just ident 101 */ |
Hans Verkuil | 3434eb7 | 2007-04-27 12:31:08 -0300 | [diff] [blame] | 41 | V4L2_IDENT_SAA7111 = 101, |
| 42 | |
| 43 | /* module saa7115: reserved range 102-149 */ |
| 44 | V4L2_IDENT_SAA7113 = 103, |
| 45 | V4L2_IDENT_SAA7114 = 104, |
| 46 | V4L2_IDENT_SAA7115 = 105, |
| 47 | V4L2_IDENT_SAA7118 = 108, |
| 48 | |
| 49 | /* module saa7127: reserved range 150-199 */ |
| 50 | V4L2_IDENT_SAA7127 = 157, |
| 51 | V4L2_IDENT_SAA7129 = 159, |
| 52 | |
| 53 | /* module cx25840: reserved range 200-249 */ |
| 54 | V4L2_IDENT_CX25836 = 236, |
| 55 | V4L2_IDENT_CX25837 = 237, |
| 56 | V4L2_IDENT_CX25840 = 240, |
| 57 | V4L2_IDENT_CX25841 = 241, |
| 58 | V4L2_IDENT_CX25842 = 242, |
| 59 | V4L2_IDENT_CX25843 = 243, |
| 60 | |
Hans Verkuil | 74cab31 | 2007-04-27 12:31:26 -0300 | [diff] [blame] | 61 | /* OmniVision sensors: reserved range 250-299 */ |
Hans Verkuil | 3434eb7 | 2007-04-27 12:31:08 -0300 | [diff] [blame] | 62 | V4L2_IDENT_OV7670 = 250, |
Kuninori Morimoto | aeabc88 | 2008-12-18 11:05:49 -0300 | [diff] [blame] | 63 | V4L2_IDENT_OV7720 = 251, |
Kuninori Morimoto | 3cac2ca | 2008-12-18 11:07:11 -0300 | [diff] [blame] | 64 | V4L2_IDENT_OV7725 = 252, |
Hans Verkuil | 1b5888c | 2007-04-27 12:31:23 -0300 | [diff] [blame] | 65 | |
Hans Verkuil | 74cab31 | 2007-04-27 12:31:26 -0300 | [diff] [blame] | 66 | /* Conexant MPEG encoder/decoders: reserved range 410-420 */ |
Hans Verkuil | 1b5888c | 2007-04-27 12:31:23 -0300 | [diff] [blame] | 67 | V4L2_IDENT_CX23415 = 415, |
| 68 | V4L2_IDENT_CX23416 = 416, |
Hans Verkuil | 1c1e45d | 2008-04-28 20:24:33 -0300 | [diff] [blame] | 69 | V4L2_IDENT_CX23418 = 418, |
Hans Verkuil | 74cab31 | 2007-04-27 12:31:26 -0300 | [diff] [blame] | 70 | |
Hans Verkuil | ac24743 | 2007-07-27 06:56:50 -0300 | [diff] [blame] | 71 | /* module vp27smpx: just ident 2700 */ |
| 72 | V4L2_IDENT_VP27SMPX = 2700, |
| 73 | |
Mauro Carvalho Chehab | bc97430 | 2008-12-22 20:34:18 -0300 | [diff] [blame] | 74 | /* module tvp5150 */ |
| 75 | V4L2_IDENT_TVP5150 = 5150, |
| 76 | |
Hans Verkuil | 6fb377f | 2007-12-18 19:40:44 -0300 | [diff] [blame] | 77 | /* module cs5345: just ident 5345 */ |
| 78 | V4L2_IDENT_CS5345 = 5345, |
| 79 | |
Hans Verkuil | e281db58 | 2008-08-08 12:43:59 -0300 | [diff] [blame] | 80 | /* module saa6752hs: reserved range 6750-6759 */ |
| 81 | V4L2_IDENT_SAA6752HS = 6752, |
| 82 | V4L2_IDENT_SAA6752HS_AC3 = 6753, |
| 83 | |
Hans Verkuil | 74cab31 | 2007-04-27 12:31:26 -0300 | [diff] [blame] | 84 | /* module wm8739: just ident 8739 */ |
| 85 | V4L2_IDENT_WM8739 = 8739, |
| 86 | |
| 87 | /* module wm8775: just ident 8775 */ |
| 88 | V4L2_IDENT_WM8775 = 8775, |
| 89 | |
Kuninori Morimoto | ed922a8 | 2008-12-29 06:04:06 -0300 | [diff] [blame] | 90 | /* module tw9910: just ident 9910 */ |
| 91 | V4L2_IDENT_TW9910 = 9910, |
| 92 | |
Hans Verkuil | 74cab31 | 2007-04-27 12:31:26 -0300 | [diff] [blame] | 93 | /* module cs53132a: just ident 53132 */ |
| 94 | V4L2_IDENT_CS53l32A = 53132, |
| 95 | |
| 96 | /* module upd64031a: just ident 64031 */ |
| 97 | V4L2_IDENT_UPD64031A = 64031, |
| 98 | |
| 99 | /* module upd64083: just ident 64083 */ |
| 100 | V4L2_IDENT_UPD64083 = 64083, |
| 101 | |
Hans Verkuil | 761dacd | 2007-10-30 05:41:25 -0300 | [diff] [blame] | 102 | /* module m52790: just ident 52790 */ |
| 103 | V4L2_IDENT_M52790 = 52790, |
| 104 | |
Hans Verkuil | 38f9d30 | 2008-07-23 05:09:15 -0300 | [diff] [blame] | 105 | /* module msp3400: reserved range 34000-34999 and 44000-44999 */ |
| 106 | V4L2_IDENT_MSPX4XX = 34000, /* generic MSPX4XX identifier, only |
| 107 | use internally (tveeprom.c). */ |
| 108 | |
Hans Verkuil | 74cab31 | 2007-04-27 12:31:26 -0300 | [diff] [blame] | 109 | V4L2_IDENT_MSP3400B = 34002, |
| 110 | V4L2_IDENT_MSP3410B = 34102, |
| 111 | |
| 112 | V4L2_IDENT_MSP3400C = 34003, |
| 113 | V4L2_IDENT_MSP3410C = 34103, |
| 114 | |
| 115 | V4L2_IDENT_MSP3400D = 34004, |
| 116 | V4L2_IDENT_MSP3410D = 34104, |
| 117 | V4L2_IDENT_MSP3405D = 34054, |
| 118 | V4L2_IDENT_MSP3415D = 34154, |
| 119 | V4L2_IDENT_MSP3407D = 34074, |
| 120 | V4L2_IDENT_MSP3417D = 34174, |
| 121 | |
| 122 | V4L2_IDENT_MSP3400G = 34007, |
| 123 | V4L2_IDENT_MSP3410G = 34107, |
| 124 | V4L2_IDENT_MSP3420G = 34207, |
| 125 | V4L2_IDENT_MSP3430G = 34307, |
| 126 | V4L2_IDENT_MSP3440G = 34407, |
| 127 | V4L2_IDENT_MSP3450G = 34507, |
| 128 | V4L2_IDENT_MSP3460G = 34607, |
| 129 | |
| 130 | V4L2_IDENT_MSP3401G = 34017, |
| 131 | V4L2_IDENT_MSP3411G = 34117, |
| 132 | V4L2_IDENT_MSP3421G = 34217, |
| 133 | V4L2_IDENT_MSP3431G = 34317, |
| 134 | V4L2_IDENT_MSP3441G = 34417, |
| 135 | V4L2_IDENT_MSP3451G = 34517, |
| 136 | V4L2_IDENT_MSP3461G = 34617, |
| 137 | |
| 138 | V4L2_IDENT_MSP3402G = 34027, |
| 139 | V4L2_IDENT_MSP3412G = 34127, |
| 140 | V4L2_IDENT_MSP3422G = 34227, |
| 141 | V4L2_IDENT_MSP3442G = 34427, |
| 142 | V4L2_IDENT_MSP3452G = 34527, |
| 143 | |
| 144 | V4L2_IDENT_MSP3405G = 34057, |
| 145 | V4L2_IDENT_MSP3415G = 34157, |
| 146 | V4L2_IDENT_MSP3425G = 34257, |
| 147 | V4L2_IDENT_MSP3435G = 34357, |
| 148 | V4L2_IDENT_MSP3445G = 34457, |
| 149 | V4L2_IDENT_MSP3455G = 34557, |
| 150 | V4L2_IDENT_MSP3465G = 34657, |
| 151 | |
| 152 | V4L2_IDENT_MSP3407G = 34077, |
| 153 | V4L2_IDENT_MSP3417G = 34177, |
| 154 | V4L2_IDENT_MSP3427G = 34277, |
| 155 | V4L2_IDENT_MSP3437G = 34377, |
| 156 | V4L2_IDENT_MSP3447G = 34477, |
| 157 | V4L2_IDENT_MSP3457G = 34577, |
| 158 | V4L2_IDENT_MSP3467G = 34677, |
| 159 | |
Hans Verkuil | 38f9d30 | 2008-07-23 05:09:15 -0300 | [diff] [blame] | 160 | /* module msp3400: reserved range 34000-34999 and 44000-44999 */ |
Hans Verkuil | 74cab31 | 2007-04-27 12:31:26 -0300 | [diff] [blame] | 161 | V4L2_IDENT_MSP4400G = 44007, |
| 162 | V4L2_IDENT_MSP4410G = 44107, |
| 163 | V4L2_IDENT_MSP4420G = 44207, |
| 164 | V4L2_IDENT_MSP4440G = 44407, |
| 165 | V4L2_IDENT_MSP4450G = 44507, |
| 166 | |
| 167 | V4L2_IDENT_MSP4408G = 44087, |
| 168 | V4L2_IDENT_MSP4418G = 44187, |
| 169 | V4L2_IDENT_MSP4428G = 44287, |
| 170 | V4L2_IDENT_MSP4448G = 44487, |
| 171 | V4L2_IDENT_MSP4458G = 44587, |
Guennadi Liakhovetski | a7c7402 | 2008-04-22 14:42:03 -0300 | [diff] [blame] | 172 | |
| 173 | /* Micron CMOS sensor chips: 45000-45099 */ |
| 174 | V4L2_IDENT_MT9M001C12ST = 45000, |
| 175 | V4L2_IDENT_MT9M001C12STM = 45005, |
Robert Jarzmik | 9cc6493 | 2008-08-14 11:36:37 -0300 | [diff] [blame] | 176 | V4L2_IDENT_MT9M111 = 45007, |
Mike Rapoport | 9b9fd6c | 2008-12-18 11:42:54 -0300 | [diff] [blame] | 177 | V4L2_IDENT_MT9M112 = 45008, |
Guennadi Liakhovetski | a7c7402 | 2008-04-22 14:42:03 -0300 | [diff] [blame] | 178 | V4L2_IDENT_MT9V022IX7ATC = 45010, /* No way to detect "normal" I77ATx */ |
| 179 | V4L2_IDENT_MT9V022IX7ATM = 45015, /* and "lead free" IA7ATx chips */ |
Guennadi Liakhovetski | 4e96fd0 | 2008-12-29 06:04:59 -0300 | [diff] [blame] | 180 | V4L2_IDENT_MT9T031 = 45020, |
Hans Verkuil | 3434eb7 | 2007-04-27 12:31:08 -0300 | [diff] [blame] | 181 | }; |
| 182 | |
| 183 | #endif |