Re: i.mx6 camera interface (CSI) and mainline kernel

Tim Harvey
2016-03-09T22:44:59Z

On Tue, Mar 8, 2016 at 6:06 PM, Steve Longerbeam
<steve_longerbeam@mentor.com> wrote:
> On 03/07/2016 08:19 AM, Tim Harvey wrote:
<snip>
>
>
> Hi Tim, good to hear it works for you on the Ventana boards.
>
> I've just pushed some more commits to the mx6-media-staging branch that
> get the drivers/media/i2c/adv7180.c subdev working with the imx6 capture
> backend. Images look perfect when switching to UYVY8_2X8 mbus code instead
> of YUYV8_2X8. But I'm holding off on that change because this subdev is used
> by Renesas targets and would likely corrupt captured images for those
> targets. But I believe UYVY is the correct transmit order according to the
> BT.656 standard.
>
> Another thing that should also be changed in drivers/media/i2c/adv7180.c
> is the field type. It should be V4L2_FIELD_SEQ_TB for NTSC and V4L2_FIELD_SEQ_BT
> for PAL.
>
> Steve
>
>

Steve,

with your latest patches, I'm crashing with an null-pointer-deref in
adv7180_set_pad_format. What is your kernel config for
CONFIG_MEDIA_CONTROLLER and CONFIG_VIDEO_V4L2_SUBDEV_API?

Your tree contains about 16 or so patches on top of linux-media for
imx6 capture. Are you close to the point where you will be posting a
patch series? If so, please CC me for testing with the adv7180 sensor.

Tim