From 1890f67c9114d6fdf7696d6fa4eef62b1d7f74c4 Mon Sep 17 00:00:00 2001 From: Roger Monk Date: Wed, 10 Aug 2011 16:54:34 +0200 Subject: [PATCH 1/3] omap2-displays: Add support for ThreeFiveCorp S9700 Display * Add support for s9700rtwv35tr01b display panel * This is used on BeagleBoardToys ULCD/-lite daugtercards Signed-off-by: Roger Monk --- drivers/video/omap2/displays/Kconfig | 6 + drivers/video/omap2/displays/Makefile | 1 + .../omap2/displays/panel-tfc-s9700rtwv35tr01b.c | 118 ++++++++++++++++++++ 3 files changed, 125 insertions(+), 0 deletions(-) create mode 100644 drivers/video/omap2/displays/panel-tfc-s9700rtwv35tr01b.c diff --git a/drivers/video/omap2/displays/Kconfig b/drivers/video/omap2/displays/Kconfig index 609a280..f8be2a8 100644 --- a/drivers/video/omap2/displays/Kconfig +++ b/drivers/video/omap2/displays/Kconfig @@ -30,6 +30,12 @@ config PANEL_NEC_NL8048HL11_01B This NEC NL8048HL11-01B panel is TFT LCD used in the Zoom2/3/3630 sdp boards. +config PANEL_TFCS9700RTWV35TR01B + tristate "TFC S9700RTWV35TR01B" + depends on OMAP2_DSS + help + LCD Panel used on BeagleboardToys 800x480 LCD Expansion Module + config PANEL_TAAL tristate "Taal DSI Panel" depends on OMAP2_DSS_DSI diff --git a/drivers/video/omap2/displays/Makefile b/drivers/video/omap2/displays/Makefile index 0f601ab..8abdf50 100644 --- a/drivers/video/omap2/displays/Makefile +++ b/drivers/video/omap2/displays/Makefile @@ -5,4 +5,5 @@ obj-$(CONFIG_PANEL_NEC_NL8048HL11_01B) += panel-nec-nl8048hl11-01b.o obj-$(CONFIG_PANEL_TAAL) += panel-taal.o obj-$(CONFIG_PANEL_TPO_TD043MTEA1) += panel-tpo-td043mtea1.o +obj-$(CONFIG_PANEL_TFCS9700RTWV35TR01B) += panel-tfc-s9700rtwv35tr01b.o obj-$(CONFIG_PANEL_ACX565AKM) += panel-acx565akm.o diff --git a/drivers/video/omap2/displays/panel-tfc-s9700rtwv35tr01b.c b/drivers/video/omap2/displays/panel-tfc-s9700rtwv35tr01b.c new file mode 100644 index 0000000..c2a1a19 --- /dev/null +++ b/drivers/video/omap2/displays/panel-tfc-s9700rtwv35tr01b.c @@ -0,0 +1,118 @@ +/* + * LCD panel driver for TFC S9700RTWV35TR-01B + * + * Copyright (C) 2011 Texas Instruments Inc + * Author: Roger Monk + * From Original by : Vaibhav Hiremath + * + * 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