From patchwork Tue Aug 7 12:34:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leela Krishna Amudala X-Patchwork-Id: 1285361 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 72D5F3FCC5 for ; Tue, 7 Aug 2012 12:21:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752548Ab2HGMVD (ORCPT ); Tue, 7 Aug 2012 08:21:03 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:65273 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751690Ab2HGMVB (ORCPT ); Tue, 7 Aug 2012 08:21:01 -0400 Received: from epcpsbgm2.samsung.com (mailout4.samsung.com [203.254.224.34]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M8D001PLWZ08S70@mailout4.samsung.com>; Tue, 07 Aug 2012 21:21:00 +0900 (KST) X-AuditID: cbfee61b-b7f566d000005c8a-98-5021082c3046 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id D1.60.23690.C2801205; Tue, 07 Aug 2012 21:21:00 +0900 (KST) Received: from localhost.localdomain ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M8D00D5FWUOOI10@mmp1.samsung.com>; Tue, 07 Aug 2012 21:21:00 +0900 (KST) From: Leela Krishna Amudala To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, ben-linux@fluff.org, kgene.kim@samsung.com, m.szyprowski@samsung.com Subject: [PATCH V4 2/2] include/video: Add register offsets for FIMD version 8 Date: Tue, 07 Aug 2012 18:04:32 +0530 Message-id: <1344342872-7904-3-git-send-email-l.krishna@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1344342872-7904-1-git-send-email-l.krishna@samsung.com> References: <1344342872-7904-1-git-send-email-l.krishna@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGJMWRmVeSWpSXmKPExsVy+t9jAV0dDsUAgzPzJS1O9H1gtZhxfh+T A5PH501yAYxRXDYpqTmZZalF+nYJXBnzLpxjLrjDVnHo2DXGBsajrF2MnBwSAiYSXQ/OQ9li EhfurWfrYuTiEBJYxCjxZvUuFginnUli1cl9jCBVbALGEvfnbmbqYuTgEBHwllh+TRGkhlmg g1FiSctjsBphAT+J7Te/soHYLAKqEl8vzQar5xVwkTg0IQtimYJE67JD7CA2p4CrRPumLUwg thBQyde5C5gmMPIuYGRYxSiaWpBcUJyUnmukV5yYW1yal66XnJ+7iRHs+2fSOxhXNVgcYhTg YFTi4Z2pohAgxJpYVlyZe4hRgoNZSYT38E6gEG9KYmVValF+fFFpTmrxIUZpDhYlcV4T76/+ QgLpiSWp2ampBalFMFkmDk6pBsaJUpxLCo/57ylffP/WrZWdUgvj4vpFru+do3rKcO78Pz+5 tDsSCv+mmV8+F3rTSoRXZVnpjLXbZEPumOX/T06a4D1dVC/1ravau7tdS48yHr6ibtDi9vZD 7OoZ1/K3/yw/JffKP15TdG1thY7JrJNfF+ysmHbjpuLhP3e3zN7WcjFnQs61lxtjlViKMxIN tZiLihMB1NBO6/kBAAA= X-TM-AS-MML: No Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org FIMD version 8 has VIDTCON and VIDCON registers at different offsets from the previous versions. Hence, adding the macros. Signed-off-by: Leela Krishna Amudala --- include/video/samsung_fimd.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/video/samsung_fimd.h b/include/video/samsung_fimd.h index e979f42..7ae6c07 100644 --- a/include/video/samsung_fimd.h +++ b/include/video/samsung_fimd.h @@ -524,3 +524,10 @@ * 1110 -none- -none- -none- -none- -none- * 1111 -none- -none- -none- -none- -none- */ + +/* FIMD Version 8 register offset definitions */ +#define FIMD_V8_VIDTCON0 (0x20010) +#define FIMD_V8_VIDTCON1 (0x20014) +#define FIMD_V8_VIDTCON2 (0x20018) +#define FIMD_V8_VIDTCON3 (0x2001C) +#define FIMD_V8_VIDCON1 (0x20004)