import PULS_20180308
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / misc / mediatek / imgsensor / inc / kd_imgsensor.h
1 #ifndef _KD_IMGSENSOR_H
2 #define _KD_IMGSENSOR_H
3
4 #include <linux/ioctl.h>
5 //#define CONFIG_COMPAT
6 #ifdef CONFIG_COMPAT
7 //64 bit
8 #include <linux/fs.h>
9 #include <linux/compat.h>
10 #endif
11
12 #ifndef ASSERT
13 #define ASSERT(expr) BUG_ON(!(expr))
14 #endif
15
16 #define IMGSENSORMAGIC 'i'
17 /* IOCTRL(inode * ,file * ,cmd ,arg ) */
18 /* S means "set through a ptr" */
19 /* T means "tell by a arg value" */
20 /* G means "get by a ptr" */
21 /* Q means "get by return a value" */
22 /* X means "switch G and S atomically" */
23 /* H means "switch T and Q atomically" */
24
25 /*******************************************************************************
26 *
27 ********************************************************************************/
28 #define YUV_INFO(_id, name, getCalData)\
29 { \
30 _id, name, \
31 NSFeature::YUVSensorInfo <_id>::createInstance(name, #name), \
32 (NSFeature::SensorInfoBase*(*)()) \
33 NSFeature::YUVSensorInfo <_id>::getInstance, \
34 NSFeature::YUVSensorInfo <_id>::getDefaultData, \
35 getCalData, \
36 NSFeature::YUVSensorInfo <_id>::getNullFlickerPara \
37 }
38 #define RAW_INFO(_id, name, getCalData)\
39 { \
40 _id, name, \
41 NSFeature::RAWSensorInfo <_id>::createInstance(name, #name), \
42 (NSFeature::SensorInfoBase*(*)()) \
43 NSFeature::RAWSensorInfo <_id>::getInstance, \
44 NSFeature::RAWSensorInfo <_id>::getDefaultData, \
45 getCalData, \
46 NSFeature::RAWSensorInfo <_id>::getFlickerPara \
47 }
48 /*******************************************************************************
49 *
50 ********************************************************************************/
51
52 /* sensorOpen */
53 #define KDIMGSENSORIOC_T_OPEN _IO(IMGSENSORMAGIC, 0)
54 /* sensorGetInfo */
55 #define KDIMGSENSORIOC_X_GETINFO _IOWR(IMGSENSORMAGIC, 5, ACDK_SENSOR_GETINFO_STRUCT)
56 /* sensorGetResolution */
57 #define KDIMGSENSORIOC_X_GETRESOLUTION _IOWR(IMGSENSORMAGIC, 10, ACDK_SENSOR_RESOLUTION_INFO_STRUCT)
58 /* For kernel 64-bit */
59 #define KDIMGSENSORIOC_X_GETRESOLUTION2 _IOWR(IMGSENSORMAGIC, 10, ACDK_SENSOR_PRESOLUTION_STRUCT)
60 /* sensorFeatureControl */
61 #define KDIMGSENSORIOC_X_FEATURECONCTROL _IOWR(IMGSENSORMAGIC, 15, ACDK_SENSOR_FEATURECONTROL_STRUCT)
62 /* sensorControl */
63 #define KDIMGSENSORIOC_X_CONTROL _IOWR(IMGSENSORMAGIC, 20, ACDK_SENSOR_CONTROL_STRUCT)
64 /* sensorClose */
65 #define KDIMGSENSORIOC_T_CLOSE _IO(IMGSENSORMAGIC, 25)
66 /* sensorSearch */
67 #define KDIMGSENSORIOC_T_CHECK_IS_ALIVE _IO(IMGSENSORMAGIC, 30)
68 /* set sensor driver */
69 #define KDIMGSENSORIOC_X_SET_DRIVER _IOWR(IMGSENSORMAGIC, 35, SENSOR_DRIVER_INDEX_STRUCT)
70 /* get socket postion */
71 #define KDIMGSENSORIOC_X_GET_SOCKET_POS _IOWR(IMGSENSORMAGIC, 40, u32)
72 /* set I2C bus */
73 #define KDIMGSENSORIOC_X_SET_I2CBUS _IOWR(IMGSENSORMAGIC, 45, u32)
74 /* set I2C bus */
75 #define KDIMGSENSORIOC_X_RELEASE_I2C_TRIGGER_LOCK _IO(IMGSENSORMAGIC, 50)
76 /* Set Shutter Gain Wait Done */
77 #define KDIMGSENSORIOC_X_SET_SHUTTER_GAIN_WAIT_DONE _IOWR(IMGSENSORMAGIC, 55, u32)
78 /* set mclk */
79 #define KDIMGSENSORIOC_X_SET_MCLK_PLL _IOWR(IMGSENSORMAGIC, 60, ACDK_SENSOR_MCLK_STRUCT)
80 #define KDIMGSENSORIOC_X_GETINFO2 _IOWR(IMGSENSORMAGIC, 65, IMAGESENSOR_GETINFO_STRUCT)
81 /* set open/close sensor index */
82 #define KDIMGSENSORIOC_X_SET_CURRENT_SENSOR _IOWR(IMGSENSORMAGIC, 70, u32)
83 //set GPIO
84 #define KDIMGSENSORIOC_X_SET_GPIO _IOWR(IMGSENSORMAGIC,75,IMGSENSOR_GPIO_STRUCT)
85
86 #ifdef CONFIG_COMPAT
87 #define COMPAT_KDIMGSENSORIOC_X_GETINFO _IOWR(IMGSENSORMAGIC, 5, COMPAT_ACDK_SENSOR_GETINFO_STRUCT)
88 #define COMPAT_KDIMGSENSORIOC_X_FEATURECONCTROL _IOWR(IMGSENSORMAGIC, 15, COMPAT_ACDK_SENSOR_FEATURECONTROL_STRUCT)
89 #define COMPAT_KDIMGSENSORIOC_X_CONTROL _IOWR(IMGSENSORMAGIC, 20, COMPAT_ACDK_SENSOR_CONTROL_STRUCT)
90 #define COMPAT_KDIMGSENSORIOC_X_GETINFO2 _IOWR(IMGSENSORMAGIC, 65, COMPAT_IMAGESENSOR_GETINFO_STRUCT)
91 #define COMPAT_KDIMGSENSORIOC_X_GETRESOLUTION2 _IOWR(IMGSENSORMAGIC, 10, COMPAT_ACDK_SENSOR_PRESOLUTION_STRUCT)
92 #endif
93
94 /*******************************************************************************
95 *
96 ********************************************************************************/
97 /* SENSOR CHIP VERSION */
98 #define IMX179_SENSOR_ID 0x0179
99 #define OV2722MIPI_SENSOR_ID 0x2722
100 #define MC501CB_SENSOR_ID 0x0062
101 #define MC501CC_SENSOR_ID 0x0074
102 #define MC501CA_SENSOR_ID 0x0011
103
104 #define MT9D011_SENSOR_ID 0x1511
105 #define MT9D111_SENSOR_ID 0x1511
106 #define MT9D112_SENSOR_ID 0x1580
107 #define MT9M011_SENSOR_ID 0x1433
108 #define MT9M111_SENSOR_ID 0x143A
109 #define MT9M112_SENSOR_ID 0x148C
110 #define MT9M113_SENSOR_ID 0x2480
111 #define MT9P012_SENSOR_ID 0x2800
112 #define MT9P012_SENSOR_ID_REV7 0x2801
113 #define MT9T012_SENSOR_ID 0x1600
114 #define MT9T013_SENSOR_ID 0x2600
115 #define MT9T113_SENSOR_ID 0x4680
116 #define MT9V112_SENSOR_ID 0x1229
117 #define MT9DX11_SENSOR_ID 0x1519
118 #define MT9D113_SENSOR_ID 0x2580
119 #define MT9D115_SENSOR_ID 0x2580
120 #define MT9D115MIPI_SENSOR_ID 0x2580
121
122 #define NOON200PC11_SENSOR_ID 0x0013
123 #define NOON200PC20_SENSOR_ID 0x0063
124 #define NOON200PC40_SENSOR_ID 0x0063
125 #define NOON200PC51_SENSOR_ID 0x006C
126 #define NOON130PC51_SENSOR_ID 0x0076
127
128 #define HM3451_SENSOR_ID 0x3451
129
130 #define OV2630_SENSOR_ID 0x2633
131 #define OV2640_SENSOR_ID 0x2642
132 #define OV2650_SENSOR_ID 0x2652
133 #define OV3640_SENSOR_ID 0x364C
134 #define OV6680_SENSOR_ID 0x6681
135 #define OV7660_SENSOR_ID 0x7660
136 #define OV7670_SENSOR_ID 0x7673
137 #define OV7680_SENSOR_ID 0x7680
138 #define OV9650_SENSOR_ID 0x9652
139 #define OV9655_SENSOR_ID 0x9657
140 #define OV9660_SENSOR_ID 0x9663
141 #define OV3647_SENSOR_ID 0x364A
142 #define OV2655_SENSOR_ID 0x2656
143 #define OV2659_SENSOR_ID 0x2656
144 #define OV2650_SENSOR_ID_1 0x2651
145 #define OV2650_SENSOR_ID_2 0x2652
146 #define OV2650_SENSOR_ID_3 0x2655
147 #define OV5642_SENSOR_ID 0x5642
148 #define OV5650_SENSOR_ID 0x5651
149 #define OV5650MIPI_SENSOR_ID 0x5651
150 #define OV9665_SENSOR_ID 0x9663
151 #define OV5630_SENSOR_ID 0x5634
152 #define OV7675_SENSOR_ID 0x7673
153 #define OV5647_SENSOR_ID 0x5647
154 #define OV9740MIPI_SENSOR_ID 0x9740
155
156 #define HI542_SENSOR_ID 0x00B1
157 #define HI542MIPI_SENSOR_ID 0x00B1
158 #define OV5647MIPI_SENSOR_ID 0x5647
159 #define OV8825_SENSOR_ID 0x8825
160 #define OV12830_SENSOR_ID 0xC830
161 #define OV5648MIPI_SENSOR_ID 0x5648
162 #define OV5670MIPI_SENSOR_ID 0x5670
163 #define OV5693_SENSOR_ID 0x5690
164 #define OV13850_SENSOR_ID 0xD850
165
166 #define PO6030K_SENSOR_ID 0x0060
167 #define PO4010K_SENSOR_ID 0x0040
168
169 #define SID020A_SENSOR_ID 0x12B4
170 #define SIV100B_SENSOR_ID 0x0C11
171 #define SIV100A_SENSOR_ID 0x0C10
172 #define SIV120A_SENSOR_ID 0x1210
173 #define SIV120B_SENSOR_ID 0x0012
174 #define SIV121D_SENSOR_ID 0xDE
175 #define SIM101B_SENSOR_ID 0x09A0
176 #define SIM120C_SENSOR_ID 0x0012
177 #define SID130B_SENSOR_ID 0x001b
178 #define SIC110A_SENSOR_ID 0x000D
179
180 #define S5KA3DFX_SENSOR_ID 0x00AB
181 #define S5K4B2FX_SENSOR_ID 0x5080
182 #define S5K3AAEA_SENSOR_ID 0x07AC
183 #define S5K3BAFB_SENSOR_ID 0x7070
184 #define S5K53BEX_SENSOR_ID 0x45A8
185 #define S5K53BEB_SENSOR_ID 0x87A8
186 #define S5K83AFX_SENSOR_ID 0x01C4
187 #define S5K5BAFX_SENSOR_ID 0x05BA
188 #define S5K3E2FX_SENSOR_ID 0x3E2F
189 #define S5K4E1GA_SENSOR_ID 0x4E10
190 #define S5K4ECGX_SENSOR_ID 0x4EC0
191 #define S5K5CAGX_SENSOR_ID 0x05ca
192 #define S5K8AAYX_MIPI_SENSOR_ID 0x08aa
193 #define S5K8AAYX_SENSOR_ID 0x08aa
194
195 #define S5K3H7Y_SENSOR_ID 0x3087
196 #define S5K3H2YX_SENSOR_ID 0x382b
197 #define S5K2P8_SENSOR_ID 0x2108
198
199 #define PAS105_SENSOR_ID 0x0065
200 #define PAS302_SENSOR_ID 0x0064
201 #define PAS5101_SENSOR_ID 0x0067
202 #define PAS6180_SENSOR_ID 0x6179
203
204 #define ET8EE6_SENSOR_ID 0x0034
205 #define ET8EF2_SENSOR_ID 0x1048
206
207 #define OM6802_SENSOR_ID 0x1705
208
209 #define HV7131_SENSOR_ID 0x0042
210
211 #define RJ53S1BA0C_SENSOR_ID 0x0129
212
213 #define HI251_SENSOR_ID 0x0084
214 #define HIVICF_SENSOR_ID 0x0081
215 #define HI253_SENSOR_ID 0x0092
216 #define HI704_SENSOR_ID 0x0096
217
218 #define IMX058_SENSOR_ID 0x0058
219 #define IMX073_SENSOR_ID 0x0046
220 #define SIV120B_SENSOR_ID 0x0012
221 #define MT9V113_SENSOR_ID 0x2280
222 #define MT9V114_SENSOR_ID 0x2283
223 #define MT9V115_SENSOR_ID 0x2284
224 #define MT9P015_SENSOR_ID 0x2803
225 #define MT9P017_SENSOR_ID 0x4800
226 #define MT9P017MIPI_SENSOR_ID 0x4800
227 #define SHARP3D_SENSOR_ID 0x003d
228 #define MT9T113MIPI_SENSOR_ID 0x4680
229 #define AR0833_SENSOR_ID 0x4B03
230 #define IMX105_SENSOR_ID 0x0105
231 #define OV8830_SENSOR_ID 0x8830
232 #define OV9726_SENSOR_ID 0x9726
233 #define OV9726MIPI_SENSOR_ID 0x9726
234 #define OV9760MIPI_SENSOR_ID 0x9760
235 #define A5141MIPI_SENSOR_ID 0x4800
236 #define SP0A19_YUV_SENSOR_ID 0xA6
237 #define A5142MIPI_SENSOR_ID 0x4800
238 #define GC0313MIPI_YUV_SENSOR_ID 0xD0
239 #define IMX219_SENSOR_ID 0x0219//0x0119//
240 #define IMX135_SENSOR_ID 0x0135
241 #define OV16825MIPI_SENSOR_ID 0x016820
242 #define OV2680MIPI_SENSOR_ID 0x2680
243 #define IMX214_SENSOR_ID 0x0214
244 #define IMX220_SENSOR_ID 0x0220
245 #define GC2035_SENSOR_ID 0x2035
246 #define GC0329_SENSOR_ID 0xC0
247 #define GC0330_SENSOR_ID 0xC1
248 #define S5K4H5YX_2LANE_SENSOR_ID 0x485B
249 #define OV8865_SENSOR_ID 0x8865
250 #define S5K4H5YC_SENSOR_ID 0x485B
251 #define S5K5E2YA_SENSOR_ID 0x5e20
252
253 #define OV2680_SENSOR_ID 0x2680
254 #define T8EV5_SENSOR_ID 0x1011
255 #define GC2235_SENSOR_ID 0x2235
256 #define OV8865_SENSOR_ID 0x8865
257 #define GC2355MIPI_SENSOR_ID 0x2355
258 #define HI551_SENSOR_ID 0x0551
259
260 #define HI841_SENSOR_ID 0x0841
261 #define GC0310_SENSOR_ID 0xa310
262 #define OV8858_SENSOR_ID 0x8858
263 #define GC0329_SENSOR_ID 0x00c0
264 #define OV5645MIPI_SENSOR_ID 0x5645
265 #define IMX132MIPI_SENSOR_ID 0x0132
266 #define IMX119_SENSOR_ID 0x0119
267 #define HI191MIPI_SENSOR_ID 0x0191
268 #define HI544MIPI_SENSOR_ID 0x0544
269 #define HI707_SENSOR_ID 0x00b8
270 #define MN34152_SENSOR_ID 0x01
271
272 #define GC2355_SENSOR_ID 0x2355
273 #define OV2680MIPI_SENSOR_ID 0x2680
274 #define HI708_SENSOR_ID 0x96
275 #define S5K5E2YA_SENSOR_ID 0x5e20
276 #define OV5670_SENSOR_ID 0x5670
277
278 /* CAMERA DRIVER NAME */
279 #define CAMERA_HW_DEVNAME "kd_camera_hw"
280
281 /* SENSOR DEVICE DRIVER NAME */
282 #define SENSOR_DRVNAME_IMX179_MIPI_RAW "imx179mipiraw"
283 #define SENSOR_DRVNAME_OV2722_MIPI_RAW "ov2722mipiraw"
284 #define SENSOR_DRVNAME_MT9P012_RAW "mt9p012"
285 #define SENSOR_DRVNAME_MT9P015_RAW "mt9p015"
286 #define SENSOR_DRVNAME_MT9P017_RAW "mt9p017"
287 #define SENSOR_DRVNAME_MT9P017_MIPI_RAW "mt9p017mipi"
288 #define SENSOR_DRVNAME_MT9D115_MIPI_RAW "mt9d115mipiraw"
289 #define SENSOR_DRVNAME_AR0833_MIPI_RAW "ar0833mipiraw"
290 #define SENSOR_DRVNAME_OV2650_RAW "ov265x"
291 #define SENSOR_DRVNAME_OV2655_YUV "ov2655yuv"
292 #define SENSOR_DRVNAME_OV2659_YUV "ov2659yuv"
293 #define SENSOR_DRVNAME_OV5650_RAW "ov5650raw"
294 #define SENSOR_DRVNAME_OV3640_RAW "ov3640"
295 #define SENSOR_DRVNAME_OV3640_YUV "ov3640yuv"
296 #define SENSOR_DRVNAME_OV5642_RAW "ov5642raw"
297 #define SENSOR_DRVNAME_HI542_RAW "hi542raw"
298 #define SENSOR_DRVNAME_HI542MIPI_RAW "hi542mipiraw"
299
300 #define SENSOR_DRVNAME_OV5647MIPI_RAW "ov5647mipiraw"
301 #define SENSOR_DRVNAME_HM3451_RAW "hm3451raw"
302
303 #define SENSOR_DRVNAME_OV5647_RAW "ov5647"
304 #define SENSOR_DRVNAME_OV5648_MIPI_RAW "ov5648mipi"
305 #define SENSOR_DRVNAME_OV5670_MIPI_RAW "ov5670mipiraw"
306 #define SENSOR_DRVNAME_OV56702ND_MIPI_RAW "ov56702ndmipiraw"
307 #define SENSOR_DRVNAME_OV5693_MIPI_RAW "ov5693mipi"
308 #define SENSOR_DRVNAME_OV5642_MIPI_YUV "ov5642mipiyuv"
309 #define SENSOR_DRVNAME_OV5642_MIPI_RGB "ov5642mipirgb"
310 #define SENSOR_DRVNAME_OV5642_MIPI_JPG "ov5642mipijpg"
311 #define SENSOR_DRVNAME_OV5642_YUV "ov5642yuv"
312 #define SENSOR_DRVNAME_OV5642_YUV_SWI2C "ov5642yuvswi2c"
313 #define SENSOR_DRVNAME_OV5650MIPI_RAW "ov5650mipiraw"
314 #define SENSOR_DRVNAME_OV7675_YUV "ov7675yuv"
315 #define SENSOR_DRVNAME_IMX073_MIPI_RAW "imx073mipiraw"
316 #define SENSOR_DRVNAME_S5K5CAGX_YUV "s5k5cagxyuv"
317 #define SENSOR_DRVNAME_SIV120B_YUV "siv120byuv"
318 #define SENSOR_DRVNAME_MT9V113_YUV "mt9v113yuv"
319 #define SENSOR_DRVNAME_HI253_YUV "hi253yuv"
320 #define SENSOR_DRVNAME_SIV121D_YUV "siv121dyuv"
321 #define SENSOR_DRVNAME_HI704_YUV "hi704yuv"
322 #define SENSOR_DRVNAME_MT9V114_YUV "mt9v114"
323 #define SENSOR_DRVNAME_MT9V115_YUV "mt9v115yuv"
324 #define SENSOR_DRVNAME_MT9T113_YUV "mt9t113yuv"
325 #define SENSOR_DRVNAME_PAS6180_SERIAL_YUV "pas6180serialyuv"
326 #define SENSOR_DRVNAME_SHARP3D_MIPI_YUV "sharp3dmipiyuv"
327 #define SENSOR_DRVNAME_MT9T113_MIPI_YUV "mt9t113mipiyuv"
328 #define SENSOR_DRVNAME_IMX105_MIPI_RAW "imx105mipiraw"
329 #define SENSOR_DRVNAME_OV8830_RAW "ov8830"
330 #define SENSOR_DRVNAME_0V9726_RAW "ov9726raw"
331 #define SENSOR_DRVNAME_OV9726_MIPI_RAW "ov9726mipiraw"
332 #define SENSOR_DRVNAME_OV9760_MIPI_RAW "ov9760mipiraw"
333 #define SENSOR_DRVNAME_S5K4E1GA_MIPI_RAW "s5k4e1gamipiraw"
334 #define SENSOR_DRVNAME_S5K4ECGX_MIPI_YUV "s5k4ecgxmipiyuv"
335 #define SENSOR_DRVNAME_A5141_MIPI_RAW "a5141mipiraw"
336 #define SENSOR_DRVNAME_A5142_MIPI_RAW "a5142mipiraw"
337 #define SENSOR_DRVNAME_S5K8AAYX_MIPI_YUV "s5k8aayxmipiyuv"
338 #define SENSOR_DRVNAME_S5K8AAYX_YUV "s5k8aayxyuv"
339
340 #define SENSOR_DRVNAME_S5K3H7Y_MIPI_RAW "s5k3h7ymipiraw"
341 #define SENSOR_DRVNAME_OV8825_MIPI_RAW "ov8825mipiraw"
342 #define SENSOR_DRVNAME_OV12830_MIPI_RAW "ov12830mipiraw"
343 #define SENSOR_DRVNAME_GC2035_YUV "gc2035_yuv"
344 #define SENSOR_DRVNAME_GC0329_YUV "gc0329_yuv"
345 #define SENSOR_DRVNAME_GC0330_YUV "gc0330_yuv"
346 #define SENSOR_DRVNAME_S5K4H5YC_MIPI_RAW "s5k4h5ycmipiraw"
347 #define SENSOR_DRVNAME_OV13850_MIPI_RAW "ov13850mipiraw"
348
349 #define SENSOR_DRVNAME_OV9740_MIPI_YUV "ov9740mipiyuv"
350 #define SENSOR_DRVNAME_S5K3H2YX_MIPI_RAW "s5k3h2yxmipiraw"
351 #define SENSOR_DRVNAME_S5K2P8_MIPI_RAW "s5k2p8mipiraw"
352 #define SENSOR_DRVNAME_SP0A19_YUV "sp0a19yuv"
353 #define SENSOR_DRVNAME_IMX219_MIPI_RAW "imx219mipiraw"
354 #define SENSOR_DRVNAME_IMX135_MIPI_RAW "imx135mipiraw"
355 #define SENSOR_DRVNAME_IMX214_MIPI_RAW "imx214mipiraw"
356 #define SENSOR_DRVNAME_IMX220_MIPI_RAW "imx220mipiraw"
357
358 #define SENSOR_DRVNAME_GC0313MIPI_YUV "gc0313mipiyuv"
359 #define SENSOR_DRVNAME_OV16825_MIPI_RAW "ov16825mipiraw"
360 #define SENSOR_DRVNAME_OV2680_MIPI_RAW "ov2680mipiraw"
361 #define SENSOR_DRVNAME_S5K4H5YX_2LANE_MIPI_RAW "s5k4h5yx2lanemipiraw"
362 #define SENSOR_DRVNAME_S5K5E2YA_MIPI_RAW "s5k5e2yamipiraw"
363 #define SENSOR_DRVNAME_GC2235_RAW "gc2235_raw"
364 #define SENSOR_DRVNAME_OV8865_MIPI_RAW "ov8865mipiraw"
365 #define SENSOR_DRVNAME_GC2355_MIPI_RAW "gc2355mipiraw"
366 #define SENSOR_DRVNAME_HI551_MIPI_RAW "hi551mipiraw"
367
368 #define SENSOR_DRVNAME_HI841_MIPI_RAW "hi841mipiraw"
369 #define SENSOR_DRVNAME_GC0310_MIPI_YUV "gc0310mipiyuv"
370 #define SENSOR_DRVNAME_OV8858_MIPI_RAW "ov8858mipiraw"
371 #define SENSOR_DRVNAME_OV13850_MIPI_RAW "ov13850mipiraw"
372 #define SENSOR_DRVNAME_T8EV5_YUV "t8ev5_yuv"
373 #define SENSOR_DRVNAME_GC0329_YUV "gc0329yuv"
374 #define SENSOR_DRVNAME_OV5645_MIPI_YUV "ov5645_mipi_yuv"
375 #define SENSOR_DRVNAME_IMX132_MIPI_RAW "imx132mipiraw"
376 #define SENSOR_DRVNAME_IMX119_MIPI_RAW "imx119mipiraw"
377 #define SENSOR_DRVNAME_HI191_MIPI_RAW "hi191mipiraw"
378 #define SENSOR_DRVNAME_HI544_MIPI_RAW "hi544mipiraw"
379 #define SENSOR_DRVNAME_HI707_YUV "hi707yuv"
380 #define SENSOR_DRVNAME_MN34152_MIPI_RAW "mn34152mipiraw"
381
382 #define SENSOR_DRVNAME_GC2355_RAW "gc2355raw"
383 #define SENSOR_DRVNAME_OV2680_RAW "ov2680_raw"
384 #define SENSOR_DRVNAME_HI708_YUV "hi708_yuv"
385 #define SENSOR_DRVNAME_S5K5E2YA_MIPI_RAW "s5k5e2yamipiraw"
386 /*******************************************************************************
387 *
388 ********************************************************************************/
389
390 void KD_IMGSENSOR_PROFILE_INIT(void);
391 void KD_IMGSENSOR_PROFILE(char *tag);
392
393 #define mDELAY(ms) mdelay(ms)
394 #define uDELAY(us) udelay(us)
395 #endif /* _KD_IMGSENSOR_H */