From patchwork Mon Oct 15 09:48:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Kumar Solanki X-Patchwork-Id: 1593101 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id EB632DFB34 for ; Mon, 15 Oct 2012 09:52:07 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TNhJ9-0005JL-8Y; Mon, 15 Oct 2012 09:49:59 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TNhJ5-0005Hg-6u for linux-arm-kernel@lists.infradead.org; Mon, 15 Oct 2012 09:49:56 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MBX00B5BHYLHU30@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 15 Oct 2012 18:49:48 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.122]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6E.9E.07865.C3CDB705; Mon, 15 Oct 2012 18:49:48 +0900 (KST) X-AuditID: cbfee61a-b7f976d000001eb9-8c-507bdc3cd645 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 9C.9E.07865.C3CDB705; Mon, 15 Oct 2012 18:49:48 +0900 (KST) Received: from ritesh.localdomain.com ([107.108.83.244]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MBX009Y0HXO8210@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 15 Oct 2012 18:49:48 +0900 (KST) From: Ritesh Kumar Solanki To: linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] [media] s5p-csis: Added RAW data format as the supported format. Date: Mon, 15 Oct 2012 15:18:03 +0530 Message-id: <1350294483-7417-1-git-send-email-r.solanki@samsung.com> X-Mailer: git-send-email 1.7.2.3 DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMLMWRmVeSWpSXmKPExsWyRsSkStfmTnWAwfXPuhabHl9jdWD02Lyk PoAxissmJTUnsyy1SN8ugSujY84U5oKpbBV73t5gbGCcxtrFyMkhIWAi0X97HxuELSZx4d56 IJuLQ0hgKaPExNknWWCK+nZtY4RILGKUeD/zMyuEs5FJov10CxNIFZuAkcS+p3vAbBGBLIlb l/cwdzFycDAL+EiseiYDEhYWCJY4umU5M4jNIqAq0bd3FtgCXgEXif+XfzJDLFOQeHVjLTtE jYDEt8mHWEDGSAjISmw6wAyyVkJgD5vE/Z+3oD6QlDi44gbLBEbBBYwMqxhFUwuSC4qT0nMN 9YoTc4tL89L1kvNzNzECQ+r0v2dSOxhXNlgcYhTgYFTi4f3pVR0gxJpYVlyZe4hRgoNZSYR3 9wmgEG9KYmVValF+fFFpTmrxIUYfoEsmMkuJJucDwz2vJN7Q2MTc1NjU0sjIzNQUh7CSOG+z R0qAkEB6YklqdmpqQWoRzDgmDk6pBkYeodNfm7m33V75kTkxvbNoL+vqOu9JnHd++pUY1gYm rjnkEnZ7P+vlN1U1F/hFmAXMrrhs9WTJX/oma1OS0MSnV/QvlE0o3sLYuHeNb6zq39PfnKbp /xQXsDETSTix9vRuK4OZZc+PK99efdf7yqkpEZflSpujfrdaf1oYf2xOvvbWtJauWXeUWIoz Eg21mIuKEwEFKOZuVgIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrELMWRmVeSWpSXmKPExsVy+t9jAV2bO9UBBl+mKltsenyN1YHRY/OS +gDGqAZGm4zUxJTUIoXUvOT8lMy8dFsl7+B453hTMwNDXUNLC3MlhbzE3FRbJRefAF23zByg qUoKZYk5pUChgMTiYiV9O0wTQkPcdC1gGiN0fUOC4HqMDNBAwhrGjI45U5gLprJV7Hl7g7GB cRprFyMnh4SAiUTfrm2MELaYxIV769m6GLk4hAQWMUq8n/mZFcLZyCTRfrqFCaSKTcBIYt/T PWC2iECWxK3Le5i7GDk4mAV8JFY9kwEJCwsESxzdspwZxGYRUJXo2zuLBcTmFXCR+H/5JzPE MgWJVzfWsk9g5F7AyLCKUTS1ILmgOCk911CvODG3uDQvXS85P3cTIzhgn0ntYFzZYHGIUYCD UYmH96dXdYAQa2JZcWXuIUYJDmYlEd7dJ4BCvCmJlVWpRfnxRaU5qcWHGH2Atk9klhJNzgdG U15JvKGxibmpsamliYWJmSUOYSVx3maPlAAhgfTEktTs1NSC1CKYcUwcnFINjJtiX6m9Fzpj cvitb/S9XlYfG5meH7bt52bKeDUmbPD0UFjFt3SJfCPXYca19x9EO2+ymftpzeLQiW8yE15I ObN7v7X7uVY9bd2K6jD3iwtzfus+kF/rO/t+0zmtSzc/3WpSWN7RtO7Qrpgndb7zdLLDJTh/ vbj92J1hwbmtniuEvnr/nLC09KoSS3FGoqEWc1FxIgB8MKWghQIAAA== X-CFilter-Loop: Reflected X-Spam-Note: CRM114 invocation failed X-Spam-Score: -7.2 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.24 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.4 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 HDRS_LCASE Odd capitalization of message header Cc: kyungmin.park@samsung.com, s.nawrocki@samsung.com, mchehab@infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org csis can support jpeg, yuv and raw data format. Signed-off-by: Ritesh Kumar Solanki --- drivers/media/platform/s5p-fimc/mipi-csis.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/media/platform/s5p-fimc/mipi-csis.c b/drivers/media/platform/s5p-fimc/mipi-csis.c index 2f73d9e..0205ae4 100644 --- a/drivers/media/platform/s5p-fimc/mipi-csis.c +++ b/drivers/media/platform/s5p-fimc/mipi-csis.c @@ -145,6 +145,10 @@ static const struct csis_pix_format s5pcsis_formats[] = { .code = V4L2_MBUS_FMT_JPEG_1X8, .fmt_reg = S5PCSIS_CFG_FMT_USER(1), .data_alignment = 32, + }, { + .code = V4L2_MBUS_FMT_SGRBG10_1X10, + .fmt_reg = S5PCSIS_CFG_FMT_RAW10, + .data_alignment = 24, }, };