diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2011-09-19 11:38:35 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-23 23:22:31 -0400 |
commit | 12ecf56d1a2f93b625ca30049072613cba2d96b1 (patch) | |
tree | e841c5092b4aa649425be4aae9814676197998ff /include/media/s5p_fimc.h | |
parent | 3c6938f805c557b45c0b01c081901b44145221d2 (diff) |
[media] s5p-fimc: Convert to use generic media bus polarity flags
Switch to generic media bus signal polarity flags and allow
configuring the FIELD signal polarity.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/s5p_fimc.h')
-rw-r--r-- | include/media/s5p_fimc.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/media/s5p_fimc.h b/include/media/s5p_fimc.h index 2b589042588d..688fb3f1dc35 100644 --- a/include/media/s5p_fimc.h +++ b/include/media/s5p_fimc.h | |||
@@ -19,11 +19,6 @@ enum cam_bus_type { | |||
19 | FIMC_LCD_WB, /* FIFO link from LCD mixer */ | 19 | FIMC_LCD_WB, /* FIFO link from LCD mixer */ |
20 | }; | 20 | }; |
21 | 21 | ||
22 | #define FIMC_CLK_INV_PCLK (1 << 0) | ||
23 | #define FIMC_CLK_INV_VSYNC (1 << 1) | ||
24 | #define FIMC_CLK_INV_HREF (1 << 2) | ||
25 | #define FIMC_CLK_INV_HSYNC (1 << 3) | ||
26 | |||
27 | struct i2c_board_info; | 22 | struct i2c_board_info; |
28 | 23 | ||
29 | /** | 24 | /** |
@@ -37,7 +32,7 @@ struct i2c_board_info; | |||
37 | * @i2c_bus_num: i2c control bus id the sensor is attached to | 32 | * @i2c_bus_num: i2c control bus id the sensor is attached to |
38 | * @mux_id: FIMC camera interface multiplexer index (separate for MIPI and ITU) | 33 | * @mux_id: FIMC camera interface multiplexer index (separate for MIPI and ITU) |
39 | * @clk_id: index of the SoC peripheral clock for sensors | 34 | * @clk_id: index of the SoC peripheral clock for sensors |
40 | * @flags: flags defining bus signals polarity inversion (High by default) | 35 | * @flags: the parallel bus flags defining signals polarity (V4L2_MBUS_*) |
41 | */ | 36 | */ |
42 | struct s5p_fimc_isp_info { | 37 | struct s5p_fimc_isp_info { |
43 | struct i2c_board_info *board_info; | 38 | struct i2c_board_info *board_info; |