From mboxrd@z Thu Jan 1 00:00:00 1970 From: Javier Martinez Canillas Subject: [PATCH 1/1] OMAP: DSS2: Add TI Boxer display panel driver Date: Sat, 15 Oct 2011 16:45:57 +0200 Message-ID: <1318689957-14743-1-git-send-email-martinez.javier@gmail.com> Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:64515 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752678Ab1JOOqO (ORCPT ); Sat, 15 Oct 2011 10:46:14 -0400 Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Tomi Valkeinen Cc: David Bolcsfoldi , linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, Javier Martinez Canillas Add panel driver for TI Boxer LCD. This panel is used on many embedded devices such as Barnes & Nobles's Nook Color e-reader. Signed-off-by: Javier Martinez Canillas --- drivers/video/omap2/displays/Kconfig | 6 + drivers/video/omap2/displays/Makefile | 1 + drivers/video/omap2/displays/panel-boxer.c | 333 ++++++++++++++++++++++++++++ 3 files changed, 340 insertions(+), 0 deletions(-) create mode 100644 drivers/video/omap2/displays/panel-boxer.c diff --git a/drivers/video/omap2/displays/Kconfig b/drivers/video/omap2/displays/Kconfig index 609a280..6c9fe26 100644 --- a/drivers/video/omap2/displays/Kconfig +++ b/drivers/video/omap2/displays/Kconfig @@ -48,4 +48,10 @@ config PANEL_ACX565AKM select BACKLIGHT_CLASS_DEVICE help This is the LCD panel used on Nokia N900 + +config PANEL_BOXER + tristate "TI Boxer Panel" + help + LCD Panel used in the TI Boxer + endmenu diff --git a/drivers/video/omap2/displays/Makefile b/drivers/video/omap2/displays/Makefile index 0f601ab3a..26c662e 100644 --- a/drivers/video/omap2/displays/Makefile +++ b/drivers/video/omap2/displays/Makefile @@ -6,3 +6,4 @@ 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_ACX565AKM) += panel-acx565akm.o +obj-$(CONFIG_PANEL_BOXER) += panel-boxer.o diff --git a/drivers/video/omap2/displays/panel-boxer.c b/drivers/video/omap2/displays/panel-boxer.c new file mode 100644 index 0000000..6429960 --- /dev/null +++ b/drivers/video/omap2/displays/panel-boxer.c @@ -0,0 +1,333 @@ +/* + * Boxer panel support + * + * Copyright (C) 2008 Nokia Corporation + * Author: Tomi Valkeinen + * + * Copyright (c) 2010 Barnes & Noble + * David Bolcsfoldi + * + * 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 +#include +#include + +#include