Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1132163imu; Mon, 5 Nov 2018 14:33:23 -0800 (PST) X-Google-Smtp-Source: AJdET5dkBS+s2vOYv0kEIIzZp9gFoZHDaqZUhBnKzFDmGptRTi0ipNf5v6NwaBi8Dr1aT9cOiiqA X-Received: by 2002:a17:902:a5c6:: with SMTP id t6-v6mr24114018plq.31.1541457203335; Mon, 05 Nov 2018 14:33:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541457203; cv=none; d=google.com; s=arc-20160816; b=0FMrEzNrEF6T79rbxTAa5bnILgOPRytQGrfaaXKN2o3jEmooSjG2FYbPSO7ihjsKM0 SsquyBDeQ/B3IxKisawcOgItDdEVOk+n3Oss2vVGb55PYylJXyX7nunjTVm4h2Uz6K5z Q+O8M5ua1D/fUy8iXI9C9Z8J/bpjE9DMhrTnqdfsJuHDgEBXD/I9DCkt/sKeqwVCymru 8XQrOzgSHmLnWBGJEaYW4220Hc5M2vSHuHlzwqi0rNFIJRzNujxHci9f2Jr+egSMMKwT 15B86cSVapGbWCKs7Fvc/7LNucx7tcVLS+wyWP7Mz2v8/aRYMeMoNweC3CSrkaHaP2rp G/rw== 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 :in-reply-to:references:mime-version:dkim-signature; bh=9jT8KMt482PAmoOYaAI+IfKQr30z48B/J1PUuehyUos=; b=zcERQCponsOJ8Kxmb9n4tZ3wX/1Wjvy0RjcPN5q6kkKNTMzEZZ6BzAI5F0xb44asZN g8bCDGTDnJVhoczGoFqTv7ai06B+yJI1ghiCqmRF6EblEVck6v6mIe8RmxQlps7cSenN jsMTpC0XX5jWsi51OCFn8ACa/uOTDt450+jUwLjgjsHxIbmFWnhbHk4XxXEj8Sg2dkJb VoQyoFLjQQxw5VX/RsNS8kSqBJn2jQhVHMKQL8vGenGmzo9I2JZlAprWWV7IGYCepgNm J3xNuH+N6v7jkn6KG121uUclFvpYcx/DZ36bbrWJBPQjnglyxxGKKnLNX0CZAcuNCgUD Vbkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mN54bIRc; 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 h1-v6si42917374pgs.493.2018.11.05.14.33.08; Mon, 05 Nov 2018 14:33:23 -0800 (PST) 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=mN54bIRc; 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 S2388145AbeKFHyn (ORCPT + 99 others); Tue, 6 Nov 2018 02:54:43 -0500 Received: from mail-io1-f66.google.com ([209.85.166.66]:44166 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387974AbeKFHym (ORCPT ); Tue, 6 Nov 2018 02:54:42 -0500 Received: by mail-io1-f66.google.com with SMTP id c6-v6so7788656iob.11; Mon, 05 Nov 2018 14:32:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9jT8KMt482PAmoOYaAI+IfKQr30z48B/J1PUuehyUos=; b=mN54bIRc30Cxxk1MFvq2n+++8Sp19R9RrS5xDR9zdpfLtLp37Pe5hONf42tLbWKNTW fW33PUcjZovlFydCqdooagB7s4nCnuXgr5tqWVbQW212/q1RA5aoOlAZFXLt4SPb4J2y vbfprS460LKalDJoHxUW29keKwEV+be5uI0bsYNXPKoUL1XuxCLPuQyGREz9o3GeSx4o NSdOTNMbHIHhw7hSSJyiW92h91dYgTYZJ1lQP6qT1wOAgYbcg8OiFzPPFd66V+Slxq6e O/Tz8QV7WOjnRIdmtA7szDktBSq9mISa/1An3wuN4EblA+HskHgp2oDCFZ/9HIcclRtp qd1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9jT8KMt482PAmoOYaAI+IfKQr30z48B/J1PUuehyUos=; b=H5qhhAuYeN/yR/IdPlt/SqOpP4tlhzOLsUKfYP9hN6J20B8N7UVICyk/xhTBvXqejK yRGL1kElr8iI5pvUprfZYadNhF/bEpwM17W61iBZUbfPyjOz+t8b80WuMZxoOQHG/q9h 70Ao4ksZX2yQVBxd+Fo/R5mSTEkwwXLtuW8V7hlA4JtIb+SgzrEBVX4K3u6vXFEy3FXC 7H3uAtjhTbg2v8kF+ol3qlbx6ZpxzrWlN+Zvn+tvPeqgbp0tTJIFvAnrss2ax3hl1Tt0 m+49PsNYyANDxI/VLP/FCVLeea4q0G0l8d8h13rIp2H8n2ckDTo3cbzbPNoHOd08d7Un UPTQ== X-Gm-Message-State: AGRZ1gIyFBnaUk9bgPgyI+3NsmlnYyXxLB1r1xT7i1s5ZpQLXk5Fhmfv myOGk123vajTr2xK5tfpJITuOrY8JTmKS8Nmf9o= X-Received: by 2002:a5e:a70e:: with SMTP id b14-v6mr19338979iod.126.1541457165813; Mon, 05 Nov 2018 14:32:45 -0800 (PST) MIME-Version: 1.0 References: <20181022113306.GB2867@w540> <20181023230259.GA3766@w540> <20181024140820.GB3766@w540> In-Reply-To: From: Adam Ford Date: Mon, 5 Nov 2018 16:32:33 -0600 Message-ID: Subject: Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux To: Fabio Estevam Cc: jacopo@jmondi.org, steve_longerbeam@mentor.com, Jagan Teki , p.zabel@pengutronix.de, Fabio Estevam , gstreamer-devel@lists.freedesktop.org, linux-media@vger.kernel.org, Linux Kernel Mailing List 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 On Mon, Oct 29, 2018 at 8:49 AM Fabio Estevam wrote: > > Hi Adam, > > On Sun, Oct 28, 2018 at 3:58 PM Adam Ford wrote: > > > Does anyone know when the media branch get's merged into the mainline > > kernel? I assume we're in the merge window with 4.19 just having been > > released. Once these have been merged into the mainline, I'll go > > through and start requesting they get pulled into 4.19 and/or 4.14 > > if/when appropriate. > > This should happen in 4.20-rc1, which will probably be out next Sunday. I sent an e-mail to stable with a list of a variety of patches for the ov5640 to be applied to 4.19.y So far all looks pretty good, but I think I found on minor bug: If I attempt to change just the resolution, it doesn't take. Initial read media-ctl --get-v4l2 "'ov5640 2-0010':0" [fmt:UYVY8_2X8/640x480@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range] Change resolution # media-ctl --set-v4l2 "'ov5640 2-0010':0[fmt:UYVY2X8/720x480 field:none]" Read it back # media-ctl --get-v4l2 "'ov5640 2-0010':0" [fmt:UYVY8_2X8/640x480@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range] However, if I change the resolution AND the format to something other than UYVY2x8, the resolution changes. I can then change the format back to UYVY and capture and stream video at 1080p and 720x480. I can work around this, but I thought I'd mention it. I was trying to figure out a patch to apply to the mailing list myself, but I wasn't able to fix it quickly. adam adam