[U-Boot] [PATCH v2 01/25] exynos: video: Move driver files into their own directory

Simon Glass sjg at chromium.org
Mon Feb 22 05:08:38 CET 2016


Move all the exynos video drivers into one place for ease of maintenance.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 drivers/video/Makefile                                |  6 +-----
 drivers/video/exynos/Makefile                         | 12 ++++++++++++
 drivers/video/{ => exynos}/exynos_dp.c                |  0
 drivers/video/{ => exynos}/exynos_dp_lowlevel.c       |  0
 drivers/video/{ => exynos}/exynos_dp_lowlevel.h       |  0
 drivers/video/{ => exynos}/exynos_fb.c                |  0
 drivers/video/{ => exynos}/exynos_fb.h                |  0
 drivers/video/{ => exynos}/exynos_fimd.c              |  0
 drivers/video/{ => exynos}/exynos_mipi_dsi.c          |  0
 drivers/video/{ => exynos}/exynos_mipi_dsi_common.c   |  0
 drivers/video/{ => exynos}/exynos_mipi_dsi_common.h   |  0
 drivers/video/{ => exynos}/exynos_mipi_dsi_lowlevel.c |  0
 drivers/video/{ => exynos}/exynos_mipi_dsi_lowlevel.h |  0
 drivers/video/{ => exynos}/exynos_pwm_bl.c            |  0
 drivers/video/s6e8ax0.c                               |  4 ++--
 15 files changed, 15 insertions(+), 7 deletions(-)
 create mode 100644 drivers/video/exynos/Makefile
 rename drivers/video/{ => exynos}/exynos_dp.c (100%)
 rename drivers/video/{ => exynos}/exynos_dp_lowlevel.c (100%)
 rename drivers/video/{ => exynos}/exynos_dp_lowlevel.h (100%)
 rename drivers/video/{ => exynos}/exynos_fb.c (100%)
 rename drivers/video/{ => exynos}/exynos_fb.h (100%)
 rename drivers/video/{ => exynos}/exynos_fimd.c (100%)
 rename drivers/video/{ => exynos}/exynos_mipi_dsi.c (100%)
 rename drivers/video/{ => exynos}/exynos_mipi_dsi_common.c (100%)
 rename drivers/video/{ => exynos}/exynos_mipi_dsi_common.h (100%)
 rename drivers/video/{ => exynos}/exynos_mipi_dsi_lowlevel.c (100%)
 rename drivers/video/{ => exynos}/exynos_mipi_dsi_lowlevel.h (100%)
 rename drivers/video/{ => exynos}/exynos_pwm_bl.c (100%)

diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index d19a1d9..6d0a14d 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -23,11 +23,6 @@ obj-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o
 obj-$(CONFIG_ATMEL_HLCD) += atmel_hlcdfb.o
 obj-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.o
 obj-$(CONFIG_CFB_CONSOLE) += cfb_console.o
-obj-$(CONFIG_EXYNOS_DP) += exynos_dp.o exynos_dp_lowlevel.o
-obj-$(CONFIG_EXYNOS_FB) += exynos_fb.o exynos_fimd.o
-obj-$(CONFIG_EXYNOS_MIPI_DSIM) += exynos_mipi_dsi.o exynos_mipi_dsi_common.o \
-				exynos_mipi_dsi_lowlevel.o
-obj-$(CONFIG_EXYNOS_PWM_BL) += exynos_pwm_bl.o
 obj-$(CONFIG_FSL_DIU_FB) += fsl_diu_fb.o videomodes.o
 obj-$(CONFIG_FSL_DCU_FB) += fsl_dcu_fb.o videomodes.o
 obj-$(CONFIG_L5F31188) += l5f31188.o
@@ -65,6 +60,7 @@ obj-$(CONFIG_LG4573) += lg4573.o
 obj-$(CONFIG_AM335X_LCD) += am335x-fb.o
 
 obj-${CONFIG_VIDEO_TEGRA124} += tegra124/
+obj-${CONFIG_EXYNOS_FB} += exynos/
 obj-${CONFIG_VIDEO_ROCKCHIP} += rockchip/
 
 obj-y += bridge/
diff --git a/drivers/video/exynos/Makefile b/drivers/video/exynos/Makefile
new file mode 100644
index 0000000..d4bdf32
--- /dev/null
+++ b/drivers/video/exynos/Makefile
@@ -0,0 +1,12 @@
+#
+# (C) Copyright 2000-2007
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-$(CONFIG_EXYNOS_DP) += exynos_dp.o exynos_dp_lowlevel.o
+obj-$(CONFIG_EXYNOS_FB) += exynos_fb.o exynos_fimd.o
+obj-$(CONFIG_EXYNOS_MIPI_DSIM) += exynos_mipi_dsi.o exynos_mipi_dsi_common.o \
+				exynos_mipi_dsi_lowlevel.o
+obj-$(CONFIG_EXYNOS_PWM_BL) += exynos_pwm_bl.o
diff --git a/drivers/video/exynos_dp.c b/drivers/video/exynos/exynos_dp.c
similarity index 100%
rename from drivers/video/exynos_dp.c
rename to drivers/video/exynos/exynos_dp.c
diff --git a/drivers/video/exynos_dp_lowlevel.c b/drivers/video/exynos/exynos_dp_lowlevel.c
similarity index 100%
rename from drivers/video/exynos_dp_lowlevel.c
rename to drivers/video/exynos/exynos_dp_lowlevel.c
diff --git a/drivers/video/exynos_dp_lowlevel.h b/drivers/video/exynos/exynos_dp_lowlevel.h
similarity index 100%
rename from drivers/video/exynos_dp_lowlevel.h
rename to drivers/video/exynos/exynos_dp_lowlevel.h
diff --git a/drivers/video/exynos_fb.c b/drivers/video/exynos/exynos_fb.c
similarity index 100%
rename from drivers/video/exynos_fb.c
rename to drivers/video/exynos/exynos_fb.c
diff --git a/drivers/video/exynos_fb.h b/drivers/video/exynos/exynos_fb.h
similarity index 100%
rename from drivers/video/exynos_fb.h
rename to drivers/video/exynos/exynos_fb.h
diff --git a/drivers/video/exynos_fimd.c b/drivers/video/exynos/exynos_fimd.c
similarity index 100%
rename from drivers/video/exynos_fimd.c
rename to drivers/video/exynos/exynos_fimd.c
diff --git a/drivers/video/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c
similarity index 100%
rename from drivers/video/exynos_mipi_dsi.c
rename to drivers/video/exynos/exynos_mipi_dsi.c
diff --git a/drivers/video/exynos_mipi_dsi_common.c b/drivers/video/exynos/exynos_mipi_dsi_common.c
similarity index 100%
rename from drivers/video/exynos_mipi_dsi_common.c
rename to drivers/video/exynos/exynos_mipi_dsi_common.c
diff --git a/drivers/video/exynos_mipi_dsi_common.h b/drivers/video/exynos/exynos_mipi_dsi_common.h
similarity index 100%
rename from drivers/video/exynos_mipi_dsi_common.h
rename to drivers/video/exynos/exynos_mipi_dsi_common.h
diff --git a/drivers/video/exynos_mipi_dsi_lowlevel.c b/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c
similarity index 100%
rename from drivers/video/exynos_mipi_dsi_lowlevel.c
rename to drivers/video/exynos/exynos_mipi_dsi_lowlevel.c
diff --git a/drivers/video/exynos_mipi_dsi_lowlevel.h b/drivers/video/exynos/exynos_mipi_dsi_lowlevel.h
similarity index 100%
rename from drivers/video/exynos_mipi_dsi_lowlevel.h
rename to drivers/video/exynos/exynos_mipi_dsi_lowlevel.h
diff --git a/drivers/video/exynos_pwm_bl.c b/drivers/video/exynos/exynos_pwm_bl.c
similarity index 100%
rename from drivers/video/exynos_pwm_bl.c
rename to drivers/video/exynos/exynos_pwm_bl.c
diff --git a/drivers/video/s6e8ax0.c b/drivers/video/s6e8ax0.c
index 8494817..1bd49ee 100644
--- a/drivers/video/s6e8ax0.c
+++ b/drivers/video/s6e8ax0.c
@@ -9,8 +9,8 @@
 #include <common.h>
 #include <asm/arch/mipi_dsim.h>
 
-#include "exynos_mipi_dsi_lowlevel.h"
-#include "exynos_mipi_dsi_common.h"
+#include "exynos/exynos_mipi_dsi_lowlevel.h"
+#include "exynos/exynos_mipi_dsi_common.h"
 
 static void s6e8ax0_panel_cond(struct mipi_dsim_device *dsim_dev)
 {
-- 
2.7.0.rc3.207.g0ac5344



More information about the U-Boot mailing list