1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * mx2-cam.h - i.MX27/i.MX25 camera driver header file
5 * Copyright (C) 2003, Intel Corporation
10 #ifndef __MACH_MX2_CAM_H_
11 #define __MACH_MX2_CAM_H_
13 #define MX2_CAMERA_EXT_VSYNC (1 << 1)
14 #define MX2_CAMERA_CCIR (1 << 2)
15 #define MX2_CAMERA_CCIR_INTERLACE (1 << 3)
16 #define MX2_CAMERA_HSYNC_HIGH (1 << 4)
17 #define MX2_CAMERA_GATED_CLOCK (1 << 5)
18 #define MX2_CAMERA_INV_DATA (1 << 6)
19 #define MX2_CAMERA_PCLK_SAMPLE_RISING (1 << 7)
22 * struct mx2_camera_platform_data - optional platform data for mx2_camera
23 * @flags: any combination of MX2_CAMERA_*
24 * @clk: clock rate of the csi block / 2
26 struct mx2_camera_platform_data {
31 #endif /* __MACH_MX2_CAM_H_ */