Skip to contentSkip to conversation

video: exynos_dp: remove non-DT support for Exynos Display Port

PATCH Superseded Jingoo Han 2 participants 2 messages Jul 2, 2013 – Jul 5, 2013

Subsystems (3)

v4 of 8 Superseded Latest is v8 →

lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

PATCH v4 3/4 video: exynos_dp: remove non-DT support for Exynos Display Port

Exynos Display Port can be used only for Exynos SoCs. In addition, non-DT for EXYNOS SoCs is be supported from v3.11; thus, there is no need to support non-DT for Exynos Display Port.

The 'include/video/exynos_dp.h' file has been used for non-DT support and the content of file include/video/exynos_dp.h is moved to drivers/video/exynos/exynos_dp_core.h. Thus, the 'exynos_dp.h' file is removed. Also, 'struct exynos_dp_platdata' is removed, because it is not used any more.

---
 drivers/video/exynos/Kconfig          |    2 +-
 drivers/video/exynos/exynos_dp_core.c |  116 +++++++----------------------
 drivers/video/exynos/exynos_dp_core.h |  109 +++++++++++++++++++++++++++
 drivers/video/exynos/exynos_dp_reg.c  |    2 -
 include/video/exynos_dp.h             |  131 ---------------------------------
 5 files changed, 135 insertions(+), 225 deletions(-)
 delete mode 100644 include/video/exynos_dp.h
drivers/video/exynos/Kconfig +1 -1
index 1b035b2..fab9019 100644
@@ -29,7 +29,7 @@ config EXYNOS_LCD_S6E8AX0
 
 config EXYNOS_DP
 	bool "EXYNOS DP driver support"
-	depends on ARCH_EXYNOS
+	depends on OF && ARCH_EXYNOS
 	default n
 	help
 	  This enables support for DP device.
drivers/video/exynos/exynos_dp_core.c +25 -91

211 lines not on this page · raw message

drivers/video/exynos/exynos_dp_core.h +109 -0

121 lines not on this page · raw message

drivers/video/exynos/exynos_dp_reg.c +0 -2
index 29d9d03..b70da50 100644
@@ -14,8 +14,6 @@
 #include <linux/io.h>
 #include <linux/delay.h>
 
-#include <video/exynos_dp.h>
-
 #include "exynos_dp_core.h"
 #include "exynos_dp_reg.h"
 
include/video/exynos_dp.h deleted +0 -131

131 lines not on this page · raw message

Signature · 1 line
1.7.10.4
#1 lore raw

PATCH v4 3/4 video: exynos_dp: remove non-DT support for Exynos Display Port

Hi Jingoo,

Quoted 11 lines · On Tuesday 02 of July 2013 17:41:52 Jingoo Han wrote:

Exynos Display Port can be used only for Exynos SoCs. In addition, non-DT for EXYNOS SoCs is be supported from v3.11; thus, there is no need to support non-DT for Exynos Display Port.

The 'include/video/exynos_dp.h' file has been used for non-DT support and the content of file include/video/exynos_dp.h is moved to drivers/video/exynos/exynos_dp_core.h. Thus, the 'exynos_dp.h' file is removed. Also, 'struct exynos_dp_platdata' is removed, because it is not used any more.

Quoted 10 lines
---
 drivers/video/exynos/Kconfig          |    2 +-
 drivers/video/exynos/exynos_dp_core.c |  116
+++++++---------------------- drivers/video/exynos/exynos_dp_core.h | 
109 +++++++++++++++++++++++++++ drivers/video/exynos/exynos_dp_reg.c  |
   2 -
 include/video/exynos_dp.h             |  131
--------------------------------- 5 files changed, 135 insertions(+),
225 deletions(-)
 delete mode 100644 include/video/exynos_dp.h

Best regards,
Tomasz