v4l2-chip-ident.h 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. /*
  2. v4l2 chip identifiers header
  3. This header provides a list of chip identifiers that can be returned
  4. through the VIDIOC_DBG_G_CHIP_IDENT ioctl.
  5. Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  17. */
  18. #ifndef V4L2_CHIP_IDENT_H_
  19. #define V4L2_CHIP_IDENT_H_
  20. /* VIDIOC_DBG_G_CHIP_IDENT: identifies the actual chip installed on the board */
  21. enum {
  22. /* general idents: reserved range 0-49 */
  23. V4L2_IDENT_NONE = 0, /* No chip matched */
  24. V4L2_IDENT_AMBIGUOUS = 1, /* Match too general, multiple chips matched */
  25. V4L2_IDENT_UNKNOWN = 2, /* Chip found, but cannot identify */
  26. /* module tvaudio: reserved range 50-99 */
  27. V4L2_IDENT_TVAUDIO = 50, /* A tvaudio chip, unknown which it is exactly */
  28. /* module saa7110: just ident 100 */
  29. V4L2_IDENT_SAA7110 = 100,
  30. /* module saa7115: reserved range 101-149 */
  31. V4L2_IDENT_SAA7111 = 101,
  32. V4L2_IDENT_SAA7113 = 103,
  33. V4L2_IDENT_SAA7114 = 104,
  34. V4L2_IDENT_SAA7115 = 105,
  35. V4L2_IDENT_SAA7118 = 108,
  36. /* module saa7127: reserved range 150-199 */
  37. V4L2_IDENT_SAA7127 = 157,
  38. V4L2_IDENT_SAA7129 = 159,
  39. /* module cx25840: reserved range 200-249 */
  40. V4L2_IDENT_CX25836 = 236,
  41. V4L2_IDENT_CX25837 = 237,
  42. V4L2_IDENT_CX25840 = 240,
  43. V4L2_IDENT_CX25841 = 241,
  44. V4L2_IDENT_CX25842 = 242,
  45. V4L2_IDENT_CX25843 = 243,
  46. /* OmniVision sensors: reserved range 250-299 */
  47. V4L2_IDENT_OV7670 = 250,
  48. V4L2_IDENT_OV7720 = 251,
  49. V4L2_IDENT_OV7725 = 252,
  50. /* module saa7146: reserved range 300-309 */
  51. V4L2_IDENT_SAA7146 = 300,
  52. /* Conexant MPEG encoder/decoders: reserved range 400-420 */
  53. V4L2_IDENT_CX23418_843 = 403, /* Integrated A/V Decoder on the '418 */
  54. V4L2_IDENT_CX23415 = 415,
  55. V4L2_IDENT_CX23416 = 416,
  56. V4L2_IDENT_CX23418 = 418,
  57. /* module au0828 */
  58. V4L2_IDENT_AU0828 = 828,
  59. /* module indycam: just ident 2000 */
  60. V4L2_IDENT_INDYCAM = 2000,
  61. /* module bt819: reserved range 810-819 */
  62. V4L2_IDENT_BT815A = 815,
  63. V4L2_IDENT_BT817A = 817,
  64. V4L2_IDENT_BT819A = 819,
  65. /* module bt856: just ident 856 */
  66. V4L2_IDENT_BT856 = 856,
  67. /* module bt866: just ident 866 */
  68. V4L2_IDENT_BT866 = 866,
  69. /* module ks0127: reserved range 1120-1129 */
  70. V4L2_IDENT_KS0122S = 1122,
  71. V4L2_IDENT_KS0127 = 1127,
  72. V4L2_IDENT_KS0127B = 1128,
  73. /* module vp27smpx: just ident 2700 */
  74. V4L2_IDENT_VP27SMPX = 2700,
  75. /* module vpx3220: reserved range: 3210-3229 */
  76. V4L2_IDENT_VPX3214C = 3214,
  77. V4L2_IDENT_VPX3216B = 3216,
  78. V4L2_IDENT_VPX3220A = 3220,
  79. /* module tvp5150 */
  80. V4L2_IDENT_TVP5150 = 5150,
  81. /* module saa5246a: just ident 5246 */
  82. V4L2_IDENT_SAA5246A = 5246,
  83. /* module saa5249: just ident 5249 */
  84. V4L2_IDENT_SAA5249 = 5249,
  85. /* module cs5345: just ident 5345 */
  86. V4L2_IDENT_CS5345 = 5345,
  87. /* module tea6415c: just ident 6415 */
  88. V4L2_IDENT_TEA6415C = 6415,
  89. /* module tea6420: just ident 6420 */
  90. V4L2_IDENT_TEA6420 = 6420,
  91. /* module saa6588: just ident 6588 */
  92. V4L2_IDENT_SAA6588 = 6588,
  93. /* module saa6752hs: reserved range 6750-6759 */
  94. V4L2_IDENT_SAA6752HS = 6752,
  95. V4L2_IDENT_SAA6752HS_AC3 = 6753,
  96. /* module adv7170: just ident 7170 */
  97. V4L2_IDENT_ADV7170 = 7170,
  98. /* module adv7175: just ident 7175 */
  99. V4L2_IDENT_ADV7175 = 7175,
  100. /* module saa7185: just ident 7185 */
  101. V4L2_IDENT_SAA7185 = 7185,
  102. /* module saa7191: just ident 7191 */
  103. V4L2_IDENT_SAA7191 = 7191,
  104. /* module ths7303: just ident 7303 */
  105. V4L2_IDENT_THS7303 = 7303,
  106. /* module adv7343: just ident 7343 */
  107. V4L2_IDENT_ADV7343 = 7343,
  108. /* module wm8739: just ident 8739 */
  109. V4L2_IDENT_WM8739 = 8739,
  110. /* module wm8775: just ident 8775 */
  111. V4L2_IDENT_WM8775 = 8775,
  112. /* module tda9840: just ident 9840 */
  113. V4L2_IDENT_TDA9840 = 9840,
  114. /* module cafe_ccic, just ident 8801 */
  115. V4L2_IDENT_CAFE = 8801,
  116. /* module mt9v011, just ident 8243 */
  117. V4L2_IDENT_MT9V011 = 8243,
  118. /* module tw9910: just ident 9910 */
  119. V4L2_IDENT_TW9910 = 9910,
  120. /* module msp3400: reserved range 34000-34999 and 44000-44999 */
  121. V4L2_IDENT_MSPX4XX = 34000, /* generic MSPX4XX identifier, only
  122. use internally (tveeprom.c). */
  123. V4L2_IDENT_MSP3400B = 34002,
  124. V4L2_IDENT_MSP3410B = 34102,
  125. V4L2_IDENT_MSP3400C = 34003,
  126. V4L2_IDENT_MSP3410C = 34103,
  127. V4L2_IDENT_MSP3400D = 34004,
  128. V4L2_IDENT_MSP3410D = 34104,
  129. V4L2_IDENT_MSP3405D = 34054,
  130. V4L2_IDENT_MSP3415D = 34154,
  131. V4L2_IDENT_MSP3407D = 34074,
  132. V4L2_IDENT_MSP3417D = 34174,
  133. V4L2_IDENT_MSP3400G = 34007,
  134. V4L2_IDENT_MSP3410G = 34107,
  135. V4L2_IDENT_MSP3420G = 34207,
  136. V4L2_IDENT_MSP3430G = 34307,
  137. V4L2_IDENT_MSP3440G = 34407,
  138. V4L2_IDENT_MSP3450G = 34507,
  139. V4L2_IDENT_MSP3460G = 34607,
  140. V4L2_IDENT_MSP3401G = 34017,
  141. V4L2_IDENT_MSP3411G = 34117,
  142. V4L2_IDENT_MSP3421G = 34217,
  143. V4L2_IDENT_MSP3431G = 34317,
  144. V4L2_IDENT_MSP3441G = 34417,
  145. V4L2_IDENT_MSP3451G = 34517,
  146. V4L2_IDENT_MSP3461G = 34617,
  147. V4L2_IDENT_MSP3402G = 34027,
  148. V4L2_IDENT_MSP3412G = 34127,
  149. V4L2_IDENT_MSP3422G = 34227,
  150. V4L2_IDENT_MSP3442G = 34427,
  151. V4L2_IDENT_MSP3452G = 34527,
  152. V4L2_IDENT_MSP3405G = 34057,
  153. V4L2_IDENT_MSP3415G = 34157,
  154. V4L2_IDENT_MSP3425G = 34257,
  155. V4L2_IDENT_MSP3435G = 34357,
  156. V4L2_IDENT_MSP3445G = 34457,
  157. V4L2_IDENT_MSP3455G = 34557,
  158. V4L2_IDENT_MSP3465G = 34657,
  159. V4L2_IDENT_MSP3407G = 34077,
  160. V4L2_IDENT_MSP3417G = 34177,
  161. V4L2_IDENT_MSP3427G = 34277,
  162. V4L2_IDENT_MSP3437G = 34377,
  163. V4L2_IDENT_MSP3447G = 34477,
  164. V4L2_IDENT_MSP3457G = 34577,
  165. V4L2_IDENT_MSP3467G = 34677,
  166. /* module msp3400: reserved range 34000-34999 and 44000-44999 */
  167. V4L2_IDENT_MSP4400G = 44007,
  168. V4L2_IDENT_MSP4410G = 44107,
  169. V4L2_IDENT_MSP4420G = 44207,
  170. V4L2_IDENT_MSP4440G = 44407,
  171. V4L2_IDENT_MSP4450G = 44507,
  172. V4L2_IDENT_MSP4408G = 44087,
  173. V4L2_IDENT_MSP4418G = 44187,
  174. V4L2_IDENT_MSP4428G = 44287,
  175. V4L2_IDENT_MSP4448G = 44487,
  176. V4L2_IDENT_MSP4458G = 44587,
  177. /* Micron CMOS sensor chips: 45000-45099 */
  178. V4L2_IDENT_MT9M001C12ST = 45000,
  179. V4L2_IDENT_MT9M001C12STM = 45005,
  180. V4L2_IDENT_MT9M111 = 45007,
  181. V4L2_IDENT_MT9M112 = 45008,
  182. V4L2_IDENT_MT9V022IX7ATC = 45010, /* No way to detect "normal" I77ATx */
  183. V4L2_IDENT_MT9V022IX7ATM = 45015, /* and "lead free" IA7ATx chips */
  184. V4L2_IDENT_MT9T031 = 45020,
  185. /* module cs53132a: just ident 53132 */
  186. V4L2_IDENT_CS53l32A = 53132,
  187. /* module upd64031a: just ident 64031 */
  188. V4L2_IDENT_UPD64031A = 64031,
  189. /* module upd64083: just ident 64083 */
  190. V4L2_IDENT_UPD64083 = 64083,
  191. /* module m52790: just ident 52790 */
  192. V4L2_IDENT_M52790 = 52790,
  193. };
  194. #endif