camsys_drv : v0.9.0
[firefly-linux-kernel-4.4.55.git] / drivers / media / video / mt9d112.h
1 /*
2  * Driver for MT9P111 CMOS Image Sensor from Aptina
3  *
4  * Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
5  *
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.
9  */
10
11 #ifndef __MT9D112_H__
12 #define __MT9D112_H__
13 struct reginfo
14 {
15     u16 reg;
16     u16 val;
17 };
18
19 #define SEQUENCE_INIT        0x00
20 #define SEQUENCE_NORMAL      0x01
21 #define SEQUENCE_CAPTURE     0x02
22 #define SEQUENCE_PREVIEW     0x03
23
24 #define SEQUENCE_PROPERTY    0xFFFC
25 #define SEQUENCE_WAIT_MS     0xFFFD
26 #define SEQUENCE_WAIT_US     0xFFFE
27 #define SEQUENCE_END         0xFFFF
28 #endif
29