diff options
author | Dario Binacchi | 2020-12-30 00:16:31 +0100 |
---|---|---|
committer | Lokesh Vutla | 2021-01-12 10:59:04 +0530 |
commit | 260cbc9af283e02bd184d0becd3466222f2e1db1 (patch) | |
tree | 15f6a582f004dc99f31d5a4d4c27e751526d592c /drivers | |
parent | 35ab1b6ef7f3a804babbb77d28041967539cd5e6 (diff) |
video: omap: move drivers to 'ti' directory
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/Kconfig | 5 | ||||
-rw-r--r-- | drivers/video/Makefile | 4 | ||||
-rw-r--r-- | drivers/video/ti/Kconfig | 8 | ||||
-rw-r--r-- | drivers/video/ti/Makefile | 10 | ||||
-rw-r--r-- | drivers/video/ti/am335x-fb.c (renamed from drivers/video/am335x-fb.c) | 0 | ||||
-rw-r--r-- | drivers/video/ti/am335x-fb.h (renamed from drivers/video/am335x-fb.h) | 0 | ||||
-rw-r--r-- | drivers/video/ti/tilcdc-panel.c (renamed from drivers/video/tilcdc-panel.c) | 0 | ||||
-rw-r--r-- | drivers/video/ti/tilcdc-panel.h (renamed from drivers/video/tilcdc-panel.h) | 0 | ||||
-rw-r--r-- | drivers/video/ti/tilcdc.c (renamed from drivers/video/tilcdc.c) | 0 | ||||
-rw-r--r-- | drivers/video/ti/tilcdc.h (renamed from drivers/video/tilcdc.h) | 0 |
10 files changed, 20 insertions, 7 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 71363409f04..a3f8eeba5d8 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -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" diff --git a/drivers/video/Makefile b/drivers/video/Makefile index 5f0f7b440c7..76e3914678d 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -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 index 00000000000..3081e9e8c09 --- /dev/null +++ b/drivers/video/ti/Kconfig @@ -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 index 00000000000..ddddd592167 --- /dev/null +++ b/drivers/video/ti/Makefile @@ -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 diff --git a/drivers/video/am335x-fb.c b/drivers/video/ti/am335x-fb.c index 5fa6f794ecc..5fa6f794ecc 100644 --- a/drivers/video/am335x-fb.c +++ b/drivers/video/ti/am335x-fb.c diff --git a/drivers/video/am335x-fb.h b/drivers/video/ti/am335x-fb.h index ad9b015e090..ad9b015e090 100644 --- a/drivers/video/am335x-fb.h +++ b/drivers/video/ti/am335x-fb.h diff --git a/drivers/video/tilcdc-panel.c b/drivers/video/ti/tilcdc-panel.c index b90dfae4ae9..b90dfae4ae9 100644 --- a/drivers/video/tilcdc-panel.c +++ b/drivers/video/ti/tilcdc-panel.c diff --git a/drivers/video/tilcdc-panel.h b/drivers/video/ti/tilcdc-panel.h index 6bcfbf8a8b4..6bcfbf8a8b4 100644 --- a/drivers/video/tilcdc-panel.h +++ b/drivers/video/ti/tilcdc-panel.h diff --git a/drivers/video/tilcdc.c b/drivers/video/ti/tilcdc.c index d13cc11801d..d13cc11801d 100644 --- a/drivers/video/tilcdc.c +++ b/drivers/video/ti/tilcdc.c diff --git a/drivers/video/tilcdc.h b/drivers/video/ti/tilcdc.h index 2645921df65..2645921df65 100644 --- a/drivers/video/tilcdc.h +++ b/drivers/video/ti/tilcdc.h |