Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
camera-mx2.h
Go to the documentation of this file.
1 /*
2  * mx2-cam.h - i.MX27/i.MX25 camera driver header file
3  *
4  * Copyright (C) 2003, Intel Corporation
5  * Copyright (C) 2008, Sascha Hauer <[email protected]>
6  * Copyright (C) 2010, Baruch Siach <[email protected]>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
21  */
22 
23 #ifndef __MACH_MX2_CAM_H_
24 #define __MACH_MX2_CAM_H_
25 
26 #define MX2_CAMERA_EXT_VSYNC (1 << 1)
27 #define MX2_CAMERA_CCIR (1 << 2)
28 #define MX2_CAMERA_CCIR_INTERLACE (1 << 3)
29 #define MX2_CAMERA_HSYNC_HIGH (1 << 4)
30 #define MX2_CAMERA_GATED_CLOCK (1 << 5)
31 #define MX2_CAMERA_INV_DATA (1 << 6)
32 #define MX2_CAMERA_PCLK_SAMPLE_RISING (1 << 7)
33 
40  unsigned long flags;
41  unsigned long clk;
42 };
43 
44 #endif /* __MACH_MX2_CAM_H_ */