]> Git Repo - linux.git/blob - include/linux/platform_data/media/camera-mx2.h
memcg, kmem: deprecate kmem.limit_in_bytes
[linux.git] / include / linux / platform_data / media / camera-mx2.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * mx2-cam.h - i.MX27/i.MX25 camera driver header file
4  *
5  * Copyright (C) 2003, Intel Corporation
6  * Copyright (C) 2008, Sascha Hauer <[email protected]>
7  * Copyright (C) 2010, Baruch Siach <[email protected]>
8  */
9
10 #ifndef __MACH_MX2_CAM_H_
11 #define __MACH_MX2_CAM_H_
12
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)
20
21 /**
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
25  */
26 struct mx2_camera_platform_data {
27         unsigned long flags;
28         unsigned long clk;
29 };
30
31 #endif /* __MACH_MX2_CAM_H_ */
This page took 0.035715 seconds and 4 git commands to generate.