2 * ov3640.h - Shared settings for the OV3640 CameraChip.
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.
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 */