From patchwork Thu Sep 27 08:48:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 1512491 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 4C13ADFE80 for ; Thu, 27 Sep 2012 08:48:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754402Ab2I0Isg (ORCPT ); Thu, 27 Sep 2012 04:48:36 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:36442 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753754Ab2I0Isf (ORCPT ); Thu, 27 Sep 2012 04:48:35 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MB000MUU345X090@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 27 Sep 2012 17:48:34 +0900 (KST) X-AuditID: cbfee61a-b7f726d000000ec7-d4-506412e21690 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 26.19.03783.2E214605; Thu, 27 Sep 2012 17:48:34 +0900 (KST) Received: from DOJG1HAN02 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MB0002N434YPV80@mmp1.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 27 Sep 2012 17:48:34 +0900 (KST) From: Jingoo Han To: 'Florian Tobias Schandinat' Cc: linux-fbdev@vger.kernel.org, 'Jingoo Han' References: <000901cd9c87$04ca7eb0$0e5f7c10$%han@samsung.com> In-reply-to: <000901cd9c87$04ca7eb0$0e5f7c10$%han@samsung.com> Subject: [PATCH 7/7] video: s3c-fb: add the bit definitions for VIDCON0_VIDOUT_WB Date: Thu, 27 Sep 2012 17:48:34 +0900 Message-id: <000f01cd9c8c$e0b846a0$a228d3e0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac2chwSwWYQVzmvoRiWLHJL9pzQ1cAABcgLg Content-language: ko x-cr-hashedpuzzle: Cdnt D5IT EZJF E8lv FP7b F3M2 JJsU LjQn Ne6h N1Js Q42E RFwc R/sO S8aK W96n YKMo; 3; ZgBsAG8AcgBpAGEAbgBzAGMAaABhAG4AZABpAG4AYQB0AEAAZwBtAHgALgBkAGUAOwBqAGcAMQAuAGgAYQBuAEAAcwBhAG0AcwB1AG4AZwAuAGMAbwBtADsAbABpAG4AdQB4AC0AZgBiAGQAZQB2AEAAdgBnAGUAcgAuAGsAZQByAG4AZQBsAC4AbwByAGcA; Sosha1_v1; 7; {97C1EB6C-58CE-44B5-9398-E8D7F8A393C5}; agBnADEALgBoAGEAbgBAAHMAYQBtAHMAdQBuAGcALgBjAG8AbQA=; Thu, 27 Sep 2012 08:48:30 GMT; WwBQAEEAVABDAEgAIAA3AC8ANwBdACAAdgBpAGQAZQBvADoAIABzADMAYwAtAGYAYgA6ACAAYQBkAGQAIAB0AGgAZQAgAGIAaQB0ACAAZABlAGYAaQBuAGkAdABpAG8AbgBzACAAZgBvAHIAIABWAEkARABDAE8ATgAwAF8AVgBJAEQATwBVAFQAXwBXAEIA x-cr-puzzleid: {97C1EB6C-58CE-44B5-9398-E8D7F8A393C5} X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCLMWRmVeSWpSXmKPExsVy+t9jAd1HQikBBs3P5SxO9H1gdWD0+LxJ LoAxissmJTUnsyy1SN8ugSvj0qLLjAUdnBWzZ1xlb2Dczt7FyMkhIWAiMePWNEYIW0ziwr31 bF2MXBxCAosYJV5tmM8E4cxikrjXtoUJpIpNQE3iy5fDQN0cHCICVhKbtmqChJkFnCUm3DjB BmILCdhKPPp8hRXE5hSwk3i77AHYMmGBYIlVPY3MIDaLgKrEhskrwEbyAtXffrOFHcIWlPgx +R4LxEwtifU7jzNB2PISm9e8ZQZZKyGgLvHory5IWETASOL+sS9QJSIS+168YwQ5WULgC4vE wXnzoOpNJS59iJjAKDILyYZZSDbMQrJhFpJRCxhZVjGKphYkFxQnpeca6hUn5haX5qXrJefn bmIEh/0zqR2MKxssDjEKcDAq8fAGuCcHCLEmlhVX5h5ilOBgVhLh3XQbKMSbklhZlVqUH19U mpNafIhRmoNFSZxX+FNggJBAemJJanZqakFqEUyWiYNTqoExQMyo1LT0qB3Pho+OS5dM8OE4 puHozf00emZidnlUgNu/eR0rjhXK7Hy8ynFfUN3hG515q+utKlkV4lfuv3ltwvJqLf9evb3T 915zWV7ANI/NfK6f3dkHPEIq756olVyu6CpnPyfrcblsk3lsnZyMPMcmJ9aDnCKXDrHfTXms KsXRxCN9ZpYSS3FGoqEWc1FxIgCv/ItcdwIAAA== Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org This patch adds the bit definitions for VIDCON0_VIDOUT_WB. These definitions are used to support writeback for RGB and i80 interface. Also, output format of writeback is YUV444. Signed-off-by: Jingoo Han --- include/video/samsung_fimd.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/video/samsung_fimd.h b/include/video/samsung_fimd.h index 634b18b..e755448 100644 --- a/include/video/samsung_fimd.h +++ b/include/video/samsung_fimd.h @@ -24,12 +24,15 @@ #define VIDCON0 (0x00) #define VIDCON0_INTERLACE (1 << 29) -#define VIDCON0_VIDOUT_MASK (0x3 << 26) +#define VIDCON0_VIDOUT_MASK (0x7 << 26) #define VIDCON0_VIDOUT_SHIFT (26) #define VIDCON0_VIDOUT_RGB (0x0 << 26) #define VIDCON0_VIDOUT_TV (0x1 << 26) #define VIDCON0_VIDOUT_I80_LDI0 (0x2 << 26) #define VIDCON0_VIDOUT_I80_LDI1 (0x3 << 26) +#define VIDCON0_VIDOUT_WB_RGB (0x4 << 26) +#define VIDCON0_VIDOUT_WB_I80_LDI0 (0x6 << 26) +#define VIDCON0_VIDOUT_WB_I80_LDI1 (0x7 << 26) #define VIDCON0_L1_DATA_MASK (0x7 << 23) #define VIDCON0_L1_DATA_SHIFT (23)