From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19BA4C433B4 for ; Tue, 27 Apr 2021 14:28:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DAA44613CA for ; Tue, 27 Apr 2021 14:28:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236530AbhD0O33 (ORCPT ); Tue, 27 Apr 2021 10:29:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236395AbhD0O3Y (ORCPT ); Tue, 27 Apr 2021 10:29:24 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFF6FC061574 for ; Tue, 27 Apr 2021 07:28:40 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id x20so63740258lfu.6 for ; Tue, 27 Apr 2021 07:28:40 -0700 (PDT) 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=8fG+2xZlgNgMmhb6Bz+Rc3w2zpgITx2fV6jIBof/QUk=; b=YV7ICsJG5w/3HO652U6BmvN+BFnOcGLaCCvKz8stSsV+EYcgQWZNwNzmVXbmYvl12p 5sx1ulelW8b3szDxLGLpXFwNRItdcC1wKlo8kkfyTpORseOifsZO/QStx7GdJCJQCbMh mE4bmoRvXQ+gPR08VGgZO4i0I6hRYjrefE6Hv4bRbr+KRlmJ/Q1DSra1Tb7o6nSi3Izq gUjUTyYQEL4jLvJ3j1gSLTRwxSdeMra6jY2Dkt+At7gstzO6MIWBygbpC+8iOzXHSIWu pUWyaBibWaAmXIRnK4vtCYfMNQ6h7TBwRsqeWOcU2S73q+O6yWvSD1mvJ69SBWJwq7wW RvCw== 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=8fG+2xZlgNgMmhb6Bz+Rc3w2zpgITx2fV6jIBof/QUk=; b=VADwkPUr6WvE5ZNmQSLLfHfXkPwL9YQMknbiS/5fy4QUCOOuY3lKgtXqd8tjWxFFKq NcGkzmFnjLVt+l++y3NtB+ovFoWXU9WtPTkguRP84t4sKpHoE0RPpW+t+emjBXq0hJXA IYFw3mTNuE4EKBUHq/JUNf/B99n3FlUYJU74i2RiqMxa8XHwX9tJGGJxmmbAk4mZSrQX mSRf+sp719uDmL9MLe7yo0WrNEf3EpaG1/wPlr7/7x+J3gppcR22dKKS/DaiUhdQcE// deU3RgcWVak95p4DbntdsVvYGktU+FOMDP+RQJeFSC0ID1S+Mcu08kY4YWtYT/kEPIeT SBNQ== X-Gm-Message-State: AOAM531+xBPntE1yH9DdrHJ8AKsV5aLd0dhGw3gOyeqQjIKpxRESaQqo HXekbi5JqCq+CTyXhtbyx7thsK3MNXJtKbXo3sQ= X-Google-Smtp-Source: ABdhPJyWjnDBhcFyBPjvWHE66Mc86cKOgz0RkJ1OJZ2F/C7qYIunUGawdYlT9u1I84CXvFcao83XuG5lrwDKbfKQzsY= X-Received: by 2002:a19:50d:: with SMTP id 13mr16413093lff.443.1619533719449; Tue, 27 Apr 2021 07:28:39 -0700 (PDT) MIME-Version: 1.0 References: <4ea17a0c-b442-1ca2-1ae3-7a305d53273f@kontron.de> <303d14cc-1ae0-8d82-77ba-66156a61d777@kontron.de> In-Reply-To: <303d14cc-1ae0-8d82-77ba-66156a61d777@kontron.de> From: Fabio Estevam Date: Tue, 27 Apr 2021 11:28:27 -0300 Message-ID: Subject: Re: adv7280: Scrolling images on imx6 To: Frieder Schrempf Cc: Tim Harvey , Steve Longerbeam , Philipp Zabel , linux-media , Lars-Peter Clausen , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Hans Verkuil , Nicolas Dufresne Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi Frieder, On Tue, Apr 27, 2021 at 11:15 AM Frieder Schrempf wrote: > You're welcome! > > Just a question: What issue do you see without Steve's patch? Without Steve's patch, I see the captured image slowly scrolling vertically, like an old tube TV. Once I apply it, the image becomes stable. The board I am currently using is based on an imx6dl and the ADV7180 is connected to the parallel CSI bus. > I'm asking because with my setup with the imx7 CSI driver I'm getting a > stable image, but it has a vertical and horizontal offset that seems to > vary each time I enable the camera. I was wondering if this is maybe > caused by the missing frame skipping. Yes, maybe the imx7 CSI driver needs this initial frame skipping mechanism too. > But still I'm not really sure if we can compare this as I needed another > patch for the adv7180 driver to get it working with the i.MX8MM in the > first place: > https://git.kontron-electronics.de/linux/linux/-/commit/0d90331a44d0f718b7327a94fc72612ddcb4ac0f. Thanks for sharing your git tree. In the next days, I will work on a different imx6dl board, with the adv7180 connected to the MIPI CSI2. I see your tree contains some adv7180-m related patches. I will give it a try and report. Thanks, Fabio Estevam