1
2
3
4
5
6
7
8 #ifndef _MX3_CAMERA_H_
9 #define _MX3_CAMERA_H_
10
11 #include <linux/device.h>
12
13 #define MX3_CAMERA_CLK_SRC 1
14 #define MX3_CAMERA_EXT_VSYNC 2
15 #define MX3_CAMERA_DP 4
16 #define MX3_CAMERA_PCP 8
17 #define MX3_CAMERA_HSP 0x10
18 #define MX3_CAMERA_VSP 0x20
19 #define MX3_CAMERA_DATAWIDTH_4 0x40
20 #define MX3_CAMERA_DATAWIDTH_8 0x80
21 #define MX3_CAMERA_DATAWIDTH_10 0x100
22 #define MX3_CAMERA_DATAWIDTH_15 0x200
23
24 #define MX3_CAMERA_DATAWIDTH_MASK (MX3_CAMERA_DATAWIDTH_4 | MX3_CAMERA_DATAWIDTH_8 | \
25 MX3_CAMERA_DATAWIDTH_10 | MX3_CAMERA_DATAWIDTH_15)
26
27 struct v4l2_async_subdev;
28
29
30
31
32
33
34
35 struct mx3_camera_pdata {
36 unsigned long flags;
37 unsigned long mclk_10khz;
38 struct device *dma_dev;
39 struct v4l2_async_subdev **asd;
40 int *asd_sizes;
41 };
42
43 #endif