From 9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00 Mon Sep 17 00:00:00 2001 From: Yunhong Jiang Date: Tue, 4 Aug 2015 12:17:53 -0700 Subject: Add the rt linux 4.1.3-rt3 as base Import the rt linux 4.1.3-rt3 as OPNFV kvm base. It's from git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-4.1.y-rt and the base is: commit 0917f823c59692d751951bf5ea699a2d1e2f26a2 Author: Sebastian Andrzej Siewior Date: Sat Jul 25 12:13:34 2015 +0200 Prepare v4.1.3-rt3 Signed-off-by: Sebastian Andrzej Siewior We lose all the git history this way and it's not good. We should apply another opnfv project repo in future. Change-Id: I87543d81c9df70d99c5001fbdf646b202c19f423 Signed-off-by: Yunhong Jiang --- kernel/drivers/video/fbdev/omap2/Kconfig | 10 + kernel/drivers/video/fbdev/omap2/Makefile | 5 + .../drivers/video/fbdev/omap2/displays-new/Kconfig | 86 + .../video/fbdev/omap2/displays-new/Makefile | 14 + .../fbdev/omap2/displays-new/connector-analog-tv.c | 320 ++ .../video/fbdev/omap2/displays-new/connector-dvi.c | 398 ++ .../fbdev/omap2/displays-new/connector-hdmi.c | 348 ++ .../fbdev/omap2/displays-new/encoder-opa362.c | 285 + .../fbdev/omap2/displays-new/encoder-tfp410.c | 320 ++ .../fbdev/omap2/displays-new/encoder-tpd12s015.c | 379 ++ .../video/fbdev/omap2/displays-new/panel-dpi.c | 337 ++ .../video/fbdev/omap2/displays-new/panel-dsi-cm.c | 1388 +++++ .../omap2/displays-new/panel-lgphilips-lb035q02.c | 406 ++ .../omap2/displays-new/panel-nec-nl8048hl11.c | 438 ++ .../omap2/displays-new/panel-sharp-ls037v7dw01.c | 420 ++ .../omap2/displays-new/panel-sony-acx565akm.c | 917 ++++ .../omap2/displays-new/panel-tpo-td028ttec1.c | 512 ++ .../omap2/displays-new/panel-tpo-td043mtea1.c | 687 +++ kernel/drivers/video/fbdev/omap2/dss/Kconfig | 135 + kernel/drivers/video/fbdev/omap2/dss/Makefile | 18 + kernel/drivers/video/fbdev/omap2/dss/apply.c | 1702 ++++++ kernel/drivers/video/fbdev/omap2/dss/core.c | 369 ++ .../drivers/video/fbdev/omap2/dss/dispc-compat.c | 667 +++ .../drivers/video/fbdev/omap2/dss/dispc-compat.h | 30 + kernel/drivers/video/fbdev/omap2/dss/dispc.c | 4033 ++++++++++++++ kernel/drivers/video/fbdev/omap2/dss/dispc.h | 916 ++++ kernel/drivers/video/fbdev/omap2/dss/dispc_coefs.c | 325 ++ .../drivers/video/fbdev/omap2/dss/display-sysfs.c | 356 ++ kernel/drivers/video/fbdev/omap2/dss/display.c | 338 ++ kernel/drivers/video/fbdev/omap2/dss/dpi.c | 881 +++ kernel/drivers/video/fbdev/omap2/dss/dsi.c | 5590 ++++++++++++++++++++ kernel/drivers/video/fbdev/omap2/dss/dss-of.c | 181 + kernel/drivers/video/fbdev/omap2/dss/dss.c | 1235 +++++ kernel/drivers/video/fbdev/omap2/dss/dss.h | 472 ++ .../drivers/video/fbdev/omap2/dss/dss_features.c | 962 ++++ .../drivers/video/fbdev/omap2/dss/dss_features.h | 105 + kernel/drivers/video/fbdev/omap2/dss/hdmi.h | 363 ++ kernel/drivers/video/fbdev/omap2/dss/hdmi4.c | 777 +++ kernel/drivers/video/fbdev/omap2/dss/hdmi4_core.c | 894 ++++ kernel/drivers/video/fbdev/omap2/dss/hdmi4_core.h | 273 + kernel/drivers/video/fbdev/omap2/dss/hdmi5.c | 813 +++ kernel/drivers/video/fbdev/omap2/dss/hdmi5_core.c | 913 ++++ kernel/drivers/video/fbdev/omap2/dss/hdmi5_core.h | 304 ++ kernel/drivers/video/fbdev/omap2/dss/hdmi_common.c | 148 + kernel/drivers/video/fbdev/omap2/dss/hdmi_phy.c | 247 + kernel/drivers/video/fbdev/omap2/dss/hdmi_pll.c | 255 + kernel/drivers/video/fbdev/omap2/dss/hdmi_wp.c | 266 + .../drivers/video/fbdev/omap2/dss/manager-sysfs.c | 531 ++ kernel/drivers/video/fbdev/omap2/dss/manager.c | 263 + .../video/fbdev/omap2/dss/omapdss-boot-init.c | 227 + kernel/drivers/video/fbdev/omap2/dss/output.c | 267 + .../drivers/video/fbdev/omap2/dss/overlay-sysfs.c | 456 ++ kernel/drivers/video/fbdev/omap2/dss/overlay.c | 202 + kernel/drivers/video/fbdev/omap2/dss/pll.c | 389 ++ kernel/drivers/video/fbdev/omap2/dss/rfbi.c | 1058 ++++ kernel/drivers/video/fbdev/omap2/dss/sdi.c | 435 ++ kernel/drivers/video/fbdev/omap2/dss/venc.c | 980 ++++ kernel/drivers/video/fbdev/omap2/dss/video-pll.c | 211 + kernel/drivers/video/fbdev/omap2/omapfb/Kconfig | 27 + kernel/drivers/video/fbdev/omap2/omapfb/Makefile | 2 + .../video/fbdev/omap2/omapfb/omapfb-ioctl.c | 925 ++++ .../drivers/video/fbdev/omap2/omapfb/omapfb-main.c | 2655 ++++++++++ .../video/fbdev/omap2/omapfb/omapfb-sysfs.c | 605 +++ kernel/drivers/video/fbdev/omap2/omapfb/omapfb.h | 208 + kernel/drivers/video/fbdev/omap2/vrfb.c | 399 ++ 65 files changed, 40678 insertions(+) create mode 100644 kernel/drivers/video/fbdev/omap2/Kconfig create mode 100644 kernel/drivers/video/fbdev/omap2/Makefile create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/Kconfig create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/Makefile create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/connector-dvi.c create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/connector-hdmi.c create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/encoder-opa362.c create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/encoder-tpd12s015.c create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/panel-dpi.c create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/panel-dsi-cm.c create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/panel-lgphilips-lb035q02.c create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/panel-nec-nl8048hl11.c create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/panel-sharp-ls037v7dw01.c create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/panel-sony-acx565akm.c create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c create mode 100644 kernel/drivers/video/fbdev/omap2/displays-new/panel-tpo-td043mtea1.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/Kconfig create mode 100644 kernel/drivers/video/fbdev/omap2/dss/Makefile create mode 100644 kernel/drivers/video/fbdev/omap2/dss/apply.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/core.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/dispc-compat.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/dispc-compat.h create mode 100644 kernel/drivers/video/fbdev/omap2/dss/dispc.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/dispc.h create mode 100644 kernel/drivers/video/fbdev/omap2/dss/dispc_coefs.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/display-sysfs.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/display.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/dpi.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/dsi.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/dss-of.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/dss.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/dss.h create mode 100644 kernel/drivers/video/fbdev/omap2/dss/dss_features.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/dss_features.h create mode 100644 kernel/drivers/video/fbdev/omap2/dss/hdmi.h create mode 100644 kernel/drivers/video/fbdev/omap2/dss/hdmi4.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/hdmi4_core.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/hdmi4_core.h create mode 100644 kernel/drivers/video/fbdev/omap2/dss/hdmi5.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/hdmi5_core.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/hdmi5_core.h create mode 100644 kernel/drivers/video/fbdev/omap2/dss/hdmi_common.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/hdmi_phy.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/hdmi_pll.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/hdmi_wp.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/manager-sysfs.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/manager.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/omapdss-boot-init.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/output.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/overlay-sysfs.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/overlay.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/pll.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/rfbi.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/sdi.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/venc.c create mode 100644 kernel/drivers/video/fbdev/omap2/dss/video-pll.c create mode 100644 kernel/drivers/video/fbdev/omap2/omapfb/Kconfig create mode 100644 kernel/drivers/video/fbdev/omap2/omapfb/Makefile create mode 100644 kernel/drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c create mode 100644 kernel/drivers/video/fbdev/omap2/omapfb/omapfb-main.c create mode 100644 kernel/drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c create mode 100644 kernel/drivers/video/fbdev/omap2/omapfb/omapfb.h create mode 100644 kernel/drivers/video/fbdev/omap2/vrfb.c (limited to 'kernel/drivers/video/fbdev/omap2') diff --git a/kernel/drivers/video/fbdev/omap2/Kconfig b/kernel/drivers/video/fbdev/omap2/Kconfig new file mode 100644 index 000000000..c22955d2d --- /dev/null +++ b/kernel/drivers/video/fbdev/omap2/Kconfig @@ -0,0 +1,10 @@ +config OMAP2_VRFB + bool + +if ARCH_OMAP2PLUS + +source "drivers/video/fbdev/omap2/dss/Kconfig" +source "drivers/video/fbdev/omap2/omapfb/Kconfig" +source "drivers/video/fbdev/omap2/displays-new/Kconfig" + +endif diff --git a/kernel/drivers/video/fbdev/omap2/Makefile b/kernel/drivers/video/fbdev/omap2/Makefile new file mode 100644 index 000000000..f8745ec36 --- /dev/null +++ b/kernel/drivers/video/fbdev/omap2/Makefile @@ -0,0 +1,5 @@ +obj-$(CONFIG_OMAP2_VRFB) += vrfb.o + +obj-y += dss/ +obj-y += displays-new/ +obj-$(CONFIG_FB_OMAP2) += omapfb/ diff --git a/kernel/drivers/video/fbdev/omap2/displays-new/Kconfig b/kernel/drivers/video/fbdev/omap2/displays-new/Kconfig new file mode 100644 index 000000000..574710141 --- /dev/null +++ b/kernel/drivers/video/fbdev/omap2/displays-new/Kconfig @@ -0,0 +1,86 @@ +menu "OMAP Display Device Drivers (new device model)" + depends on OMAP2_DSS + +config DISPLAY_ENCODER_OPA362 + tristate "OPA362 external analog amplifier" + help + Driver for OPA362 external analog TV amplifier controlled + through a GPIO. + +config DISPLAY_ENCODER_TFP410 + tristate "TFP410 DPI to DVI Encoder" + help + Driver for TFP410 DPI to DVI encoder. + +config DISPLAY_ENCODER_TPD12S015 + tristate "TPD12S015 HDMI ESD protection and level shifter" + help + Driver for TPD12S015, which offers HDMI ESD protection and level + shifting. + +config DISPLAY_CONNECTOR_DVI + tristate "DVI Connector" + depends on I2C + help + Driver for a generic DVI connector. + +config DISPLAY_CONNECTOR_HDMI + tristate "HDMI Connector" + help + Driver for a generic HDMI connector. + +config DISPLAY_CONNECTOR_ANALOG_TV + tristate "Analog TV Connector" + help + Driver for a generic analog TV connector. + +config DISPLAY_PANEL_DPI + tristate "Generic DPI panel" + help + Driver for generic DPI panels. + +config DISPLAY_PANEL_DSI_CM + tristate "Generic DSI Command Mode Panel" + depends on BACKLIGHT_CLASS_DEVICE + help + Driver for generic DSI command mode panels. + +config DISPLAY_PANEL_SONY_ACX565AKM + tristate "ACX565AKM Panel" + depends on SPI && BACKLIGHT_CLASS_DEVICE + help + This is the LCD panel used on Nokia N900 + +config DISPLAY_PANEL_LGPHILIPS_LB035Q02 + tristate "LG.Philips LB035Q02 LCD Panel" + depends on SPI + help + LCD Panel used on the Gumstix Overo Palo35 + +config DISPLAY_PANEL_SHARP_LS037V7DW01 + tristate "Sharp LS037V7DW01 LCD Panel" + depends on BACKLIGHT_CLASS_DEVICE + help + LCD Panel used in TI's SDP3430 and EVM boards + +config DISPLAY_PANEL_TPO_TD028TTEC1 + tristate "TPO TD028TTEC1 LCD Panel" + depends on SPI + help + LCD panel used in Openmoko. + +config DISPLAY_PANEL_TPO_TD043MTEA1 + tristate "TPO TD043MTEA1 LCD Panel" + depends on SPI + help + LCD Panel used in OMAP3 Pandora + +config DISPLAY_PANEL_NEC_NL8048HL11 + tristate "NEC NL8048HL11 Panel" + depends on SPI + depends on BACKLIGHT_CLASS_DEVICE + help + This NEC NL8048HL11 panel is TFT LCD used in the + Zoom2/3/3630 sdp boards. + +endmenu diff --git a/kernel/drivers/video/fbdev/omap2/displays-new/Makefile b/kernel/drivers/video/fbdev/omap2/displays-new/Makefile new file mode 100644 index 000000000..9aa176bfb --- /dev/null +++ b/kernel/drivers/video/fbdev/omap2/displays-new/Makefile @@ -0,0 +1,14 @@ +obj-$(CONFIG_DISPLAY_ENCODER_OPA362) += encoder-opa362.o +obj-$(CONFIG_DISPLAY_ENCODER_TFP410) += encoder-tfp410.o +obj-$(CONFIG_DISPLAY_ENCODER_TPD12S015) += encoder-tpd12s015.o +obj-$(CONFIG_DISPLAY_CONNECTOR_DVI) += connector-dvi.o +obj-$(CONFIG_DISPLAY_CONNECTOR_HDMI) += connector-hdmi.o +obj-$(CONFIG_DISPLAY_CONNECTOR_ANALOG_TV) += connector-analog-tv.o +obj-$(CONFIG_DISPLAY_PANEL_DPI) += panel-dpi.o +obj-$(CONFIG_DISPLAY_PANEL_DSI_CM) += panel-dsi-cm.o +obj-$(CONFIG_DISPLAY_PANEL_SONY_ACX565AKM) += panel-sony-acx565akm.o +obj-$(CONFIG_DISPLAY_PANEL_LGPHILIPS_LB035Q02) += panel-lgphilips-lb035q02.o +obj-$(CONFIG_DISPLAY_PANEL_SHARP_LS037V7DW01) += panel-sharp-ls037v7dw01.o +obj-$(CONFIG_DISPLAY_PANEL_TPO_TD028TTEC1) += panel-tpo-td028ttec1.o +obj-$(CONFIG_DISPLAY_PANEL_TPO_TD043MTEA1) += panel-tpo-td043mtea1.o +obj-$(CONFIG_DISPLAY_PANEL_NEC_NL8048HL11) += panel-nec-nl8048hl11.o diff --git a/kernel/drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c b/kernel/drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c new file mode 100644 index 000000000..8511c648a --- /dev/null +++ b/kernel/drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c @@ -0,0 +1,320 @@ +/* + * Analog TV Connector driver + * + * Copyright (C) 2013 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. + */ + +#include +#include +#include +#include + +#include