Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp208390imm; Tue, 3 Jul 2018 17:19:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI6pNhDq8MU5ZoME+C16YhpTdcR7WhGvkI90m6MqSe4d7/nbXy/PbLPMe6pBpWPMON618Jq X-Received: by 2002:a63:91c8:: with SMTP id l191-v6mr26653537pge.180.1530663589311; Tue, 03 Jul 2018 17:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530663589; cv=none; d=google.com; s=arc-20160816; b=rdE+DwlJPN7y+6iulxYerdpvaOSotWzgOWvZCVKZADqlytXs5241qXpS+kUzd1wTrV gnAyWp5HzCfqcgtgzR/XOXRgNsO08fnsmCgix73GSuxHKjrMuiEk5ybybOi0DvK03gWZ zl5ABL9PXaKBx446dT5e9mfc2VXgbBQ2zfwPa/WnliXdoRpJ/hOnqY4MvxVpdZlxb/Sf wISqZ+3o4jgFwX9Cyx+7lpBgVwaHHHQGhif2VVCH8v6SNys392UzxD8ctqNWfQQpg9Nv bnTGDgNOouO6kWLnYNYM00qP9pE3X9jG+3YN/1m8W8HYVupnYZPEm+soAqHVjXPJyU5/ 6/Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=HoRg/Hxruz+SqWtBDbE1iBx9jr8xF+hBC2ioTWSffvk=; b=SCHieObDA7EgqG4RgKZYTt2e0bgAfIxQDWuzpfmrZpvAJ9L/1b87EkbxCywWFzkkok WH5TN+DBpiCeNqhTlwBP7VhGg5S9EMKXsn6+R6uEupHu4Bk5RAyN97ZnSeP+zkWkABdg tA0/0veKyJslPpNOtRMl0XqTUw3x5AFY0Qsh3KnNc9qq3+luphaND+nCSBobpghh7oJi xj9kDkzcGSawFJXPBzIpmZ0OwDcZ2I9brNAiky2ttNytjWjcfAKVNNI/ZSLXXq2oRh33 phl1swn6RF2hZwEL26hzs4t+/aBbmN4ZnQtysGoVC+2PuLqfYIZFXc34nkBOPqKHSW4N NngA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hE9uNtNI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 21-v6si143899pgl.62.2018.07.03.17.19.33; Tue, 03 Jul 2018 17:19:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hE9uNtNI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752844AbeGDASz (ORCPT + 99 others); Tue, 3 Jul 2018 20:18:55 -0400 Received: from mail-oi0-f42.google.com ([209.85.218.42]:33386 "EHLO mail-oi0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752147AbeGDASy (ORCPT ); Tue, 3 Jul 2018 20:18:54 -0400 Received: by mail-oi0-f42.google.com with SMTP id c6-v6so7407497oiy.0; Tue, 03 Jul 2018 17:18:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=HoRg/Hxruz+SqWtBDbE1iBx9jr8xF+hBC2ioTWSffvk=; b=hE9uNtNI99ONMHKRmp4T/B3qksz+DpNO0W4illw8DB4hNkTmH32RG6JO0IbUa+o4jV Es+5IqusGTOUPRQIutjq97pmWO4+eWrPtasLAQGXtAXRCRMC7VAQfQGN1PHat/RaPIqM dlw77PTxemiNbbiXP8eL/KAtKPNRULnkr5pxJuE+L1MX0yapCJuVdultEgmU5BHPE+30 iJNydwXEQPkbDvhV+YZYEMrINjewkv0o0P3wjq85NyT708uwLm0droCvJaUqYlriPWw3 zrwswXBhRWyQMlZXgJKrjKrK23u7hr0zr/LUPCtQlpzgYTI5bVMy4E5TX63YGvtXXxaq X6sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=HoRg/Hxruz+SqWtBDbE1iBx9jr8xF+hBC2ioTWSffvk=; b=tdAg6DHzexjtGtcU4FGp6Xbf6UkW/tVx7wJ0ukCPjKnc6vR87YP7v4x+53eEfSN4Vs t9LjrX1anJeHT9TOFkzqXmyen9ywIOWIsqB4Hv4BOsSUc4eygVoJbsDCpoWYs72pwTqB 0eyFjLFZa1EkfbOX1Ks5EAcob0aOt5O9493fFb00391Sg8hr1U8HCQzGIEis6fHMt8so mDPjI86VqSutKY5yc5r8Es/7IUd1T1Y6+YALeehLtdh4hTh1JbAfztF2TsveNGUUsW+M PXCFBSqvZjA55UrBNutgr6fJdX2/4u1ilbPQFWAqLN9x1DPIFlKuqdZ5c1B4R2DHq7dF /kdA== X-Gm-Message-State: APt69E2rlmBzxlQ2USVvlNZzIEzwMbUzHQRrokNMnIKjrhbYEkQPO+UI fOfv/5HQhNXSlRcOGAtHAR3k+4BS2NQKUtNUDi0= X-Received: by 2002:aca:6144:: with SMTP id v65-v6mr25328069oib.147.1530663533379; Tue, 03 Jul 2018 17:18:53 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:ea3:0:0:0:0:0 with HTTP; Tue, 3 Jul 2018 17:18:52 -0700 (PDT) In-Reply-To: <20180703184117.GC5611@w540> References: <20180531190659.xdp4q2cjro33aihq@pengutronix.de> <20180703184117.GC5611@w540> From: Fabio Estevam Date: Tue, 3 Jul 2018 21:18:52 -0300 Message-ID: Subject: Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux To: jacopo mondi Cc: Jagan Teki , Philipp Zabel , Steve Longerbeam , Fabio Estevam , Discussion of the development of and with GStreamer , linux-media , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacopo, On Tue, Jul 3, 2018 at 3:41 PM, jacopo mondi 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 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 Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab Thanks