From 871480933a1c28f8a9fed4c4d34d06c439a7a422 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 11 Jan 2015 12:28:04 +0530 Subject: Moved, renamed, and deleted files The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure. --- drivers/video/omap2/Kconfig | 9 + drivers/video/omap2/Makefile | 6 + drivers/video/omap2/displays/Kconfig | 75 + drivers/video/omap2/displays/Makefile | 11 + drivers/video/omap2/displays/panel-acx565akm.c | 816 ++++ drivers/video/omap2/displays/panel-dvi.c | 363 ++ drivers/video/omap2/displays/panel-generic-dpi.c | 595 +++ .../omap2/displays/panel-lgphilips-lb035q02.c | 269 ++ drivers/video/omap2/displays/panel-n8x0.c | 746 +++ .../omap2/displays/panel-nec-nl8048hl11-01b.c | 357 ++ drivers/video/omap2/displays/panel-picodlp.c | 594 +++ drivers/video/omap2/displays/panel-picodlp.h | 288 ++ .../video/omap2/displays/panel-sharp-ls037v7dw01.c | 233 + drivers/video/omap2/displays/panel-taal.c | 1915 ++++++++ .../video/omap2/displays/panel-tpo-td043mtea1.c | 583 +++ drivers/video/omap2/dss/Kconfig | 131 + drivers/video/omap2/dss/Makefile | 10 + drivers/video/omap2/dss/apply.c | 1497 ++++++ drivers/video/omap2/dss/core.c | 609 +++ drivers/video/omap2/dss/dispc.c | 3464 ++++++++++++++ drivers/video/omap2/dss/dispc.h | 759 +++ drivers/video/omap2/dss/dispc_coefs.c | 325 ++ drivers/video/omap2/dss/display.c | 576 +++ drivers/video/omap2/dss/dpi.c | 389 ++ drivers/video/omap2/dss/dsi.c | 4864 ++++++++++++++++++++ drivers/video/omap2/dss/dss.c | 864 ++++ drivers/video/omap2/dss/dss.h | 547 +++ drivers/video/omap2/dss/dss_features.c | 683 +++ drivers/video/omap2/dss/dss_features.h | 117 + drivers/video/omap2/dss/hdmi.c | 921 ++++ drivers/video/omap2/dss/hdmi_panel.c | 256 ++ drivers/video/omap2/dss/manager.c | 686 +++ drivers/video/omap2/dss/overlay.c | 675 +++ drivers/video/omap2/dss/rfbi.c | 1023 ++++ drivers/video/omap2/dss/sdi.c | 192 + drivers/video/omap2/dss/ti_hdmi.h | 188 + drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c | 1261 +++++ drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h | 543 +++ drivers/video/omap2/dss/venc.c | 913 ++++ drivers/video/omap2/omapfb/Kconfig | 28 + drivers/video/omap2/omapfb/Makefile | 2 + drivers/video/omap2/omapfb/omapfb-ioctl.c | 929 ++++ drivers/video/omap2/omapfb/omapfb-main.c | 2506 ++++++++++ drivers/video/omap2/omapfb/omapfb-sysfs.c | 601 +++ drivers/video/omap2/omapfb/omapfb.h | 204 + drivers/video/omap2/vram.c | 570 +++ drivers/video/omap2/vrfb.c | 314 ++ 47 files changed, 33507 insertions(+) create mode 100644 drivers/video/omap2/Kconfig create mode 100644 drivers/video/omap2/Makefile create mode 100644 drivers/video/omap2/displays/Kconfig create mode 100644 drivers/video/omap2/displays/Makefile create mode 100644 drivers/video/omap2/displays/panel-acx565akm.c create mode 100644 drivers/video/omap2/displays/panel-dvi.c create mode 100644 drivers/video/omap2/displays/panel-generic-dpi.c create mode 100644 drivers/video/omap2/displays/panel-lgphilips-lb035q02.c create mode 100644 drivers/video/omap2/displays/panel-n8x0.c create mode 100644 drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c create mode 100644 drivers/video/omap2/displays/panel-picodlp.c create mode 100644 drivers/video/omap2/displays/panel-picodlp.h create mode 100644 drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c create mode 100644 drivers/video/omap2/displays/panel-taal.c create mode 100644 drivers/video/omap2/displays/panel-tpo-td043mtea1.c create mode 100644 drivers/video/omap2/dss/Kconfig create mode 100644 drivers/video/omap2/dss/Makefile create mode 100644 drivers/video/omap2/dss/apply.c create mode 100644 drivers/video/omap2/dss/core.c create mode 100644 drivers/video/omap2/dss/dispc.c create mode 100644 drivers/video/omap2/dss/dispc.h create mode 100644 drivers/video/omap2/dss/dispc_coefs.c create mode 100644 drivers/video/omap2/dss/display.c create mode 100644 drivers/video/omap2/dss/dpi.c create mode 100644 drivers/video/omap2/dss/dsi.c create mode 100644 drivers/video/omap2/dss/dss.c create mode 100644 drivers/video/omap2/dss/dss.h create mode 100644 drivers/video/omap2/dss/dss_features.c create mode 100644 drivers/video/omap2/dss/dss_features.h create mode 100644 drivers/video/omap2/dss/hdmi.c create mode 100644 drivers/video/omap2/dss/hdmi_panel.c create mode 100644 drivers/video/omap2/dss/manager.c create mode 100644 drivers/video/omap2/dss/overlay.c create mode 100644 drivers/video/omap2/dss/rfbi.c create mode 100644 drivers/video/omap2/dss/sdi.c create mode 100644 drivers/video/omap2/dss/ti_hdmi.h create mode 100644 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c create mode 100644 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h create mode 100644 drivers/video/omap2/dss/venc.c create mode 100644 drivers/video/omap2/omapfb/Kconfig create mode 100644 drivers/video/omap2/omapfb/Makefile create mode 100644 drivers/video/omap2/omapfb/omapfb-ioctl.c create mode 100644 drivers/video/omap2/omapfb/omapfb-main.c create mode 100644 drivers/video/omap2/omapfb/omapfb-sysfs.c create mode 100644 drivers/video/omap2/omapfb/omapfb.h create mode 100644 drivers/video/omap2/vram.c create mode 100644 drivers/video/omap2/vrfb.c (limited to 'drivers/video/omap2') diff --git a/drivers/video/omap2/Kconfig b/drivers/video/omap2/Kconfig new file mode 100644 index 00000000..d877c361 --- /dev/null +++ b/drivers/video/omap2/Kconfig @@ -0,0 +1,9 @@ +config OMAP2_VRAM + bool + +config OMAP2_VRFB + bool + +source "drivers/video/omap2/dss/Kconfig" +source "drivers/video/omap2/omapfb/Kconfig" +source "drivers/video/omap2/displays/Kconfig" diff --git a/drivers/video/omap2/Makefile b/drivers/video/omap2/Makefile new file mode 100644 index 00000000..5ddef129 --- /dev/null +++ b/drivers/video/omap2/Makefile @@ -0,0 +1,6 @@ +obj-$(CONFIG_OMAP2_VRAM) += vram.o +obj-$(CONFIG_OMAP2_VRFB) += vrfb.o + +obj-$(CONFIG_OMAP2_DSS) += dss/ +obj-$(CONFIG_FB_OMAP2) += omapfb/ +obj-y += displays/ diff --git a/drivers/video/omap2/displays/Kconfig b/drivers/video/omap2/displays/Kconfig new file mode 100644 index 00000000..408a9927 --- /dev/null +++ b/drivers/video/omap2/displays/Kconfig @@ -0,0 +1,75 @@ +menu "OMAP2/3 Display Device Drivers" + depends on OMAP2_DSS + +config PANEL_GENERIC_DPI + tristate "Generic DPI Panel" + depends on OMAP2_DSS_DPI + help + Generic DPI panel driver. + Supports DVI output for Beagle and OMAP3 SDP. + Supports LCD Panel used in TI SDP3430 and EVM boards, + OMAP3517 EVM boards and CM-T35. + +config PANEL_DVI + tristate "DVI output" + depends on OMAP2_DSS_DPI && I2C + help + Driver for external monitors, connected via DVI. The driver uses i2c + to read EDID information from the monitor. + +config PANEL_LGPHILIPS_LB035Q02 + tristate "LG.Philips LB035Q02 LCD Panel" + depends on OMAP2_DSS_DPI && SPI + help + LCD Panel used on the Gumstix Overo Palo35 + +config PANEL_SHARP_LS037V7DW01 + tristate "Sharp LS037V7DW01 LCD Panel" + depends on OMAP2_DSS_DPI + depends on BACKLIGHT_CLASS_DEVICE + help + LCD Panel used in TI's SDP3430 and EVM boards + +config PANEL_NEC_NL8048HL11_01B + tristate "NEC NL8048HL11-01B Panel" + depends on OMAP2_DSS_DPI + depends on SPI + depends on BACKLIGHT_CLASS_DEVICE + help + This NEC NL8048HL11-01B panel is TFT LCD + used in the Zoom2/3/3630 sdp boards. + +config PANEL_PICODLP + tristate "TI PICO DLP mini-projector" + depends on OMAP2_DSS_DPI && I2C + help + A mini-projector used in TI's SDP4430 and EVM boards + For more info please visit http://www.dlp.com/projector/ + +config PANEL_TAAL + tristate "Taal DSI Panel" + depends on OMAP2_DSS_DSI + depends on BACKLIGHT_CLASS_DEVICE + help + Taal DSI command mode panel from TPO. + +config PANEL_TPO_TD043MTEA1 + tristate "TPO TD043MTEA1 LCD Panel" + depends on OMAP2_DSS_DPI && SPI + help + LCD Panel used in OMAP3 Pandora + +config PANEL_ACX565AKM + tristate "ACX565AKM Panel" + depends on OMAP2_DSS_SDI && SPI + depends on BACKLIGHT_CLASS_DEVICE + help + This is the LCD panel used on Nokia N900 + +config PANEL_N8X0 + tristate "N8X0 Panel" + depends on OMAP2_DSS_RFBI && SPI + depends on BACKLIGHT_CLASS_DEVICE + help + This is the LCD panel used on Nokia N8x0 +endmenu diff --git a/drivers/video/omap2/displays/Makefile b/drivers/video/omap2/displays/Makefile new file mode 100644 index 00000000..fbfafc6e --- /dev/null +++ b/drivers/video/omap2/displays/Makefile @@ -0,0 +1,11 @@ +obj-$(CONFIG_PANEL_GENERIC_DPI) += panel-generic-dpi.o +obj-$(CONFIG_PANEL_DVI) += panel-dvi.o +obj-$(CONFIG_PANEL_LGPHILIPS_LB035Q02) += panel-lgphilips-lb035q02.o +obj-$(CONFIG_PANEL_SHARP_LS037V7DW01) += panel-sharp-ls037v7dw01.o +obj-$(CONFIG_PANEL_NEC_NL8048HL11_01B) += panel-nec-nl8048hl11-01b.o + +obj-$(CONFIG_PANEL_TAAL) += panel-taal.o +obj-$(CONFIG_PANEL_PICODLP) += panel-picodlp.o +obj-$(CONFIG_PANEL_TPO_TD043MTEA1) += panel-tpo-td043mtea1.o +obj-$(CONFIG_PANEL_ACX565AKM) += panel-acx565akm.o +obj-$(CONFIG_PANEL_N8X0) += panel-n8x0.o diff --git a/drivers/video/omap2/displays/panel-acx565akm.c b/drivers/video/omap2/displays/panel-acx565akm.c new file mode 100644 index 00000000..d26f37ac --- /dev/null +++ b/drivers/video/omap2/displays/panel-acx565akm.c @@ -0,0 +1,816 @@ +/* + * Support for ACX565AKM LCD Panel used on Nokia N900 + * + * Copyright (C) 2010 Nokia Corporation + * + * Original Driver Author: Imre Deak + * Based on panel-generic.c by Tomi Valkeinen + * Adapted to new DSS2 framework: Roger Quadros + * + * 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 . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include