summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-04-04 14:13:51 +0200
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:44:40 +0900
commit94501304906e31ab5e00343dc1658cdd24068fd0 (patch)
tree95b190ba528becfbcf51276a2cae6696e8777eb2 /include
parentafe5a0aaa680afcc39729291b7658eb77b46f475 (diff)
downloadlinux-3.10-94501304906e31ab5e00343dc1658cdd24068fd0.tar.gz
linux-3.10-94501304906e31ab5e00343dc1658cdd24068fd0.tar.bz2
linux-3.10-94501304906e31ab5e00343dc1658cdd24068fd0.zip
video: exynos_dsi: Use generic PHY driver
Use the generic PHY API instead of the platform callback to control the MIPI DSIM DPHY. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> --- Changes since v4: - updated to latest version of the PHY framework - removed PHY labels.
Diffstat (limited to 'include')
-rw-r--r--include/video/exynos_dsi.h5
-rw-r--r--include/video/exynos_mipi_dsim.h5
2 files changed, 1 insertions, 9 deletions
diff --git a/include/video/exynos_dsi.h b/include/video/exynos_dsi.h
index 95e1568be20..5c062c75beb 100644
--- a/include/video/exynos_dsi.h
+++ b/include/video/exynos_dsi.h
@@ -25,9 +25,6 @@
*/
struct exynos_dsi_platform_data {
unsigned int enabled;
-
- int (*phy_enable)(struct platform_device *pdev, bool on);
-
unsigned int pll_stable_time;
unsigned long pll_clk_rate;
unsigned long esc_clk_rate;
@@ -36,6 +33,4 @@ struct exynos_dsi_platform_data {
unsigned short rx_timeout;
};
-int s5p_dsim_phy_enable(struct platform_device *pdev, bool on);
-
#endif /* _EXYNOS_MIPI_DSIM_H */
diff --git a/include/video/exynos_mipi_dsim.h b/include/video/exynos_mipi_dsim.h
index 68433852b81..070983d99ec 100644
--- a/include/video/exynos_mipi_dsim.h
+++ b/include/video/exynos_mipi_dsim.h
@@ -216,7 +216,7 @@ struct mipi_dsim_config {
* automatically.
* @e_clk_src: select byte clock source.
* @pd: pointer to MIPI-DSI driver platform data.
- * @phy: pointer to the generic PHY
+ * @phy: pointer to the MIPI-DSI PHY
*/
struct mipi_dsim_device {
struct device *dev;
@@ -250,7 +250,6 @@ struct mipi_dsim_device {
* @enabled: indicate whether mipi controller got enabled or not.
* @lcd_panel_info: pointer for lcd panel specific structure.
* this structure specifies width, height, timing and polarity and so on.
- * @phy_label: the generic PHY label
*/
struct mipi_dsim_platform_data {
char lcd_panel_name[PANEL_NAME_SIZE];
@@ -258,8 +257,6 @@ struct mipi_dsim_platform_data {
struct mipi_dsim_config *dsim_config;
unsigned int enabled;
void *lcd_panel_info;
-
- const char *phy_label;
};
/*