Full support for Ginger Console
[linux-ginger.git] / include / media / ov3640.h
blob0c1159e4be8e70ca061135a199b9825c01d27986
1 /*
2 * ov3640.h - Shared settings for the OV3640 CameraChip.
4 * Contributors:
5 * Pallavi Kulkarni <p-kulkarni@ti.com>
6 * Sergio Aguirre <saaguirre@ti.com>
8 * Copyright (C) 2009 Texas Instruments.
10 * This file is licensed under the terms of the GNU General Public License
11 * version 2. This program is licensed "as is" without any warranty of any
12 * kind, whether express or implied.
15 #ifndef OV3640_H
16 #define OV3640_H
18 #include <media/v4l2-int-device.h>
20 #define OV3640_I2C_ADDR (0x78 >> 1)
22 struct ov3640_platform_data {
23 /* Set power state, zero is off, non-zero is on. */
24 int (*power_set)(struct v4l2_int_device *s, enum v4l2_power power);
25 u32 (*set_xclk)(struct v4l2_int_device *s, u32 xclkfreq);
26 int (*priv_data_set)(struct v4l2_int_device *s, void *);
29 #endif /* ifndef OV3640_H */