From patchwork Tue Dec 28 11:26:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 436021 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBSBNZgI014223 for ; Tue, 28 Dec 2010 11:26:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753131Ab0L1L0e (ORCPT ); Tue, 28 Dec 2010 06:26:34 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:61926 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753084Ab0L1L0e (ORCPT ); Tue, 28 Dec 2010 06:26:34 -0500 Received: from epmmp1 (mailout2.samsung.com [203.254.224.25]) by mailout2.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LE4007O5YG84VE0@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Tue, 28 Dec 2010 20:26:32 +0900 (KST) Received: from TNRNDGASPAPP1.tn.corp.samsungelectronics.net ([165.213.149.150]) by mmp1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LE400BLTYG88R@mmp1.samsung.com> for linux-fbdev@vger.kernel.org; Tue, 28 Dec 2010 20:26:32 +0900 (KST) Received: from localhost.localdomain ([10.89.10.123]) by TNRNDGASPAPP1.tn.corp.samsungelectronics.net with Microsoft SMTPSVC(6.0.3790.4675); Tue, 28 Dec 2010 20:26:32 +0900 Date: Tue, 28 Dec 2010 20:26:35 +0900 From: Inki Dae Subject: [PATCH 5/5] S5PC110: add MIPI-DSI based sample lcd panel driver. To: linux-fbdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: kyungmin.park@samsung.com, lethal@linux-sh.org, akpm@linux-foundation.org, Inki Dae Message-id: <1293535595-24861-1-git-send-email-inki.dae@samsung.com> X-Mailer: git-send-email 1.7.0.4 Content-transfer-encoding: 7BIT X-OriginalArrivalTime: 28 Dec 2010 11:26:32.0666 (UTC) FILETIME=[144BC3A0:01CBA682] Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 28 Dec 2010 11:26:36 +0000 (UTC) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index aa305c5..325ce86 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -2003,6 +2003,13 @@ config S5P_MIPI_DSI ---help--- This enables support for MIPI-DSI device. +config S5P_MIPI_SAMPLE + tristate "Samsung SoC MIPI-DSI based sample driver." + depends on S5P_MIPI_DSI && BACKLIGHT_LCD_SUPPORT + default n + ---help--- + This enables support for MIPI-DSI based sample driver. + config FB_NUC900 bool "NUC900 LCD framebuffer support" depends on FB && ARCH_W90X900 diff --git a/drivers/video/Makefile b/drivers/video/Makefile index f4baed6..c8ac591 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -117,6 +117,7 @@ obj-$(CONFIG_FB_S3C) += s3c-fb.o obj-$(CONFIG_FB_S3C2410) += s3c2410fb.o obj-$(CONFIG_S5P_MIPI_DSI) += s5p_mipi_dsi.o s5p_mipi_dsi_common.o \ s5p_mipi_dsi_lowlevel.o +obj-$(CONFIG_S5P_MIPI_SAMPLE) += s5p_mipi_sample.o obj-$(CONFIG_FB_FSL_DIU) += fsl-diu-fb.o obj-$(CONFIG_FB_COBALT) += cobalt_lcdfb.o obj-$(CONFIG_FB_PNX4008_DUM) += pnx4008/ diff --git a/drivers/video/s5p_mipi_sample.c b/drivers/video/s5p_mipi_sample.c new file mode 100644 index 0000000..8a8abfe --- /dev/null +++ b/drivers/video/s5p_mipi_sample.c @@ -0,0 +1,220 @@ +/* linux/drivers/video/sample.c + * + * MIPI-DSI based sample AMOLED lcd panel driver. + * + * Inki Dae, + * + * 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 +#include +#include +#include +#include + +#include