Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / arch / arm / plat-mxc / include / mach / mx1_camera.h
blob4fd6c70314b4caf03257f5d747ec0ff6fb1ba708
1 /*
2 * mx1_camera.h - i.MX1/i.MXL camera driver header file
4 * Copyright (c) 2008, Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
5 * Copyright (C) 2009, Darius Augulis <augulis.darius@gmail.com>
7 * Based on PXA camera.h file:
8 * Copyright (C) 2003, Intel Corporation
9 * Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
16 #ifndef __ASM_ARCH_CAMERA_H_
17 #define __ASM_ARCH_CAMERA_H_
19 #define MX1_CAMERA_DATA_HIGH 1
20 #define MX1_CAMERA_PCLK_RISING 2
21 #define MX1_CAMERA_VSYNC_HIGH 4
23 extern unsigned char mx1_camera_sof_fiq_start, mx1_camera_sof_fiq_end;
25 /**
26 * struct mx1_camera_pdata - i.MX1/i.MXL camera platform data
27 * @mclk_10khz: master clock frequency in 10kHz units
28 * @flags: MX1 camera platform flags
30 struct mx1_camera_pdata {
31 unsigned long mclk_10khz;
32 unsigned long flags;
35 #endif /* __ASM_ARCH_CAMERA_H_ */