]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video: omap: move drivers to 'ti' directory
authorDario Binacchi <dariobin@libero.it>
Tue, 29 Dec 2020 23:16:31 +0000 (00:16 +0100)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 12 Jan 2021 05:29:04 +0000 (10:59 +0530)
Add drivers/video/ti/ folder and move all TI's code in this folder for
better maintenance.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
12 files changed:
board/BuR/common/bur_common.h
board/BuR/common/common.c
drivers/video/Kconfig
drivers/video/Makefile
drivers/video/ti/Kconfig [new file with mode: 0644]
drivers/video/ti/Makefile [new file with mode: 0644]
drivers/video/ti/am335x-fb.c [moved from drivers/video/am335x-fb.c with 100% similarity]
drivers/video/ti/am335x-fb.h [moved from drivers/video/am335x-fb.h with 100% similarity]
drivers/video/ti/tilcdc-panel.c [moved from drivers/video/tilcdc-panel.c with 100% similarity]
drivers/video/ti/tilcdc-panel.h [moved from drivers/video/tilcdc-panel.h with 100% similarity]
drivers/video/ti/tilcdc.c [moved from drivers/video/tilcdc.c with 100% similarity]
drivers/video/ti/tilcdc.h [moved from drivers/video/tilcdc.h with 100% similarity]

index c64ebe93b0e964b866061899f1cebefe6f86942e..79c9af1466b3dda0bd00b02e938dd7a840c664d4 100644 (file)
@@ -12,7 +12,7 @@
 #define _BUR_COMMON_H_
 
 #if !CONFIG_IS_ENABLED(DM_VIDEO)
-#include <../../../drivers/video/am335x-fb.h>
+#include <../../../drivers/video/ti/am335x-fb.h>
 
 int load_lcdtiming(struct am335x_lcdpanel *panel);
 #endif
index 0a5104a48f93a2c15f43cce41c37eac32cf40ff5..f676d7baa6afbd5556cd4adfe87adb675bc29e49 100644 (file)
@@ -27,7 +27,7 @@ DECLARE_GLOBAL_DATA_PTR;
 #include <asm/arch/cpu.h>
 #include <asm/gpio.h>
 #include <power/tps65217.h>
-#include "../../../drivers/video/am335x-fb.h"
+#include "../../../drivers/video/ti/am335x-fb.h"
 
 void lcdbacklight(int on)
 {
index 71363409f04e868d5d300d24f306d8666b0236be..a3f8eeba5d84109242ae2233d98fa62edd4f19ce 100644 (file)
@@ -546,10 +546,7 @@ config ATMEL_HLCD
        help
           HLCDC supports video output to an attached LCD panel.
 
-config AM335X_LCD
-       bool "Enable AM335x video support"
-       help
-          Supports video output to an attached LCD panel.
+source "drivers/video/ti/Kconfig"
 
 config LOGICORE_DP_TX
        bool "Enable Logicore DP TX driver"
index 5f0f7b440c7c9b7fbbedde9fec70c1c969881f27..76e3914678db35b07fd9caabd357eb5c66cef69a 100644 (file)
@@ -16,15 +16,13 @@ obj-$(CONFIG_DM_VIDEO) += video-uclass.o vidconsole-uclass.o
 obj-$(CONFIG_DM_VIDEO) += video_bmp.o
 obj-$(CONFIG_PANEL) += panel-uclass.o
 obj-$(CONFIG_SIMPLE_PANEL) += simple_panel.o
-obj-$(CONFIG_AM335X_LCD) += tilcdc.o tilcdc-panel.o
-else
-obj-$(CONFIG_AM335X_LCD) += am335x-fb.o
 endif
 
 obj-${CONFIG_EXYNOS_FB} += exynos/
 obj-${CONFIG_VIDEO_ROCKCHIP} += rockchip/
 obj-${CONFIG_VIDEO_STM32} += stm32/
 obj-${CONFIG_VIDEO_TEGRA124} += tegra124/
+obj-y += ti/
 
 obj-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o
 obj-$(CONFIG_ATMEL_HLCD) += atmel_hlcdfb.o
diff --git a/drivers/video/ti/Kconfig b/drivers/video/ti/Kconfig
new file mode 100644 (file)
index 0000000..3081e9e
--- /dev/null
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
+#
+config AM335X_LCD
+       bool "Enable AM335x video support"
+       help
+          Supports video output to an attached LCD panel.
diff --git a/drivers/video/ti/Makefile b/drivers/video/ti/Makefile
new file mode 100644 (file)
index 0000000..ddddd59
--- /dev/null
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
+#
+
+ifdef CONFIG_DM_VIDEO
+obj-$(CONFIG_AM335X_LCD) += tilcdc.o tilcdc-panel.o
+else
+obj-$(CONFIG_AM335X_LCD) += am335x-fb.o
+endif