From f7018c21350204c4cf628462f229d44d03545254 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Thu, 13 Feb 2014 15:31:38 +0200 Subject: video: move fbdev to drivers/video/fbdev The drivers/video directory is a mess. It contains generic video related files, directories for backlight, console, linux logo, lots of fbdev device drivers, fbdev framework files. Make some order into the chaos by creating drivers/video/fbdev directory, and move all fbdev related files there. No functionality is changed, although I guess it is possible that some subtle Makefile build order related issue could be created by this patch. Signed-off-by: Tomi Valkeinen Acked-by: Laurent Pinchart Acked-by: Geert Uytterhoeven Acked-by: Rob Clark Acked-by: Jingoo Han Acked-by: Daniel Vetter --- drivers/video/omap2/dss/Kconfig | 121 - drivers/video/omap2/dss/Makefile | 15 - drivers/video/omap2/dss/apply.c | 1700 --------- drivers/video/omap2/dss/core.c | 360 -- drivers/video/omap2/dss/dispc-compat.c | 666 ---- drivers/video/omap2/dss/dispc-compat.h | 30 - drivers/video/omap2/dss/dispc.c | 3853 --------------------- drivers/video/omap2/dss/dispc.h | 917 ----- drivers/video/omap2/dss/dispc_coefs.c | 325 -- drivers/video/omap2/dss/display-sysfs.c | 345 -- drivers/video/omap2/dss/display.c | 338 -- drivers/video/omap2/dss/dpi.c | 774 ----- drivers/video/omap2/dss/dsi.c | 5751 ------------------------------- drivers/video/omap2/dss/dss-of.c | 159 - drivers/video/omap2/dss/dss.c | 972 ------ drivers/video/omap2/dss/dss.h | 438 --- drivers/video/omap2/dss/dss_features.c | 935 ----- drivers/video/omap2/dss/dss_features.h | 117 - drivers/video/omap2/dss/hdmi.h | 444 --- drivers/video/omap2/dss/hdmi4.c | 703 ---- drivers/video/omap2/dss/hdmi4_core.c | 1036 ------ drivers/video/omap2/dss/hdmi4_core.h | 276 -- drivers/video/omap2/dss/hdmi_common.c | 425 --- drivers/video/omap2/dss/hdmi_phy.c | 160 - drivers/video/omap2/dss/hdmi_pll.c | 232 -- drivers/video/omap2/dss/hdmi_wp.c | 275 -- drivers/video/omap2/dss/manager-sysfs.c | 529 --- drivers/video/omap2/dss/manager.c | 263 -- drivers/video/omap2/dss/output.c | 254 -- drivers/video/omap2/dss/overlay-sysfs.c | 456 --- drivers/video/omap2/dss/overlay.c | 202 -- drivers/video/omap2/dss/rfbi.c | 1058 ------ drivers/video/omap2/dss/sdi.c | 433 --- drivers/video/omap2/dss/venc.c | 980 ------ drivers/video/omap2/dss/venc_panel.c | 232 -- 35 files changed, 25774 deletions(-) delete mode 100644 drivers/video/omap2/dss/Kconfig delete mode 100644 drivers/video/omap2/dss/Makefile delete mode 100644 drivers/video/omap2/dss/apply.c delete mode 100644 drivers/video/omap2/dss/core.c delete mode 100644 drivers/video/omap2/dss/dispc-compat.c delete mode 100644 drivers/video/omap2/dss/dispc-compat.h delete mode 100644 drivers/video/omap2/dss/dispc.c delete mode 100644 drivers/video/omap2/dss/dispc.h delete mode 100644 drivers/video/omap2/dss/dispc_coefs.c delete mode 100644 drivers/video/omap2/dss/display-sysfs.c delete mode 100644 drivers/video/omap2/dss/display.c delete mode 100644 drivers/video/omap2/dss/dpi.c delete mode 100644 drivers/video/omap2/dss/dsi.c delete mode 100644 drivers/video/omap2/dss/dss-of.c delete mode 100644 drivers/video/omap2/dss/dss.c delete mode 100644 drivers/video/omap2/dss/dss.h delete mode 100644 drivers/video/omap2/dss/dss_features.c delete mode 100644 drivers/video/omap2/dss/dss_features.h delete mode 100644 drivers/video/omap2/dss/hdmi.h delete mode 100644 drivers/video/omap2/dss/hdmi4.c delete mode 100644 drivers/video/omap2/dss/hdmi4_core.c delete mode 100644 drivers/video/omap2/dss/hdmi4_core.h delete mode 100644 drivers/video/omap2/dss/hdmi_common.c delete mode 100644 drivers/video/omap2/dss/hdmi_phy.c delete mode 100644 drivers/video/omap2/dss/hdmi_pll.c delete mode 100644 drivers/video/omap2/dss/hdmi_wp.c delete mode 100644 drivers/video/omap2/dss/manager-sysfs.c delete mode 100644 drivers/video/omap2/dss/manager.c delete mode 100644 drivers/video/omap2/dss/output.c delete mode 100644 drivers/video/omap2/dss/overlay-sysfs.c delete mode 100644 drivers/video/omap2/dss/overlay.c delete mode 100644 drivers/video/omap2/dss/rfbi.c delete mode 100644 drivers/video/omap2/dss/sdi.c delete mode 100644 drivers/video/omap2/dss/venc.c delete mode 100644 drivers/video/omap2/dss/venc_panel.c (limited to 'drivers/video/omap2/dss') diff --git a/drivers/video/omap2/dss/Kconfig b/drivers/video/omap2/dss/Kconfig deleted file mode 100644 index dde4281663b1..000000000000 --- a/drivers/video/omap2/dss/Kconfig +++ /dev/null @@ -1,121 +0,0 @@ -menuconfig OMAP2_DSS - tristate "OMAP2+ Display Subsystem support" - select VIDEOMODE_HELPERS - help - OMAP2+ Display Subsystem support. - -if OMAP2_DSS - -config OMAP2_DSS_DEBUG - bool "Debug support" - default n - help - This enables printing of debug messages. Alternatively, debug messages - can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting - appropriate flags in /dynamic_debug/control. - -config OMAP2_DSS_DEBUGFS - bool "Debugfs filesystem support" - depends on DEBUG_FS - default n - help - This enables debugfs for OMAPDSS at /omapdss. This enables - querying about clock configuration and register configuration of dss, - dispc, dsi, hdmi and rfbi. - -config OMAP2_DSS_COLLECT_IRQ_STATS - bool "Collect DSS IRQ statistics" - depends on OMAP2_DSS_DEBUGFS - default n - help - Collect DSS IRQ statistics, printable via debugfs. - - The statistics can be found from - /omapdss/dispc_irq for DISPC interrupts, and - /omapdss/dsi_irq for DSI interrupts. - -config OMAP2_DSS_DPI - bool "DPI support" - default y - help - DPI Interface. This is the Parallel Display Interface. - -config OMAP2_DSS_RFBI - bool "RFBI support" - depends on BROKEN - default n - help - MIPI DBI support (RFBI, Remote Framebuffer Interface, in Texas - Instrument's terminology). - - DBI is a bus between the host processor and a peripheral, - such as a display or a framebuffer chip. - - See http://www.mipi.org/ for DBI specifications. - -config OMAP2_DSS_VENC - bool "VENC support" - default y - help - OMAP Video Encoder support for S-Video and composite TV-out. - -config OMAP4_DSS_HDMI - bool "HDMI support" - default y - help - HDMI Interface. This adds the High Definition Multimedia Interface. - See http://www.hdmi.org/ for HDMI specification. - -config OMAP4_DSS_HDMI_AUDIO - bool - -config OMAP2_DSS_SDI - bool "SDI support" - default n - help - SDI (Serial Display Interface) support. - - SDI is a high speed one-way display serial bus between the host - processor and a display. - -config OMAP2_DSS_DSI - bool "DSI support" - default n - help - MIPI DSI (Display Serial Interface) support. - - DSI is a high speed half-duplex serial interface between the host - processor and a peripheral, such as a display or a framebuffer chip. - - See http://www.mipi.org/ for DSI specifications. - -config OMAP2_DSS_MIN_FCK_PER_PCK - int "Minimum FCK/PCK ratio (for scaling)" - range 0 32 - default 0 - help - This can be used to adjust the minimum FCK/PCK ratio. - - With this you can make sure that DISPC FCK is at least - n x PCK. Video plane scaling requires higher FCK than - normally. - - If this is set to 0, there's no extra constraint on the - DISPC FCK. However, the FCK will at minimum be - 2xPCK (if active matrix) or 3xPCK (if passive matrix). - - Max FCK is 173MHz, so this doesn't work if your PCK - is very high. - -config OMAP2_DSS_SLEEP_AFTER_VENC_RESET - bool "Sleep 20ms after VENC reset" - default y - help - There is a 20ms sleep after VENC reset which seemed to fix the - reset. The reason for the bug is unclear, and it's also unclear - on what platforms this happens. - - This option enables the sleep, and is enabled by default. You can - disable the sleep if it doesn't cause problems on your platform. - -endif diff --git a/drivers/video/omap2/dss/Makefile b/drivers/video/omap2/dss/Makefile deleted file mode 100644 index 8aec8bda27cc..000000000000 --- a/drivers/video/omap2/dss/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -obj-$(CONFIG_OMAP2_DSS) += omapdss.o -# Core DSS files -omapdss-y := core.o dss.o dss_features.o dispc.o dispc_coefs.o display.o \ - output.o dss-of.o -# DSS compat layer files -omapdss-y += manager.o manager-sysfs.o overlay.o overlay-sysfs.o apply.o \ - dispc-compat.o display-sysfs.o -omapdss-$(CONFIG_OMAP2_DSS_DPI) += dpi.o -omapdss-$(CONFIG_OMAP2_DSS_RFBI) += rfbi.o -omapdss-$(CONFIG_OMAP2_DSS_VENC) += venc.o -omapdss-$(CONFIG_OMAP2_DSS_SDI) += sdi.o -omapdss-$(CONFIG_OMAP2_DSS_DSI) += dsi.o -omapdss-$(CONFIG_OMAP4_DSS_HDMI) += hdmi4.o hdmi_common.o hdmi_wp.o hdmi_pll.o \ - hdmi_phy.o hdmi4_core.o -ccflags-$(CONFIG_OMAP2_DSS_DEBUG) += -DDEBUG diff --git a/drivers/video/omap2/dss/apply.c b/drivers/video/omap2/dss/apply.c deleted file mode 100644 index 0a0b084ce65d..000000000000 --- a/drivers/video/omap2/dss/apply.c +++ /dev/null @@ -1,1700 +0,0 @@ -/* - * Copyright (C) 2011 Texas Instruments - * Author: Tomi Valkeinen - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ - -#define DSS_SUBSYS_NAME "APPLY" - -#include -#include -#include -#include -#include - -#include