From patchwork Fri Nov 19 01:29:31 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 337981 X-Patchwork-Delegate: lethal@linux-sh.org 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 oAJ1SUln010374 for ; Fri, 19 Nov 2010 01:29:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754730Ab0KSB3N (ORCPT ); Thu, 18 Nov 2010 20:29:13 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:60064 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750982Ab0KSB3M (ORCPT ); Thu, 18 Nov 2010 20:29:12 -0500 Received: from epmmp2 (mailout1.samsung.com [203.254.224.24]) by mailout1.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LC300LVRYSNPA10@mailout1.samsung.com> for linux-fbdev@vger.kernel.org; Fri, 19 Nov 2010 10:29:11 +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 <0LC300J70YSNNH@mmp2.samsung.com> for linux-fbdev@vger.kernel.org; Fri, 19 Nov 2010 10:29:11 +0900 (KST) Received: from localhost.localdomain ([10.89.10.123]) by TNRNDGASPAPP1.tn.corp.samsungelectronics.net with Microsoft SMTPSVC(6.0.3790.4675); Fri, 19 Nov 2010 10:29:10 +0900 Date: Fri, 19 Nov 2010 10:29:31 +0900 From: Inki Dae Subject: [PATCH 2/3] S5PV210: added parameters for CPU interface to plat-samsung/fb.h In-reply-to: <> 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: <1290130171-7856-1-git-send-email-inki.dae@samsung.com> X-Mailer: git-send-email 1.5.4.3 Content-transfer-encoding: 7BIT References: <> X-OriginalArrivalTime: 19 Nov 2010 01:29:10.0972 (UTC) FILETIME=[2ADF07C0:01CB8789] 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]); Fri, 19 Nov 2010 01:29:13 +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;