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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6665FC433EF for ; Wed, 18 May 2022 14:54:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238847AbiEROym (ORCPT ); Wed, 18 May 2022 10:54:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238758AbiEROyi (ORCPT ); Wed, 18 May 2022 10:54:38 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4F2A1BDD93; Wed, 18 May 2022 07:54:37 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id f4so4045005lfu.12; Wed, 18 May 2022 07:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SMb8zkMkHCIlccAQjA5BajELKr84CtL4aU+80NzrBEg=; b=b+IM7oTc+2Sg5GtM8rqGckVb60cRnoSyUWNrDUSq4WjyFV8SDg7k8lhDYocGihdoyF jla9SwofdDpAh/1+ibGoHv8JZtjTmeVtJ69fOJvdYIH8UdWjqYcABZOEQIQaKwJljqvg S0I2/Tb3YWbJD4VhCT0dqYI4mSN1DkmWa1hqHkas9cmuc6guuk8cru65jz/4zJRtOrZI 2CSRTJzjhDwTjUftG5R8ayIBFUlnrJySdVaU9ZUzegc+tc+t5Boc2t3hGy5hpihgcS6J lABvT3wr01VlL9q/uk+pUWTg0XrVe+bG7Oqp4kk+YfmqgtJWWoqhrTJq5gkC2IbfYIiY Ns2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SMb8zkMkHCIlccAQjA5BajELKr84CtL4aU+80NzrBEg=; b=dedHj8z+qV7+s10GNrDzg8OSw/i/h5LjHipa7B/HU3XSQAepmy+769fDT34uAGiv7A e29wGEk1ytXcnO8FgC40/gSr5PPPq/aAiYrGGhPVHKVweh63UGPW2j9d0L8mwm+wDkTi 3JqxEHsygSk1jQKlE1f0hSOsEvvQA3oCebuPhxgmC9YGHSj8zDVKYiZDln8AyXBMfzg+ Jk7r+kqjy5X9ODuT3HJ27Fb+Z+uydBJVkSjby2mzfLXeEB5O7KDM0Ftqu3nz/juhrkNf 3diWTXMBF3fkns99gMRNrbCTjfRP/KpSYAl8uXz7/Mszz4Q7jMPDi67lYVXHHBCfC9ux w/FA== X-Gm-Message-State: AOAM531qkhTMEeL+cp8qIgUQaigq0ssuHaQfIk2NKAhfnPyY4QNN7rtD koLjxiugURba44dGk3u38So+rH4MXqPCdBLeSg4= X-Google-Smtp-Source: ABdhPJwrn1b0ZbIHFlR6mnNjQUgmrl6lpUFPZY9C5H3RcIBSs9kLt9EgLSPIfRQpIVj27/3sQlUuczGBv4Cs704NTLc= X-Received: by 2002:a05:6512:3d15:b0:477:65d7:7635 with SMTP id d21-20020a0565123d1500b0047765d77635mr16383955lfv.656.1652885676135; Wed, 18 May 2022 07:54:36 -0700 (PDT) MIME-Version: 1.0 References: <20220516115846.58328-1-max.oss.09@gmail.com> <20220516115846.58328-12-max.oss.09@gmail.com> In-Reply-To: From: Max Krummenacher Date: Wed, 18 May 2022 16:54:24 +0200 Message-ID: Subject: Re: [PATCH v1 11/17] ARM: dts: imx6q-apalis: Add ov5640 mipi csi camera To: Fabio Estevam Cc: Max Krummenacher , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fabio On Wed, May 18, 2022 at 4:25 PM Fabio Estevam wrote: > > Hi Max, > > On Wed, May 18, 2022 at 11:21 AM Max Krummenacher wrote: > > > In my (limited) testing I saw no issues that the camera would not come up. > > It takes 2 to 3 seconds until the pipeline is running but I noted no hickups. > > I did this with setting the resolution to 640x480 and 1920x1080 which > > probably would not relate to the LP-11 issue you mention. > > > > I.e. I set up the v4l2 pipeline and start capture to the screen as follows: > > Just curious: which baseboard did you use to test the ov5640 camera? > > Most likely there was an issue with the customer's baseboard that > prevented the camera capture to start. I used an 'Apalis Evaluation Board' with an 'Apalis iMX6 Mezannine V2.0A'. Now I did retry and it works equally well on an 'Ixora V1.1A' Note that in the beginning the camera module required the SoM to provide a 24MHz clock. The V1.1B HW version then got its local oscillator and the clock input no longer requires a clock. That may or may not have been the issue your customer saw. Max 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AB30DC433F5 for ; Wed, 18 May 2022 14:56:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0zpjmENwj4fsGLZ9oRuqeYmpaGu7UGPMkI2Z7K+Io9A=; b=F5Dolt65LkX21X e9d/uqswlRNizbVDd8U5/lH36DTSyanDTVlW93klPYGcGcG39da+og0HNvxtbwKMPOagFs4MAuWF0 L24DGG+oEh2xIThb9ya+J3Zy8eMkMGVKq33W4ir4IyvNQbSGhAhAgGV6JcxSnoNqBxnraEcWKvqjP T8j9qIAstQaDkxQAR//Rt7DTKhvmQQIWURfoAAGTfRERU978rtV/iFrTw73JzAtdACGJ7JrCDJkTg IesnTgYW6VX6km3Kf9gJpaLA3bkiYNtiRzb6NuGtblPlIkrRbf2zIh5SiR7yRUz8BtIRfavqG3Ki2 pZu9pX2DgzWXxS0UqEmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrL4u-002cuq-NW; Wed, 18 May 2022 14:55:08 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrL4S-002cg2-2W for linux-arm-kernel@lists.infradead.org; Wed, 18 May 2022 14:54:41 +0000 Received: by mail-lf1-x135.google.com with SMTP id bq30so4117121lfb.3 for ; Wed, 18 May 2022 07:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SMb8zkMkHCIlccAQjA5BajELKr84CtL4aU+80NzrBEg=; b=b+IM7oTc+2Sg5GtM8rqGckVb60cRnoSyUWNrDUSq4WjyFV8SDg7k8lhDYocGihdoyF jla9SwofdDpAh/1+ibGoHv8JZtjTmeVtJ69fOJvdYIH8UdWjqYcABZOEQIQaKwJljqvg S0I2/Tb3YWbJD4VhCT0dqYI4mSN1DkmWa1hqHkas9cmuc6guuk8cru65jz/4zJRtOrZI 2CSRTJzjhDwTjUftG5R8ayIBFUlnrJySdVaU9ZUzegc+tc+t5Boc2t3hGy5hpihgcS6J lABvT3wr01VlL9q/uk+pUWTg0XrVe+bG7Oqp4kk+YfmqgtJWWoqhrTJq5gkC2IbfYIiY Ns2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SMb8zkMkHCIlccAQjA5BajELKr84CtL4aU+80NzrBEg=; b=qGRX7BNChj6WKaZo0rceg080PXLqVF9RosdMuoHXVRzSbxZ541hKxfgo7LZblZIV9X g4tc856XA3TH5C3X4uQiEZ5uoGiaN8Ga+u/eNu0YsPvIPdV/2x308t/TumkqwX6eI3MW zbgpNYZfsxtZp5Q+D5j6GTOBwNabO3BAr8+hs644Y1ofOerQrK7AHcHuYyX/30xgFs4b 8l3c0AFKlHdhaSuhLZ69K5TyhCWhf3aeAJ5bCi/0PAxblVwrVZbusqtwkI8ANPSHxlj+ oTDch+FINYs4aFAsOOtG9+4pdV2Xv+9rw99EkjYWW8Tklf1LDm7C02zOuGgOhpuPaUfD hq0g== X-Gm-Message-State: AOAM532sIg2tNHo/wZBrgpX1/mh1LWD6yehRLRTsIhZ+ppBTpCqaCnmi kcFe7qmDfPJGerCQce6uprn2SJVXgbijI92ERw8= X-Google-Smtp-Source: ABdhPJwrn1b0ZbIHFlR6mnNjQUgmrl6lpUFPZY9C5H3RcIBSs9kLt9EgLSPIfRQpIVj27/3sQlUuczGBv4Cs704NTLc= X-Received: by 2002:a05:6512:3d15:b0:477:65d7:7635 with SMTP id d21-20020a0565123d1500b0047765d77635mr16383955lfv.656.1652885676135; Wed, 18 May 2022 07:54:36 -0700 (PDT) MIME-Version: 1.0 References: <20220516115846.58328-1-max.oss.09@gmail.com> <20220516115846.58328-12-max.oss.09@gmail.com> In-Reply-To: From: Max Krummenacher Date: Wed, 18 May 2022 16:54:24 +0200 Message-ID: Subject: Re: [PATCH v1 11/17] ARM: dts: imx6q-apalis: Add ov5640 mipi csi camera To: Fabio Estevam Cc: Max Krummenacher , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220518_075440_156378_61C75F57 X-CRM114-Status: GOOD ( 18.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Fabio On Wed, May 18, 2022 at 4:25 PM Fabio Estevam wrote: > > Hi Max, > > On Wed, May 18, 2022 at 11:21 AM Max Krummenacher wrote: > > > In my (limited) testing I saw no issues that the camera would not come up. > > It takes 2 to 3 seconds until the pipeline is running but I noted no hickups. > > I did this with setting the resolution to 640x480 and 1920x1080 which > > probably would not relate to the LP-11 issue you mention. > > > > I.e. I set up the v4l2 pipeline and start capture to the screen as follows: > > Just curious: which baseboard did you use to test the ov5640 camera? > > Most likely there was an issue with the customer's baseboard that > prevented the camera capture to start. I used an 'Apalis Evaluation Board' with an 'Apalis iMX6 Mezannine V2.0A'. Now I did retry and it works equally well on an 'Ixora V1.1A' Note that in the beginning the camera module required the SoM to provide a 24MHz clock. The V1.1B HW version then got its local oscillator and the clock input no longer requires a clock. That may or may not have been the issue your customer saw. Max _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel