[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200731152353.GS13316@paasikivi.fi.intel.com>
Date: Fri, 31 Jul 2020 18:23:54 +0300
From: Sakari Ailus <sakari.ailus@...ux.intel.com>
To: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
Cc: Jacopo Mondi <jacopo@...ndi.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Steve Longerbeam <slongerbeam@...il.com>,
linux-media@...r.kernel.org,
Hugues Fruchet <hugues.fruchet@...com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
linux-renesas-soc@...r.kernel.org, linux-kernel@...r.kernel.org,
Biju Das <biju.das.jz@...renesas.com>,
Prabhakar <prabhakar.csengg@...il.com>
Subject: Re: [PATCH 2/2] media: i2c: ov5640: Add support for BT656 mode
Hi Prabhakar,
On Fri, Jul 31, 2020 at 10:24:47AM +0100, Lad Prabhakar wrote:
> @@ -2875,8 +2891,10 @@ static int ov5640_s_stream(struct v4l2_subdev *sd, int enable)
>
> if (sensor->ep.bus_type == V4L2_MBUS_CSI2_DPHY)
> ret = ov5640_set_stream_mipi(sensor, enable);
> - else
> + else if (sensor->ep.bus_type == V4L2_MBUS_PARALLEL)
> ret = ov5640_set_stream_dvp(sensor, enable);
> + else
> + ret = ov5640_set_stream_bt656(sensor, enable);
I'd also check for the Bt.656 mode here, rather than assuming it.
Could you also update the DT bindings, given that the sensor appears to
support Bt.656 as well? I believe this requires the bus-type property, too.
>
> if (!ret)
> sensor->streaming = enable;
--
Kind regards,
Sakari Ailus
Powered by blists - more mailing lists