From 012e3ca3cb4d7f50699b983af86532aa92faa90f Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 13 Mar 2022 11:18:20 +0100 Subject: media: platform: rename omap/ to ti/omap/ As the end goal is to have platform drivers split by vendor, rename omap/ to ti/omap/. Reviewed-by: Laurent Pinchart Reviewed-by: Peter Ujfalusi Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/Kconfig | 2 +- drivers/media/platform/Makefile | 2 +- drivers/media/platform/omap/Kconfig | 17 - drivers/media/platform/omap/Makefile | 9 - drivers/media/platform/omap/omap_vout.c | 1742 ----------------------- drivers/media/platform/omap/omap_vout_vrfb.c | 419 ------ drivers/media/platform/omap/omap_vout_vrfb.h | 40 - drivers/media/platform/omap/omap_voutdef.h | 219 --- drivers/media/platform/omap/omap_voutlib.c | 361 ----- drivers/media/platform/omap/omap_voutlib.h | 39 - drivers/media/platform/ti/omap/Kconfig | 17 + drivers/media/platform/ti/omap/Makefile | 9 + drivers/media/platform/ti/omap/omap_vout.c | 1742 +++++++++++++++++++++++ drivers/media/platform/ti/omap/omap_vout_vrfb.c | 419 ++++++ drivers/media/platform/ti/omap/omap_vout_vrfb.h | 40 + drivers/media/platform/ti/omap/omap_voutdef.h | 219 +++ drivers/media/platform/ti/omap/omap_voutlib.c | 361 +++++ drivers/media/platform/ti/omap/omap_voutlib.h | 39 + 18 files changed, 2848 insertions(+), 2848 deletions(-) delete mode 100644 drivers/media/platform/omap/Kconfig delete mode 100644 drivers/media/platform/omap/Makefile delete mode 100644 drivers/media/platform/omap/omap_vout.c delete mode 100644 drivers/media/platform/omap/omap_vout_vrfb.c delete mode 100644 drivers/media/platform/omap/omap_vout_vrfb.h delete mode 100644 drivers/media/platform/omap/omap_voutdef.h delete mode 100644 drivers/media/platform/omap/omap_voutlib.c delete mode 100644 drivers/media/platform/omap/omap_voutlib.h create mode 100644 drivers/media/platform/ti/omap/Kconfig create mode 100644 drivers/media/platform/ti/omap/Makefile create mode 100644 drivers/media/platform/ti/omap/omap_vout.c create mode 100644 drivers/media/platform/ti/omap/omap_vout_vrfb.c create mode 100644 drivers/media/platform/ti/omap/omap_vout_vrfb.h create mode 100644 drivers/media/platform/ti/omap/omap_voutdef.h create mode 100644 drivers/media/platform/ti/omap/omap_voutlib.c create mode 100644 drivers/media/platform/ti/omap/omap_voutlib.h diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index c45268461f9e..4a8d28721c99 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -81,7 +81,6 @@ source "drivers/media/platform/mediatek/mtk-vcodec/Kconfig" source "drivers/media/platform/mediatek/mtk-vpu/Kconfig" source "drivers/media/platform/nvidia/tegra-vde/Kconfig" source "drivers/media/platform/nxp/Kconfig" -source "drivers/media/platform/omap/Kconfig" source "drivers/media/platform/qcom/Kconfig" source "drivers/media/platform/renesas/Kconfig" source "drivers/media/platform/rockchip/Kconfig" @@ -97,6 +96,7 @@ source "drivers/media/platform/st/stm32/Kconfig" source "drivers/media/platform/ti-vpe/Kconfig" source "drivers/media/platform/ti/am437x/Kconfig" source "drivers/media/platform/ti/davinci/Kconfig" +source "drivers/media/platform/ti/omap/Kconfig" source "drivers/media/platform/ti/omap3isp/Kconfig" source "drivers/media/platform/via/Kconfig" source "drivers/media/platform/xilinx/Kconfig" diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile index cf8657317d95..9c532bd4f96f 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -21,7 +21,6 @@ obj-y += mediatek/mtk-vcodec/ obj-y += mediatek/mtk-vpu/ obj-y += nvidia/tegra-vde/ obj-y += nxp/ -obj-y += omap/ obj-y += qcom/camss/ obj-y += qcom/venus/ obj-y += renesas/ @@ -42,6 +41,7 @@ obj-y += st/stm32/ obj-y += ti-vpe/ obj-y += ti/am437x/ obj-y += ti/davinci/ +obj-y += ti/omap/ obj-y += ti/omap3isp/ obj-y += via/ obj-y += xilinx/ diff --git a/drivers/media/platform/omap/Kconfig b/drivers/media/platform/omap/Kconfig deleted file mode 100644 index 789d5e5686c7..000000000000 --- a/drivers/media/platform/omap/Kconfig +++ /dev/null @@ -1,17 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only -config VIDEO_OMAP2_VOUT_VRFB - bool - default y - depends on VIDEO_OMAP2_VOUT && (OMAP2_VRFB || COMPILE_TEST) - -config VIDEO_OMAP2_VOUT - tristate "OMAP2/OMAP3 V4L2-Display driver" - depends on V4L_PLATFORM_DRIVERS - depends on MMU - depends on FB_OMAP2 || (COMPILE_TEST && FB_OMAP2=n) - depends on ARCH_OMAP2 || ARCH_OMAP3 || COMPILE_TEST - depends on VIDEO_V4L2 - select VIDEOBUF2_DMA_CONTIG - select OMAP2_VRFB if ARCH_OMAP2 || ARCH_OMAP3 - help - V4L2 Display driver support for OMAP2/3 based boards. diff --git a/drivers/media/platform/omap/Makefile b/drivers/media/platform/omap/Makefile deleted file mode 100644 index b17a0ac10c00..000000000000 --- a/drivers/media/platform/omap/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the omap video device drivers. -# - -# OMAP2/3 Display driver -omap-vout-y += omap_vout.o omap_voutlib.o -omap-vout-$(CONFIG_VIDEO_OMAP2_VOUT_VRFB) += omap_vout_vrfb.o -obj-$(CONFIG_VIDEO_OMAP2_VOUT) += omap-vout.o diff --git a/drivers/media/platform/omap/omap_vout.c b/drivers/media/platform/omap/omap_vout.c deleted file mode 100644 index 3e0d9af7ffec..000000000000 --- a/drivers/media/platform/omap/omap_vout.c +++ /dev/null @@ -1,1742 +0,0 @@ -/* - * omap_vout.c - * - * Copyright (C) 2005-2010 Texas Instruments. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - * - * Leveraged code from the OMAP2 camera driver - * Video-for-Linux (Version 2) camera capture driver for - * the OMAP24xx camera controller. - * - * Author: Andy Lowe (source@mvista.com) - * - * Copyright (C) 2004 MontaVista Software, Inc. - * Copyright (C) 2010 Texas Instruments. - * - * History: - * 20-APR-2006 Khasim Modified VRFB based Rotation, - * The image data is always read from 0 degree - * view and written - * to the virtual space of desired rotation angle - * 4-DEC-2006 Jian Changed to support better memory management - * - * 17-Nov-2008 Hardik Changed driver to use video_ioctl2 - * - * 23-Feb-2010 Vaibhav H Modified to use new DSS2 interface - * - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -#include