]>
Commit | Line | Data |
---|---|---|
6acc81c3 PZ |
1 | /* |
2 | * mx1_camera.h - i.MX1/i.MXL camera driver header file | |
3 | * | |
4 | * Copyright (c) 2008, Paulius Zaleckas <[email protected]> | |
5 | * Copyright (C) 2009, Darius Augulis <[email protected]> | |
6 | * | |
7 | * Based on PXA camera.h file: | |
8 | * Copyright (C) 2003, Intel Corporation | |
9 | * Copyright (C) 2008, Guennadi Liakhovetski <[email protected]> | |
10 | * | |
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. | |
14 | */ | |
15 | ||
16 | #ifndef __ASM_ARCH_CAMERA_H_ | |
17 | #define __ASM_ARCH_CAMERA_H_ | |
18 | ||
19 | #define MX1_CAMERA_DATA_HIGH 1 | |
20 | #define MX1_CAMERA_PCLK_RISING 2 | |
21 | #define MX1_CAMERA_VSYNC_HIGH 4 | |
22 | ||
23 | extern unsigned char mx1_camera_sof_fiq_start, mx1_camera_sof_fiq_end; | |
24 | ||
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 | |
29 | */ | |
30 | struct mx1_camera_pdata { | |
31 | unsigned long mclk_10khz; | |
32 | unsigned long flags; | |
33 | }; | |
34 | ||
35 | #endif /* __ASM_ARCH_CAMERA_H_ */ |