diff options
| author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2012-09-17 05:03:25 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-05 21:34:47 -0400 |
| commit | 09ff034047cb3846090215358f20e0e94c60b901 (patch) | |
| tree | 706f80284e766825608ccf32affc13acb28fae64 /include/linux/platform_data | |
| parent | ccbfd1d49dc0d6a6edab827ab4888cf93348f249 (diff) | |
[media] s5p-fimc: Remove unused platform data structure fields
alignment, fixed_phy_vdd and phy_enable fields are now unused
so removed them. The data alignment is now derived directly
from media bus pixel code, phy_enable callback has been replaced
with direct function call and fixed_phy_vdd was dropped in commit
438df3ebe5f0ce408490a777a758d5905f0dd58f
"[media] s5p-csis: Handle all available power supplies".
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/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/mipi-csis.h | 15 |
1 files changed, 4 insertions, 11 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 | /** |
