From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2C79C433FE for ; Wed, 12 Jan 2022 09:04:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351908AbiALJEn (ORCPT ); Wed, 12 Jan 2022 04:04:43 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:34177 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351894AbiALJEm (ORCPT ); Wed, 12 Jan 2022 04:04:42 -0500 Received: (Authenticated sender: jacopo@jmondi.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id EF5F81BF203; Wed, 12 Jan 2022 09:04:38 +0000 (UTC) Date: Wed, 12 Jan 2022 10:05:39 +0100 From: Jacopo Mondi To: Eugen Hristev Cc: linux-media@vger.kernel.org, robh+dt@kernel.org, laurent.pinchart@ideasonboard.com, sakari.ailus@iki.fi, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, nicolas.ferre@microchip.com Subject: Re: [PATCH v3 21/23] media: atmel: atmel-isc: add raw Bayer 8bit 10bit output formats Message-ID: <20220112090539.ksn4civgcceopsc3@uno.localdomain> References: <20211213134940.324266-1-eugen.hristev@microchip.com> <20211213134940.324266-22-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211213134940.324266-22-eugen.hristev@microchip.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Eugen On Mon, Dec 13, 2021 at 03:49:38PM +0200, Eugen Hristev wrote: > The ISC can dump the 8 bit and 10 bit raw bayer formats directly to > the memory. > Thus, add them to the supported output format list. > > Signed-off-by: Eugen Hristev Reviewed-by: Jacopo Mondi Thanks j > --- > .../media/platform/atmel/atmel-sama5d2-isc.c | 24 +++++++++++++++++++ > .../media/platform/atmel/atmel-sama7g5-isc.c | 24 +++++++++++++++++++ > 2 files changed, 48 insertions(+) > > diff --git a/drivers/media/platform/atmel/atmel-sama5d2-isc.c b/drivers/media/platform/atmel/atmel-sama5d2-isc.c > index a8d4ba60d3ac..025c3e8a7e95 100644 > --- a/drivers/media/platform/atmel/atmel-sama5d2-isc.c > +++ b/drivers/media/platform/atmel/atmel-sama5d2-isc.c > @@ -88,6 +88,30 @@ static const struct isc_format sama5d2_controller_formats[] = { > { > .fourcc = V4L2_PIX_FMT_Y10, > }, > + { > + .fourcc = V4L2_PIX_FMT_SBGGR8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGBRG8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGRBG8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SRGGB8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SBGGR10, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGBRG10, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGRBG10, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SRGGB10, > + }, > }; > > /* This is a list of formats that the ISC can receive as *input* */ > diff --git a/drivers/media/platform/atmel/atmel-sama7g5-isc.c b/drivers/media/platform/atmel/atmel-sama7g5-isc.c > index 38721bd902e2..9dc75eed0098 100644 > --- a/drivers/media/platform/atmel/atmel-sama7g5-isc.c > +++ b/drivers/media/platform/atmel/atmel-sama7g5-isc.c > @@ -100,6 +100,30 @@ static const struct isc_format sama7g5_controller_formats[] = { > { > .fourcc = V4L2_PIX_FMT_Y16, > }, > + { > + .fourcc = V4L2_PIX_FMT_SBGGR8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGBRG8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGRBG8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SRGGB8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SBGGR10, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGBRG10, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGRBG10, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SRGGB10, > + }, > }; > > /* This is a list of formats that the ISC can receive as *input* */ > -- > 2.25.1 > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 67859C433EF for ; Wed, 12 Jan 2022 09:06:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Se8u5cGS5i5bVOHCJJ4z5pk/S9Rep3hOiVTQlSlRizA=; b=bVKw+5OX8PRoyC s81HReFa6lYGjz2hocERfpdTZvPsTgteroiAp2podtIXPtFJcx0Uf+Wk280qFDP8VWuGicjaVhYVC gkN9Z6m1ji85CmspGFJoSQ8RwwokLpqmH/se0pfC6/YdYkIm1VPeoEZ0CH/JA9N5GZDuRJSV69BI5 so6v3TmPjE6JlGp+ZBqua76tdmB4v2KFjPkDcjntUBU+XFQF1e7N+vtkrsM5EvQm/DyHO0u8goVru Me/8XXlHKbuPoKdqU2V4Mo58Zx6IKU+WfQGiOQ+8OWabePANVCTCHax13CH9ZJne5ADnzcRslSZyF NKW6PIWl14uINlWgdafA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7ZYo-001hEU-Nr; Wed, 12 Jan 2022 09:04:51 +0000 Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7ZYh-001hA8-2T for linux-arm-kernel@lists.infradead.org; Wed, 12 Jan 2022 09:04:45 +0000 Received: (Authenticated sender: jacopo@jmondi.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id EF5F81BF203; Wed, 12 Jan 2022 09:04:38 +0000 (UTC) Date: Wed, 12 Jan 2022 10:05:39 +0100 From: Jacopo Mondi To: Eugen Hristev Subject: Re: [PATCH v3 21/23] media: atmel: atmel-isc: add raw Bayer 8bit 10bit output formats Message-ID: <20220112090539.ksn4civgcceopsc3@uno.localdomain> References: <20211213134940.324266-1-eugen.hristev@microchip.com> <20211213134940.324266-22-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211213134940.324266-22-eugen.hristev@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220112_010443_328949_425F8578 X-CRM114-Status: GOOD ( 16.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, sakari.ailus@iki.fi, laurent.pinchart@ideasonboard.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Eugen On Mon, Dec 13, 2021 at 03:49:38PM +0200, Eugen Hristev wrote: > The ISC can dump the 8 bit and 10 bit raw bayer formats directly to > the memory. > Thus, add them to the supported output format list. > > Signed-off-by: Eugen Hristev Reviewed-by: Jacopo Mondi Thanks j > --- > .../media/platform/atmel/atmel-sama5d2-isc.c | 24 +++++++++++++++++++ > .../media/platform/atmel/atmel-sama7g5-isc.c | 24 +++++++++++++++++++ > 2 files changed, 48 insertions(+) > > diff --git a/drivers/media/platform/atmel/atmel-sama5d2-isc.c b/drivers/media/platform/atmel/atmel-sama5d2-isc.c > index a8d4ba60d3ac..025c3e8a7e95 100644 > --- a/drivers/media/platform/atmel/atmel-sama5d2-isc.c > +++ b/drivers/media/platform/atmel/atmel-sama5d2-isc.c > @@ -88,6 +88,30 @@ static const struct isc_format sama5d2_controller_formats[] = { > { > .fourcc = V4L2_PIX_FMT_Y10, > }, > + { > + .fourcc = V4L2_PIX_FMT_SBGGR8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGBRG8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGRBG8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SRGGB8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SBGGR10, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGBRG10, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGRBG10, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SRGGB10, > + }, > }; > > /* This is a list of formats that the ISC can receive as *input* */ > diff --git a/drivers/media/platform/atmel/atmel-sama7g5-isc.c b/drivers/media/platform/atmel/atmel-sama7g5-isc.c > index 38721bd902e2..9dc75eed0098 100644 > --- a/drivers/media/platform/atmel/atmel-sama7g5-isc.c > +++ b/drivers/media/platform/atmel/atmel-sama7g5-isc.c > @@ -100,6 +100,30 @@ static const struct isc_format sama7g5_controller_formats[] = { > { > .fourcc = V4L2_PIX_FMT_Y16, > }, > + { > + .fourcc = V4L2_PIX_FMT_SBGGR8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGBRG8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGRBG8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SRGGB8, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SBGGR10, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGBRG10, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SGRBG10, > + }, > + { > + .fourcc = V4L2_PIX_FMT_SRGGB10, > + }, > }; > > /* This is a list of formats that the ISC can receive as *input* */ > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel