camsys_drv : v0.9.0
[firefly-linux-kernel-4.4.55.git] / drivers / media / video / ov5642.h
1 /*
2  * Driver for OV5642 CMOS Image Sensor from OmniVision
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 __OV5642_H__
12 #define __OV5642_H__
13 struct reginfo
14 {
15     u16 reg;
16     u8 val;
17 };
18
19 #define SEQUENCE_INIT        0x00
20 #define SEQUENCE_NORMAL      0x01
21
22 #define SEQUENCE_PROPERTY    0xFFFD
23 #define SEQUENCE_WAIT_MS     0xFFFE
24 #define SEQUENCE_END         0xFFFF
25 #endif
26