2 * mt9p012.h - Register definitions for the MT9P012 camera sensor.
4 * Copyright (C) 2009 Texas Instruments.
7 * Sameer Venkatraman <sameerv@ti.com>
8 * Sergio Aguirre <saaguirre@ti.com>
11 * This file is licensed under the terms of the GNU General Public License
12 * version 2. This program is licensed "as is" without any warranty of any
13 * kind, whether express or implied.
19 #include <media/v4l2-int-device.h>
21 #define MT9P012_I2C_ADDR 0x10
24 * struct mt9p012_platform_data - platform data values and access functions
25 * @power_set: Power state access function, zero is off, non-zero is on.
26 * @default_regs: Default registers written after power-on or reset.
27 * @ifparm: Interface parameters access function
28 * @priv_data_set: device private data (pointer) access function
30 struct mt9p012_platform_data
{
31 int (*power_set
)(struct v4l2_int_device
*s
, enum v4l2_power power
);
32 u32 (*set_xclk
)(struct v4l2_int_device
*s
, u32 xclkfreq
);
33 int (*priv_data_set
)(struct v4l2_int_device
*s
, void *);
36 #endif /* ifndef MT9P012_H */