From patchwork Thu Nov 29 14:48:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10704703 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DCCF713A4 for ; Thu, 29 Nov 2018 14:48:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC5842F2E7 for ; Thu, 29 Nov 2018 14:48:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C06C62F2EA; Thu, 29 Nov 2018 14:48:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BB582F2E7 for ; Thu, 29 Nov 2018 14:48:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729915AbeK3Byd (ORCPT ); Thu, 29 Nov 2018 20:54:33 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:35679 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731628AbeK3Byd (ORCPT ); Thu, 29 Nov 2018 20:54:33 -0500 Received: from w540.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id A30EF200003; Thu, 29 Nov 2018 14:48:52 +0000 (UTC) From: Jacopo Mondi To: maxime.ripard@bootlin.com, sam@elite-embedded.com, slongerbeam@gmail.com, mchehab@kernel.org Cc: Jacopo Mondi , laurent.pinchart@ideasonboard.com, hans.verkuil@cisco.com, sakari.ailus@linux.intel.com, linux-media@vger.kernel.org, hugues.fruchet@st.com, loic.poulain@linaro.org, daniel@zonque.org, aford173@gmail.com Subject: [PATCH 0/2] media: ov5640: MIPI fixes on top of Maxime's v5 Date: Thu, 29 Nov 2018 15:48:34 +0100 Message-Id: <1543502916-21632-1-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hello ov5640-ers, these two patches should be applied on top of Maxime's clock tree rework v5 and 'fix' MIPI CSI-2 clock tree configuration. The first patch is a fix that appeard in various forms on the list several times: if the image sizes gets updated but not the image format, the size update gets ignored. I had to fix this to run my FPS tests, and thus I'm sending the two together. I wish in future a re-work of the image format handling part, but for now, let's just fix it for v4.21. The second patch slightly reworks the MIPI clock tree configuration, based on inputs from Sam. The currently submitted v5 in which Maxime squashed my previous changes is 'broken'. That's my bad, as explained in the patch change log. Test results are attacched to patch [2/2]. Changelog for [2/2] is included in the patch itself. I wish these patches to go in with Maxime awesome clock tree re-work, pending his ack. Also, I have tested with an i.MX6Q board, with a CSI-2 2 data lanes setup. There are still a few things not clear to me in the MIPI clock tree, and I welcome more testing, preferibly with 1-lanes setups. Also, I had to re-apply Maxime's series and latest ov5640 patches on v4.19, as my test board is sort of broken with v4.20-rcX (it shouldn't make any difference in regard to this series, but I'm pointing it out anyhow). Recently Adam has been testing quite some ov5640 patches, if you fill like testing these as well on your setup (which I understand is a MIPI CSI-2 one) please report the results. Same for all other interested ones :) Thanks j Jacopo Mondi (2): media: i2c: ov5640: Fix set format regression media: ov5640: make MIPI clock depend on mode drivers/media/i2c/ov5640.c | 110 ++++++++++++++++++++++----------------------- 1 file changed, 54 insertions(+), 56 deletions(-) --- 2.7.4