From patchwork Thu Apr 14 12:15:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 706961 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 p3ECEjdF013128 for ; Thu, 14 Apr 2011 12:15:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751409Ab1DNMPg (ORCPT ); Thu, 14 Apr 2011 08:15:36 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:12071 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751198Ab1DNMPg (ORCPT ); Thu, 14 Apr 2011 08:15:36 -0400 Received: from epmmp2 (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 <0LJN00C7661PMR40@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 14 Apr 2011 21:15:25 +0900 (KST) Received: from TNRNDGASPAPP1.tn.corp.samsungelectronics.net ([165.213.149.150]) by mmp2.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LJN00GY661QZP@mmp2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 14 Apr 2011 21:15:26 +0900 (KST) Received: from localhost.localdomain ([165.213.219.103]) by TNRNDGASPAPP1.tn.corp.samsungelectronics.net with Microsoft SMTPSVC(6.0.3790.4675); Thu, 14 Apr 2011 21:15:25 +0900 Date: Thu, 14 Apr 2011 21:15:29 +0900 From: Inki Dae Subject: [PATCH 2/2] video: Samsung SoC MIPI-DSI based sample lcd panel driver. To: lethal@linux-sh.org, linux-fbdev@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, kyungmin.park@samsung.com, akpm@linux-foundation.org, kgene.kim@samsung.com, Inki Dae Message-id: <1302783329-31266-1-git-send-email-inki.dae@samsung.com> X-Mailer: git-send-email 1.7.0.4 Content-transfer-encoding: 7BIT X-OriginalArrivalTime: 14 Apr 2011 12:15:25.0394 (UTC) FILETIME=[A289CB20:01CBFA9D] 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.6 (demeter1.kernel.org [140.211.167.41]); Thu, 14 Apr 2011 12:15:37 +0000 (UTC) this driver provides an example for implementing MIPI-DSI based lcd panel driver and includes most features for LCD Panel driver so just implement lcd register setting functions using sample functions. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- Documentation/s5p_mipi_dsim/dsim_sample_lcd.c | 244 +++++++++++++++++++++++++ 1 files changed, 244 insertions(+), 0 deletions(-) create mode 100644 Documentation/s5p_mipi_dsim/dsim_sample_lcd.c diff --git a/Documentation/s5p_mipi_dsim/dsim_sample_lcd.c b/Documentation/s5p_mipi_dsim/dsim_sample_lcd.c new file mode 100644 index 0000000..7f38c84 --- /dev/null +++ b/Documentation/s5p_mipi_dsim/dsim_sample_lcd.c @@ -0,0 +1,244 @@ +/* + * Samsung SoC MIPI-DSI based sample lcd panel driver. + * + * Copyright (c) 2011 Samsung Electronics Co., Ltd + * + * 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