From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- drivers/video/omap2/displays/Kconfig | 75 + drivers/video/omap2/displays/Makefile | 11 + drivers/video/omap2/displays/panel-acx565akm.c | 798 ++++++++++ drivers/video/omap2/displays/panel-generic-dpi.c | 744 ++++++++++ .../omap2/displays/panel-lgphilips-lb035q02.c | 262 ++++ drivers/video/omap2/displays/panel-n8x0.c | 616 ++++++++ .../omap2/displays/panel-nec-nl8048hl11-01b.c | 290 ++++ drivers/video/omap2/displays/panel-picodlp.c | 561 +++++++ drivers/video/omap2/displays/panel-picodlp.h | 288 ++++ .../video/omap2/displays/panel-sharp-ls037v7dw01.c | 198 +++ drivers/video/omap2/displays/panel-taal.c | 1551 ++++++++++++++++++++ drivers/video/omap2/displays/panel-tfp410.c | 353 +++++ .../video/omap2/displays/panel-tpo-td043mtea1.c | 596 ++++++++ 13 files changed, 6343 insertions(+) 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-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-tfp410.c create mode 100644 drivers/video/omap2/displays/panel-tpo-td043mtea1.c (limited to 'drivers/video/omap2/displays') diff --git a/drivers/video/omap2/displays/Kconfig b/drivers/video/omap2/displays/Kconfig new file mode 100644 index 00000000..c3853c92 --- /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_TFP410 + tristate "TFP410 DPI-to-DVI chip" + depends on OMAP2_DSS_DPI && I2C + help + Driver for TFP410 DPI-to-DVI chip. 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..58a5176b --- /dev/null +++ b/drivers/video/omap2/displays/Makefile @@ -0,0 +1,11 @@ +obj-$(CONFIG_PANEL_GENERIC_DPI) += panel-generic-dpi.o +obj-$(CONFIG_PANEL_TFP410) += panel-tfp410.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..d7f69c09 --- /dev/null +++ b/drivers/video/omap2/displays/panel-acx565akm.c @@ -0,0 +1,798 @@ +/* + * 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 + +#include