From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from relay4-d.mail.gandi.net ([217.70.183.196]:44365 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728694AbeHNU0t (ORCPT ); Tue, 14 Aug 2018 16:26:49 -0400 Date: Tue, 14 Aug 2018 19:38:28 +0200 From: jacopo mondi To: Steve Longerbeam Cc: mchehab@kernel.org, laurent.pinchart@ideasonboard.com, maxime.ripard@bootlin.com, sam@elite-embedded.com, jagan@amarulasolutions.com, festevam@gmail.com, pza@pengutronix.de, hugues.fruchet@st.com, loic.poulain@linaro.org, daniel@zonque.org, linux-media@vger.kernel.org Subject: Re: [PATCH v2 0/2] media: i2c: ov5640: Re-work MIPI startup sequence Message-ID: <20180814173448.GA25722@w540> References: <1531247768-15362-1-git-send-email-jacopo@jmondi.org> <20180711072148.GH8180@w540> <71f4b589-2c82-7e87-22fe-8b6373947b13@gmail.com> <20180716082929.GM8180@w540> <71bc3ff6-8db2-af63-f9af-72696f7d075c@gmail.com> <20180814153559.GA16428@w540> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oLBj+sq0vYjzfsbl" Content-Disposition: inline In-Reply-To: Sender: linux-media-owner@vger.kernel.org List-ID: --oLBj+sq0vYjzfsbl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi Steve, On Tue, Aug 14, 2018 at 09:51:04AM -0700, Steve Longerbeam wrote: > Hi Jacopo, > > > On 08/14/2018 08:35 AM, jacopo mondi wrote: > >Hi Steve, > > sorry for resurecting this. > > > > > >>>I'm sorry I'm not sur I'm following. Does this mean that with that bug > >>>you are referring to up here fixed by my last patch you have capture > >>>working? > >>No, capture still not working for me on SabreSD, even after fixing > >>the bug in 476dec0 "media: ov5640: Add horizontal and vertical totals", > >>by either using your patchset, or by running version 476dec0 of ov5640.c > >>with the call to ov5640_set_timings() moved to the correct places as > >>described below. > >> > >I've been reported a bug on exposure handling that makes the first > >captured frames all black. Both me and Hugues have tried to fix the > >issue (him with a more complete series, but that's another topic). > >See [1] and [2] > > > >It might be possible that you're getting blank frames with this series > >applied? I never seen them as I'm skipping the first frames when > >capturing, but I've now tested and without the exposure fixes (either > >[1] or [2]) I actually have blank frames. > > > >If that's the case for you too (which I hope so much) would you be > >available to test again this series with exposure fixes on top? > >On my platform that actually makes all frames correct. > > > >Thanks > > j > > > >[1] [PATCH 0/2] media: ov5640: Fix set_timings and auto-exposure > >[2] [PATCH v2 0/5] Fix OV5640 exposure & gain > > > > It's not clear to me which patch sets you would like me to test. > Just [1] and [2], or [1], [2], and "media: i2c: ov5640: Re-work MIPI startup > sequence"? > I have tested on my board the following: v4.18-rc2 + MIPI Fix + Timings + Hugues' exposure fix Without Hugues' patches I get blank frames (the first ones at least) Without MIPI startup reowkr and timings I get the LP-11 error on the CSI-2 bus. As Hugues' series has to be rebased on mine, I have prepared a branch here for you if you feel like testing it: git://jmondi.org/linux ov5640/timings_exposure Thanks j > Steve > > > --oLBj+sq0vYjzfsbl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJbcxOUAAoJEHI0Bo8WoVY84fwP/iZe1I23Xczb4kw3XzMZUbEQ ZKFm3GHSkJ3y54cdNMXIHSLgx+gxidDJR3WLrWCtdVxDoMLbbtRgCHQtVdp0l0hk 9l/p1gw4CyasbNcfde3Itm+Px4itW2edCAM53BgfT+wkWxckuCAmIjX4QNvtp6pu y6kwN5b++pTuIKpJCE1oHe11IONfYwipRkdzvnDWkuJ63IOuNER30yuj9T4q+XaR l4g089U+S5TQx6fN9ZL3dXWDQnZLC4jycR4ymB3aZkMzb3TScWFFfEplcjsHGE95 AKjj/jKD68kUu+BJISFYQFB3mq80NN6kUX7MYFWc1n/LH+ecW9Co8MMqiOwAFCY5 iHjLEESB7P7F5XsboBe7O4gDlG6mkR9wVshTEHARkfYLdrwhyYlZ7wrzAFoBf7qc aKP5qmekT/ESymbs/WRlXSYjspvByZRi01wNHSNisHZnqfmB8hwxqibOriT27GUb 0HX//ucMrvHeIbguOi1lKrs9uaYcOAFPNW+KCBeATYnj95cfr1qBCuXYBo1rpEfH MdT0YXkFBNuBpxejSA/YKgdd1Mp7MRj+D7Bdnmp/sBC0T18K4ujd2wcqx5lgEXWo +npdS1OyYvw+fRbV2XnYJUt2QIDZy+y1L+33fM5S7gUQbDslPNDdPViSQwDPlklz m7bAZaJUawKuEnk90ud3 =HZl2 -----END PGP SIGNATURE----- --oLBj+sq0vYjzfsbl--