diff options
| author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-05 21:32:05 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-05 21:32:05 -0400 |
| commit | eabe7b01c249c9d8166a1a10bb6effce2b3de665 (patch) | |
| tree | 31f1ca0c0f6d027839d3d5915cf890400a52168a /include/linux/platform_data/camera-mx2.h | |
| parent | c421a1e418b191c8fb632dc5261b61acec6541ca (diff) | |
| parent | 436d42c61c3eef1d02256174c8615046c61a28ad (diff) | |
Merge branch 'samsung_platform_data' into staging/for_v3.7
* samsung_platform_data:
ARM: samsung: move platform_data definitions
ARM: orion: move platform_data definitions
ARM: nomadik: move platform_data definitions
ARM: w90x900: move platform_data definitions
ARM: vt8500: move platform_data definitions
ARM: tegra: move sdhci platform_data definition
ARM: sa1100: move platform_data definitions
ARM: pxa: move platform_data definitions
ARM: netx: move platform_data definitions
ARM: msm: move platform_data definitions
ARM: imx: move platform_data definitions
ARM: ep93xx: move platform_data definitions
ARM: davinci: move platform_data definitions
ARM: at91: move platform_data definitions
Diffstat (limited to 'include/linux/platform_data/camera-mx2.h')
| -rw-r--r-- | include/linux/platform_data/camera-mx2.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/include/linux/platform_data/camera-mx2.h b/include/linux/platform_data/camera-mx2.h new file mode 100644 index 000000000000..3c080a32dbf5 --- /dev/null +++ b/include/linux/platform_data/camera-mx2.h | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | /* | ||
| 2 | * mx2-cam.h - i.MX27/i.MX25 camera driver header file | ||
| 3 | * | ||
| 4 | * Copyright (C) 2003, Intel Corporation | ||
| 5 | * Copyright (C) 2008, Sascha Hauer <s.hauer@pengutronix.de> | ||
| 6 | * Copyright (C) 2010, Baruch Siach <baruch@tkos.co.il> | ||
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, write to the Free Software | ||
| 20 | * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 21 | */ | ||
| 22 | |||
| 23 | #ifndef __MACH_MX2_CAM_H_ | ||
| 24 | #define __MACH_MX2_CAM_H_ | ||
| 25 | |||
| 26 | #define MX2_CAMERA_SWAP16 (1 << 0) | ||
| 27 | #define MX2_CAMERA_EXT_VSYNC (1 << 1) | ||
| 28 | #define MX2_CAMERA_CCIR (1 << 2) | ||
| 29 | #define MX2_CAMERA_CCIR_INTERLACE (1 << 3) | ||
| 30 | #define MX2_CAMERA_HSYNC_HIGH (1 << 4) | ||
| 31 | #define MX2_CAMERA_GATED_CLOCK (1 << 5) | ||
| 32 | #define MX2_CAMERA_INV_DATA (1 << 6) | ||
| 33 | #define MX2_CAMERA_PCLK_SAMPLE_RISING (1 << 7) | ||
| 34 | #define MX2_CAMERA_PACK_DIR_MSB (1 << 8) | ||
| 35 | |||
| 36 | /** | ||
| 37 | * struct mx2_camera_platform_data - optional platform data for mx2_camera | ||
| 38 | * @flags: any combination of MX2_CAMERA_* | ||
| 39 | * @clk: clock rate of the csi block / 2 | ||
| 40 | */ | ||
| 41 | struct mx2_camera_platform_data { | ||
| 42 | unsigned long flags; | ||
| 43 | unsigned long clk; | ||
| 44 | }; | ||
| 45 | |||
| 46 | #endif /* __MACH_MX2_CAM_H_ */ | ||
