2 * Driver for MT9P111 CMOS Image Sensor from Aptina
4 * Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
24 #define SEQUENCE_INIT 0x00
25 #define SEQUENCE_NORMAL 0x01
26 #define SEQUENCE_CAPTURE 0x02
27 #define SEQUENCE_PREVIEW 0x03
29 #define SEQUENCE_PROPERTY 0xFFFC
30 #define SEQUENCE_WAIT_MS 0xFFFD
31 #define SEQUENCE_WAIT_US 0xFFFE
32 #define SEQUENCE_END 0xFFFF
34 /*configure register for flipe and mirror during initial*/
35 #define CONFIG_SENSOR_FLIPE 0
36 #define CONFIG_SENSOR_MIRROR 0
37 #define CONFIG_SENSOR_MIRROR_AND_FLIPE 1
38 #define CONFIG_SENSOR_NONE_FLIP_MIRROR 0
39 /**adjust part parameter to solve bug******/
40 #define ADJUST_FOR_720P_FALG 1
41 #define ADJUST_FOR_VGA_FALG 1
42 #define ADJUST_FOR_CAPTURE_FALG 1
43 #define ADJUST_PCLK_FRE_FALG 1
44 /**optimize code to shoten open time******/
45 #define ADJUST_OPTIMIZE_TIME_FALG 1