From patchwork Tue Nov 23 07:16:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 349011 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 oAN7FaAB015607 for ; Tue, 23 Nov 2010 07:15:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751991Ab0KWHPf (ORCPT ); Tue, 23 Nov 2010 02:15:35 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:12743 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751959Ab0KWHPf (ORCPT ); Tue, 23 Nov 2010 02:15:35 -0500 Received: from epmmp1 (mailout4.samsung.com [203.254.224.34]) by mailout4.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LCB00I69THXHQE0@mailout4.samsung.com> for linux-fbdev@vger.kernel.org; Tue, 23 Nov 2010 16:15:33 +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 <0LCB00FURTHXL7@mmp1.samsung.com> for linux-fbdev@vger.kernel.org; Tue, 23 Nov 2010 16:15:33 +0900 (KST) Received: from localhost.localdomain ([10.89.10.123]) by TNRNDGASPAPP1.tn.corp.samsungelectronics.net with Microsoft SMTPSVC(6.0.3790.4675); Tue, 23 Nov 2010 16:15:33 +0900 Date: Tue, 23 Nov 2010 16:16:08 +0900 From: Inki Dae Subject: [PATCH 2/4] S5PC110: 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, kgene.kim@samsung.com, lethal@linux-sh.org, akpm@linux-foundation.org, Inki Dae Message-id: <1290496568-4893-1-git-send-email-inki.dae@samsung.com> X-Mailer: git-send-email 1.5.4.3 Content-transfer-encoding: 7BIT References: <> X-OriginalArrivalTime: 23 Nov 2010 07:15:33.0663 (UTC) FILETIME=[37F902F0:01CB8ADE] 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, 23 Nov 2010 07:15:36 +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;