From patchwork Wed Dec 26 08:15:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 1910791 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 7F4D4DFAC4 for ; Wed, 26 Dec 2012 08:15:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752861Ab2LZIP7 (ORCPT ); Wed, 26 Dec 2012 03:15:59 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:53390 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751189Ab2LZIP6 (ORCPT ); Wed, 26 Dec 2012 03:15:58 -0500 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 <0MFM009AOPLW3LC0@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Wed, 26 Dec 2012 17:15:40 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id A1.7A.01231.C22BAD05; Wed, 26 Dec 2012 17:15:40 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-13-50dab22c64fd Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 61.7A.01231.C22BAD05; Wed, 26 Dec 2012 17:15:40 +0900 (KST) Received: from DOJG1HAN02 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MFM00GOYPM45080@mmp2.samsung.com> for linux-fbdev@vger.kernel.org; Wed, 26 Dec 2012 17:15:40 +0900 (KST) From: Jingoo Han To: 'Florian Tobias Schandinat' Cc: linux-fbdev@vger.kernel.org, 'Jingoo Han' References: <032801cde340$e27b0ea0$a7712be0$%han@samsung.com> In-reply-to: <032801cde340$e27b0ea0$a7712be0$%han@samsung.com> Subject: [PATCH 4/4] video: s3c-fb: add the bit definitions for CSC EQ709 and EQ601 Date: Wed, 26 Dec 2012 17:15:39 +0900 Message-id: <032b01cde341$3121cad0$93656070$%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: Ac3jQOJghbU4lp45TN665NLWuLvzowAADpiQ Content-language: ko x-cr-hashedpuzzle: AK3S AMOP DjFx EHqK ESjP HKbr LvnT Mb0/ SOsV Tg6W cUNK dCM5 fEfW gMPK h4Ci h9c7; 3; ZgBsAG8AcgBpAGEAbgBzAGMAaABhAG4AZABpAG4AYQB0AEAAZwBtAHgALgBkAGUAOwBqAGcAMQAuAGgAYQBuAEAAcwBhAG0AcwB1AG4AZwAuAGMAbwBtADsAbABpAG4AdQB4AC0AZgBiAGQAZQB2AEAAdgBnAGUAcgAuAGsAZQByAG4AZQBsAC4AbwByAGcA; Sosha1_v1; 7; {E30DF54E-39CA-42AF-BD49-1375E5DFA32F}; agBnADEALgBoAGEAbgBAAHMAYQBtAHMAdQBuAGcALgBjAG8AbQA=; Wed, 26 Dec 2012 08:15:34 GMT; WwBQAEEAVABDAEgAIAA0AC8ANABdACAAdgBpAGQAZQBvADoAIABzADMAYwAtAGYAYgA6ACAAYQBkAGQAIAB0AGgAZQAgAGIAaQB0ACAAZABlAGYAaQBuAGkAdABpAG8AbgBzACAAZgBvAHIAIABDAFMAQwAgAEUAUQA3ADAAOQAgAGEAbgBkACAARQBRADYAMAAxAA== x-cr-puzzleid: {E30DF54E-39CA-42AF-BD49-1375E5DFA32F} DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightm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Fq9kqJnbvYGxg nMbaxcjJISFgItF/+SsThC0mceHeerYuRi4OIYHpjBKt709BObOYJB7+es8IUsUmoCbx5cth 9i5GDg4RASuJTVs1QcLMAs4SE26cYAOxhQRsJRbtecUCYnMK2En87DwNFhcWCJVY0NXHDmKz CKhK/JtzDGwkL1D9zRdXoGxBiR+T77FAzNSSWL/zOBOELS+xec1bZpC1EgLqEo/+6oKERQSM JJ5N288OUSIise/FO0aQkyUE/rBInG36A/WYqcTGPTdZJzCKzEKyYhaSFbOQrJiFZNYCRpZV jKKpBckFxUnpuYZ6xYm5xaV56XrJ+bmbGMGR/kxqB+PKBotDjAIcjEo8vBu/3wwQYk0sK67M PcQowcGsJMKrsOpWgBBvSmJlVWpRfnxRaU5q8SFGH2AITGSWEk3OByahvJJ4Q2MTMyNLIzML IxNzcxzCSuK8zR4pAUIC6YklqdmpqQWpRTDjmDg4pRoYpb2nK1VNUy3hT3OVZ2L2uie4Sjm2 l7dVXmZaZ6vr2cv3Wrac7r7y8V7LnigL8RKtDx+DZ3mdOMrvbF94t7pkQtsOPeGfdvrs89xK V0znkHRaYtSzLzKCdbK2w2Xdz2FG+2KXhmkFZ6qdnNK565ZNk1T9uwfKvEGCb6a+XO93TF4m aNM8sXglluKMREMt5qLiRADGKK5GIQMAAA== X-CFilter-Loop: Reflected 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 CSC EQ709 and EQ601. These definitons are used to control the CSC parameter such as equation 709 and equation 601. Signed-off-by: Jingoo Han --- include/video/samsung_fimd.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/video/samsung_fimd.h b/include/video/samsung_fimd.h index be7b853..2f95d9a 100644 --- a/include/video/samsung_fimd.h +++ b/include/video/samsung_fimd.h @@ -176,6 +176,8 @@ /* WINCONx */ #define WINCON(_win) (0x20 + ((_win) * 4)) +#define WINCONx_CSCCON_EQ601 (0x0 << 28) +#define WINCONx_CSCCON_EQ709 (0x1 << 28) #define WINCONx_CSCWIDTH_MASK (0x3 << 26) #define WINCONx_CSCWIDTH_SHIFT 26 #define WINCONx_CSCWIDTH_WIDE (0x0 << 26)