diff options
author | Sylwester Nawrocki <sylvester.nawrocki@gmail.com> | 2013-10-16 12:28:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-16 16:48:08 -0400 |
commit | 7e0be9f9f7cba3356f75b86737dbe3a005da067e (patch) | |
tree | c74a9b404d878545c57fc190455ab93c03b55909 /include/video | |
parent | f1468a2077e8c00fddb6cecec41b356637195ca3 (diff) |
video: exynos_mipi_dsim: Use the generic PHY driver
Use the generic PHY API instead of the platform callback
for the MIPI DSIM DPHY enable/reset control.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Acked-by: Donghwa Lee <dh09.lee@samsung.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/exynos_mipi_dsim.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/video/exynos_mipi_dsim.h b/include/video/exynos_mipi_dsim.h index 89dc88a171af..6a578f8a1b3e 100644 --- a/include/video/exynos_mipi_dsim.h +++ b/include/video/exynos_mipi_dsim.h | |||
@@ -216,6 +216,7 @@ struct mipi_dsim_config { | |||
216 | * automatically. | 216 | * automatically. |
217 | * @e_clk_src: select byte clock source. | 217 | * @e_clk_src: select byte clock source. |
218 | * @pd: pointer to MIPI-DSI driver platform data. | 218 | * @pd: pointer to MIPI-DSI driver platform data. |
219 | * @phy: pointer to the MIPI-DSI PHY | ||
219 | */ | 220 | */ |
220 | struct mipi_dsim_device { | 221 | struct mipi_dsim_device { |
221 | struct device *dev; | 222 | struct device *dev; |
@@ -236,6 +237,7 @@ struct mipi_dsim_device { | |||
236 | bool suspended; | 237 | bool suspended; |
237 | 238 | ||
238 | struct mipi_dsim_platform_data *pd; | 239 | struct mipi_dsim_platform_data *pd; |
240 | struct phy *phy; | ||
239 | }; | 241 | }; |
240 | 242 | ||
241 | /* | 243 | /* |
@@ -248,7 +250,6 @@ struct mipi_dsim_device { | |||
248 | * @enabled: indicate whether mipi controller got enabled or not. | 250 | * @enabled: indicate whether mipi controller got enabled or not. |
249 | * @lcd_panel_info: pointer for lcd panel specific structure. | 251 | * @lcd_panel_info: pointer for lcd panel specific structure. |
250 | * this structure specifies width, height, timing and polarity and so on. | 252 | * this structure specifies width, height, timing and polarity and so on. |
251 | * @phy_enable: pointer to a callback controlling D-PHY enable/reset | ||
252 | */ | 253 | */ |
253 | struct mipi_dsim_platform_data { | 254 | struct mipi_dsim_platform_data { |
254 | char lcd_panel_name[PANEL_NAME_SIZE]; | 255 | char lcd_panel_name[PANEL_NAME_SIZE]; |
@@ -256,8 +257,6 @@ struct mipi_dsim_platform_data { | |||
256 | struct mipi_dsim_config *dsim_config; | 257 | struct mipi_dsim_config *dsim_config; |
257 | unsigned int enabled; | 258 | unsigned int enabled; |
258 | void *lcd_panel_info; | 259 | void *lcd_panel_info; |
259 | |||
260 | int (*phy_enable)(struct platform_device *pdev, bool on); | ||
261 | }; | 260 | }; |
262 | 261 | ||
263 | /* | 262 | /* |