From patchwork Thu Nov 18 11:15:56 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 335671 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 oAIBFTi5018606 for ; Thu, 18 Nov 2010 11:15:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752576Ab0KRLP2 (ORCPT ); Thu, 18 Nov 2010 06:15:28 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:39634 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751575Ab0KRLP2 (ORCPT ); Thu, 18 Nov 2010 06:15:28 -0500 Received: from epmmp2 (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LC200EREV9RIR60@mailout3.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 18 Nov 2010 20:15:27 +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 <0LC2009NUV9RWB@mmp2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 18 Nov 2010 20:15:27 +0900 (KST) Received: from localhost.localdomain ([10.89.10.123]) by TNRNDGASPAPP1.tn.corp.samsungelectronics.net with Microsoft SMTPSVC(6.0.3790.4675); Thu, 18 Nov 2010 20:15:26 +0900 Date: Thu, 18 Nov 2010 20:15:56 +0900 From: Inki Dae Subject: [PATCH 2/3] S5PV210: added MIPI-DSI Driver. In-reply-to: <> To: linux-fbdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: kyoungmin.park@samsung.com, lethal@linux-sh.org, akpm@linux-foundation.org, Inki Dae Message-id: <1290078956-29076-1-git-send-email-inki.dae@samsung.com> X-Mailer: git-send-email 1.5.4.3 Content-transfer-encoding: 7BIT References: <> X-OriginalArrivalTime: 18 Nov 2010 11:15:26.0950 (UTC) FILETIME=[E6F99060:01CB8711] 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]); Thu, 18 Nov 2010 11:15:29 +0000 (UTC) diff --git a/arch/arm/plat-samsung/include/plat/fb.h b/arch/arm/plat-samsung/include/plat/fb.h index cb3ca3a..1ba0ae0 100644 --- a/arch/arm/plat-samsung/include/plat/fb.h +++ b/arch/arm/plat-samsung/include/plat/fb.h @@ -22,14 +22,21 @@ */ #define S3C_FB_MAX_WIN (5) +enum { + FIMD_VIDEO_MODE = 0, + FIMD_CPU_MODE +}; + /** * struct s3c_fb_pd_win - per window setup data - * @win_mode: The display parameters to initialise (not for window 0) + * @win_mode: The display parameters to RGB interface + * @cpu_mode: The display parameters to CPU interface * @virtual_x: The virtual X size. * @virtual_y: The virtual Y size. */ struct s3c_fb_pd_win { struct fb_videomode win_mode; + struct fb_cpumode cpu_mode; unsigned short default_bpp; unsigned short max_bpp; @@ -43,6 +50,7 @@ struct s3c_fb_pd_win { * the data from the display system to the connected display * device. * @default_win: default window layer number to be used for UI layer. + * @interface_mode: cpu mode or rgb mode. * @vidcon0: The base vidcon0 values to control the panel data format. * @vidcon1: The base vidcon1 values to control the panel data output. * @win: The setup data for each hardware window, or NULL for unused. @@ -59,6 +67,7 @@ struct s3c_fb_platdata { struct s3c_fb_pd_win *win[S3C_FB_MAX_WIN]; + u32 interface_mode; u32 default_win; u32 vidcon0;