From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966701AbdADO5F (ORCPT ); Wed, 4 Jan 2017 09:57:05 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:57672 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965382AbdADOzn (ORCPT ); Wed, 4 Jan 2017 09:55:43 -0500 Subject: Re: [PATCH v2 14/19] media: imx: Add Camera Interface subdev driver To: Steve Longerbeam , , , , , , , , , References: <1483477049-19056-1-git-send-email-steve_longerbeam@mentor.com> <1483477049-19056-15-git-send-email-steve_longerbeam@mentor.com> CC: , , , , , Steve Longerbeam From: Vladimir Zapolskiy Message-ID: <4a893d70-f34a-9fb1-401f-bcb954e3a2cb@mentor.com> Date: Wed, 4 Jan 2017 16:55:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 In-Reply-To: <1483477049-19056-15-git-send-email-steve_longerbeam@mentor.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [137.202.0.87] X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/03/2017 10:57 PM, Steve Longerbeam wrote: > This is the camera interface driver that provides the v4l2 > user interface. Frames can be received from various sources: > > - directly from SMFC for capturing unconverted images directly from > camera sensors. > > - from the IC pre-process encode task. > > - from the IC pre-process viewfinder task. > > - from the IC post-process task. > > Signed-off-by: Steve Longerbeam > --- > drivers/staging/media/imx/Makefile | 2 +- > drivers/staging/media/imx/imx-camif.c | 1010 +++++++++++++++++++++++++++++++++ > 2 files changed, 1011 insertions(+), 1 deletion(-) > create mode 100644 drivers/staging/media/imx/imx-camif.c > > diff --git a/drivers/staging/media/imx/Makefile b/drivers/staging/media/imx/Makefile > index d2a962c..fe9e992 100644 > --- a/drivers/staging/media/imx/Makefile > +++ b/drivers/staging/media/imx/Makefile > @@ -8,4 +8,4 @@ obj-$(CONFIG_VIDEO_IMX_MEDIA) += imx-ic.o > > obj-$(CONFIG_VIDEO_IMX_CAMERA) += imx-csi.o > obj-$(CONFIG_VIDEO_IMX_CAMERA) += imx-smfc.o > - > +obj-$(CONFIG_VIDEO_IMX_CAMERA) += imx-camif.o obj-$(CONFIG_VIDEO_IMX_CAMERA) += imx-camif.o imx-csi.o imx-smfc.o as an option. > diff --git a/drivers/staging/media/imx/imx-camif.c b/drivers/staging/media/imx/imx-camif.c > new file mode 100644 > index 0000000..3cf167e > --- /dev/null > +++ b/drivers/staging/media/imx/imx-camif.c > @@ -0,0 +1,1010 @@ > +/* > + * Video Camera Capture Subdev for Freescale i.MX5/6 SOC > + * > + * Copyright (c) 2012-2016 Mentor Graphics Inc. > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free Software Foundation; either version 2 of the License, or > + * (at your option) any later version. > + */ > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include Please sort the list of headers alphabetically. > +#include