diff options
| -rw-r--r-- | include/linux/platform_data/mipi-csis.h | 15 | ||||
| -rw-r--r-- | include/media/s5p_fimc.h | 2 |
2 files changed, 4 insertions, 13 deletions
diff --git a/include/linux/platform_data/mipi-csis.h b/include/linux/platform_data/mipi-csis.h index 2e59e4306766..8b703e1eeddf 100644 --- a/include/linux/platform_data/mipi-csis.h +++ b/include/linux/platform_data/mipi-csis.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (C) 2010-2011 Samsung Electronics Co., Ltd. | 2 | * Copyright (C) 2010-2011 Samsung Electronics Co., Ltd. |
| 3 | * | 3 | * |
| 4 | * S5P series MIPI CSI slave device support | 4 | * Samsung S5P/Exynos SoC series MIPI CSIS device support |
| 5 | * | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as | 7 | * it under the terms of the GNU General Public License version 2 as |
| @@ -13,21 +13,14 @@ | |||
| 13 | 13 | ||
| 14 | /** | 14 | /** |
| 15 | * struct s5p_platform_mipi_csis - platform data for S5P MIPI-CSIS driver | 15 | * struct s5p_platform_mipi_csis - platform data for S5P MIPI-CSIS driver |
| 16 | * @clk_rate: bus clock frequency | 16 | * @clk_rate: bus clock frequency |
| 17 | * @lanes: number of data lanes used | 17 | * @lanes: number of data lanes used |
| 18 | * @alignment: data alignment in bits | 18 | * @hs_settle: HS-RX settle time |
| 19 | * @hs_settle: HS-RX settle time | ||
| 20 | * @fixed_phy_vdd: false to enable external D-PHY regulator management in the | ||
| 21 | * driver or true in case this regulator has no enable function | ||
| 22 | * @phy_enable: pointer to a callback controlling D-PHY enable/reset | ||
| 23 | */ | 19 | */ |
| 24 | struct s5p_platform_mipi_csis { | 20 | struct s5p_platform_mipi_csis { |
| 25 | unsigned long clk_rate; | 21 | unsigned long clk_rate; |
| 26 | u8 lanes; | 22 | u8 lanes; |
| 27 | u8 alignment; | ||
| 28 | u8 hs_settle; | 23 | u8 hs_settle; |
| 29 | bool fixed_phy_vdd; | ||
| 30 | int (*phy_enable)(struct platform_device *pdev, bool on); | ||
| 31 | }; | 24 | }; |
| 32 | 25 | ||
| 33 | /** | 26 | /** |
diff --git a/include/media/s5p_fimc.h b/include/media/s5p_fimc.h index 09421a611d73..eaea62a382f8 100644 --- a/include/media/s5p_fimc.h +++ b/include/media/s5p_fimc.h | |||
| @@ -30,7 +30,6 @@ struct i2c_board_info; | |||
| 30 | * @board_info: pointer to I2C subdevice's board info | 30 | * @board_info: pointer to I2C subdevice's board info |
| 31 | * @clk_frequency: frequency of the clock the host interface provides to sensor | 31 | * @clk_frequency: frequency of the clock the host interface provides to sensor |
| 32 | * @bus_type: determines bus type, MIPI, ITU-R BT.601 etc. | 32 | * @bus_type: determines bus type, MIPI, ITU-R BT.601 etc. |
| 33 | * @csi_data_align: MIPI-CSI interface data alignment in bits | ||
| 34 | * @i2c_bus_num: i2c control bus id the sensor is attached to | 33 | * @i2c_bus_num: i2c control bus id the sensor is attached to |
| 35 | * @mux_id: FIMC camera interface multiplexer index (separate for MIPI and ITU) | 34 | * @mux_id: FIMC camera interface multiplexer index (separate for MIPI and ITU) |
| 36 | * @clk_id: index of the SoC peripheral clock for sensors | 35 | * @clk_id: index of the SoC peripheral clock for sensors |
| @@ -40,7 +39,6 @@ struct s5p_fimc_isp_info { | |||
| 40 | struct i2c_board_info *board_info; | 39 | struct i2c_board_info *board_info; |
| 41 | unsigned long clk_frequency; | 40 | unsigned long clk_frequency; |
| 42 | enum cam_bus_type bus_type; | 41 | enum cam_bus_type bus_type; |
| 43 | u16 csi_data_align; | ||
| 44 | u16 i2c_bus_num; | 42 | u16 i2c_bus_num; |
| 45 | u16 mux_id; | 43 | u16 mux_id; |
| 46 | u16 flags; | 44 | u16 flags; |
