aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2010-12-27 13:34:43 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 19:31:39 -0400
commita25be18dfb6e1b172498a9f6c9793d67057000b0 (patch)
treec824969740de62c2ddc9e80bc689d72ff73ae1a9 /include/media
parentac75934cc644051dc1b33b234448ea4a0990f31f (diff)
[media] s5p-fimc: Add control of the external sensor clock
Manage the camera sensor clock in the host driver rather than leaving this task for sensor drivers. The clock frequency must be passed in the sensor's and host driver's platform data. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/s5p_fimc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/s5p_fimc.h b/include/media/s5p_fimc.h
index d30b9dee0f3..0d457cac8f7 100644
--- a/include/media/s5p_fimc.h
+++ b/include/media/s5p_fimc.h
@@ -31,6 +31,7 @@ struct i2c_board_info;
31 * interace configuration. 31 * interace configuration.
32 * 32 *
33 * @board_info: pointer to I2C subdevice's board info 33 * @board_info: pointer to I2C subdevice's board info
34 * @clk_frequency: frequency of the clock the host interface provides to sensor
34 * @bus_type: determines bus type, MIPI, ITU-R BT.601 etc. 35 * @bus_type: determines bus type, MIPI, ITU-R BT.601 etc.
35 * @i2c_bus_num: i2c control bus id the sensor is attached to 36 * @i2c_bus_num: i2c control bus id the sensor is attached to
36 * @mux_id: FIMC camera interface multiplexer index (separate for MIPI and ITU) 37 * @mux_id: FIMC camera interface multiplexer index (separate for MIPI and ITU)
@@ -38,6 +39,7 @@ struct i2c_board_info;
38 */ 39 */
39struct s5p_fimc_isp_info { 40struct s5p_fimc_isp_info {
40 struct i2c_board_info *board_info; 41 struct i2c_board_info *board_info;
42 unsigned long clk_frequency;
41 enum cam_bus_type bus_type; 43 enum cam_bus_type bus_type;
42 u16 i2c_bus_num; 44 u16 i2c_bus_num;
43 u16 mux_id; 45 u16 mux_id;