Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux

From: Fabio Estevam
Date: Tue Jul 03 2018 - 20:19:01 EST


Hi Jacopo,

On Tue, Jul 3, 2018 at 3:41 PM, jacopo mondi <jacopo@xxxxxxxxxx> wrote:

> I've been able to test on the same platform where Jagan has reported
> this issue, and the CSI-2 bus still fails to startup properly...

Last time I heard from Jagan he reported that the LP11 timeout issue
was caused by:

commit 476dec012f4c6545b0b7599cd9adba2ed819ad3b
Author: Maxime Ripard <maxime.ripard@xxxxxxxxxxx>
Date: Mon Apr 16 08:36:55 2018 -0400

media: ov5640: Add horizontal and vertical totals

All the initialization arrays are changing the horizontal and vertical
totals for some value.

In order to clean up the driver, and since we're going to need that value
later on, let's introduce in the ov5640_mode_info structure the horizontal
and vertical total sizes, and move these out of the bytes array.

Signed-off-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxx>
Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>

Thanks