From patchwork Tue Oct 15 16:00:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 11190859 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 250CF912 for ; Tue, 15 Oct 2019 16:00:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 051DF20854 for ; Tue, 15 Oct 2019 16:00:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GSwutxy+" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731373AbfJOQAy (ORCPT ); Tue, 15 Oct 2019 12:00:54 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:37082 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726231AbfJOQAy (ORCPT ); Tue, 15 Oct 2019 12:00:54 -0400 Received: by mail-qt1-f195.google.com with SMTP id n17so11927121qtr.4 for ; Tue, 15 Oct 2019 09:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=nVqrz98oY1dHStSXJAO5WqcsucAEGj9JBq48FimaBIM=; b=GSwutxy+g9Ss/nhDDGLKgNoGwBrg9T87PpYKN9tX8QKmIwninaAJMVekvN5VLgYsNC C4DN8A0hTDi7D0ID145X/vu7Ino6pO3prhzCJxlQU5LYaT0o79XZzVUnBkUGcgIpkSSk V+YHKh7wwbYLfwJgrHVz4GAGL/tiZ+8nGpHE8HVvWQYC/Yh1+K9MkPeSnuOMqBXhHD6Y RdQxe6Ot6jISnONG9xRZ7EkpR8ZveS5hJwKw+DdqLlEdgdf4Zw1+xlyYrDIS1JdDBxkw GSWQizy5wEF199eRWeuw1RZBqSZVbcZEaHzCM1D4TsKMz08hKbpnpuGe8ujrtA/8pSSd 5euQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nVqrz98oY1dHStSXJAO5WqcsucAEGj9JBq48FimaBIM=; b=M4t2DtAmPJnPioMC5V7oVVUC4SfR3DfNvPwNT97nY/8onkY9CwzCvu33XqXIsqpGKe m8lRCm9obYzuYlN8F1qQi1NAWGytalv6BuCtW2Vg9PFSOQPMLJDtbjHL3gvFRV00xd4W G4X+1/5oPDbNqb2zsDRX5Plg9YmGDno5MLlU2u5z+D20sRQFvgMIRbhciSZ4wQgz7Pkm 53XMewZxhSAc1/lKgghumlSNh4CX7U8JwHsmiy4ZYUYQ4MghHACi44IiPXTLL9jCxwUX v+sphJ3DrNZXsc9LGBFRALqjFV+FvJr/3eySkT/+sKJ85AQLqFeaY1Sjp5EKhxv8NNFA Hq0Q== X-Gm-Message-State: APjAAAWvszlRDQ+LNAPvh5DvG3rk33nrCxTZuaqQNwMUWhXzgLyu6t7j PyQhz38fFqq9GPjQenGwC9LBHdFdTUw= X-Google-Smtp-Source: APXvYqz5kp1WrsvNQ0Jx5kCJLKbGEMCbrlA2o4LpvKD8sTBekXEpAq+Fiw7aJQWHmJ4gXRY/WZg8kg== X-Received: by 2002:ac8:6793:: with SMTP id b19mr6768151qtp.354.1571155253043; Tue, 15 Oct 2019 09:00:53 -0700 (PDT) Received: from fabio-Latitude-E5450.nxp.com ([177.221.114.206]) by smtp.gmail.com with ESMTPSA id n21sm10304930qka.83.2019.10.15.09.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 09:00:52 -0700 (PDT) From: Fabio Estevam To: hverkuil-cisco@xs4all.nl Cc: mchehab@kernel.org, slongerbeam@gmail.com, tharvey@gateworks.com, p.zabel@pengutronix.de, linux-media@vger.kernel.org, Fabio Estevam Subject: [PATCH v3 1/4] media: imx.rst: Specify the sabreauto variant Date: Tue, 15 Oct 2019 13:00:39 -0300 Message-Id: <20191015160042.28113-1-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Improve the documentation by specifying that the instructions are related to the i.MX6Q sabreauto variant. This avoids confusion if someone follows these steps on a i.MX6DL sabreauto, which has different numbering on the I2C bus and I2C muxes. Signed-off-by: Fabio Estevam Acked-by: Steve Longerbeam --- Changes since v2: - None Documentation/media/v4l-drivers/imx.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/media/v4l-drivers/imx.rst b/Documentation/media/v4l-drivers/imx.rst index 1d7eb8c7bd5c..3d72e411b93d 100644 --- a/Documentation/media/v4l-drivers/imx.rst +++ b/Documentation/media/v4l-drivers/imx.rst @@ -515,10 +515,10 @@ Streaming can then begin independently on the capture device nodes be used to select any supported YUV pixelformat on the capture device nodes, including planar. -SabreAuto with ADV7180 decoder ------------------------------- +i.MX6Q SabreAuto with ADV7180 decoder +------------------------------------- -On the SabreAuto, an on-board ADV7180 SD decoder is connected to the +On the i.MX6Q SabreAuto, an on-board ADV7180 SD decoder is connected to the parallel bus input on the internal video mux to IPU1 CSI0. The following example configures a pipeline to capture from the ADV7180 From patchwork Tue Oct 15 16:00:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 11190861 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3FA8A1390 for ; Tue, 15 Oct 2019 16:00:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1F3A1214AE for ; Tue, 15 Oct 2019 16:00:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZoC85FgC" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732799AbfJOQA5 (ORCPT ); Tue, 15 Oct 2019 12:00:57 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:34716 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731936AbfJOQA5 (ORCPT ); Tue, 15 Oct 2019 12:00:57 -0400 Received: by mail-qt1-f194.google.com with SMTP id 3so31363198qta.1 for ; Tue, 15 Oct 2019 09:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/gx13EoeTgkG/Oe6NP7WzbbRHpWHPhwLQ0S20aXkA7M=; b=ZoC85FgC4p1HBVU2ERFz9QkVKW+my8X1B2vZJN8l/RwCbNeE3uOU1ces8pE3OBiMQR wQ1LdYnSGI2lbDXDjlAOsqXYc2MDjKLm4WjV/u+2jDAiIJ+yXly3jzWpqWbZ73dhlSTp PRs65S418OezqO6U8FNv8beWdUUaMuxiQYQTf/Ke9bA/Xvm6Srv245CjmzdzV2O5mllU 8w3hmSg5PYxhYRsBPdrc7Ec7mjukjc5c9TGjSfp+inJcYcjl+z4ptO2kljI0D/QXAdDT Hmj+NeYj11mrbLglBUR+/0Ll+U3uJjjnU8AKtaRqY9gD6mJEEOGJKNYokmuc3/+ur180 MBSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/gx13EoeTgkG/Oe6NP7WzbbRHpWHPhwLQ0S20aXkA7M=; b=aueQiL+c0x0iKGZodeKdv2iYuTEmCATi1SpSGvqKebyHdcvOFl+qgKBURX/A7ixeyB E41jvLMyLjqOurRyLkdc33V7XVZfIlf8IrXLPgVsd4VtM07ggX5zBAeW51LooNv8rzsF BNPI9rMTtd8ke8CGzsvv7o1/Xp/Gy4tDPvjfif1jc5oA8QyaQhm/nBW8Xz0rfGpoJg0/ rNwPTsJM2ZB4z5K0XZ5UtiQ4XYLTgPbKyjNW7D6Y1b16NuXTa61VBtbWIHrhL6b82NA+ el7X6Dpzx8u25s2N9001eH2IsnYMBaKvp81FZOjM7ijg8xMpaGwDlcCOp3QdzKda3TTl MAoQ== X-Gm-Message-State: APjAAAXiELydHtKIstM6mx40b7CXDqnStnpXrZIs7Fur85G70f9LnDeW 0XT1oWCr6SvdyUvb31AUp60= X-Google-Smtp-Source: APXvYqxhES4J/wTNs1PSowZ4WrCIHVp9oRnjf7KD1WZQGjRhcDqPdMjGIReHWtKPp26qmhMoyOWIDQ== X-Received: by 2002:ac8:359d:: with SMTP id k29mr37507195qtb.96.1571155256616; Tue, 15 Oct 2019 09:00:56 -0700 (PDT) Received: from fabio-Latitude-E5450.nxp.com ([177.221.114.206]) by smtp.gmail.com with ESMTPSA id n21sm10304930qka.83.2019.10.15.09.00.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 09:00:55 -0700 (PDT) From: Fabio Estevam To: hverkuil-cisco@xs4all.nl Cc: mchehab@kernel.org, slongerbeam@gmail.com, tharvey@gateworks.com, p.zabel@pengutronix.de, linux-media@vger.kernel.org, Fabio Estevam Subject: [PATCH v3 2/4] media: imx.rst: Provide a real example for the output format Date: Tue, 15 Oct 2019 13:00:40 -0300 Message-Id: <20191015160042.28113-2-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191015160042.28113-1-festevam@gmail.com> References: <20191015160042.28113-1-festevam@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org In the i.MX6Q sabreauto pipeline example, it is better to provide a real example for the output format, so do it just like in the previous lines for consistency. Signed-off-by: Fabio Estevam Acked-by: Steve Longerbeam --- Changes since v2: - None Documentation/media/v4l-drivers/imx.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/media/v4l-drivers/imx.rst b/Documentation/media/v4l-drivers/imx.rst index 3d72e411b93d..36e8d1226ac6 100644 --- a/Documentation/media/v4l-drivers/imx.rst +++ b/Documentation/media/v4l-drivers/imx.rst @@ -547,8 +547,6 @@ This example configures a pipeline to capture from the ADV7180 video decoder, assuming PAL 720x576 input signals, with Motion Compensated de-interlacing. The adv7180 must output sequential or alternating fields (field type 'seq-tb' for PAL, or 'alternate'). -$outputfmt can be any format supported by the ipu1_ic_prpvf entity -at its output pad: .. code-block:: none @@ -565,7 +563,7 @@ at its output pad: media-ctl -V "'ipu1_csi0':1 [fmt:AYUV32/720x576]" media-ctl -V "'ipu1_vdic':2 [fmt:AYUV32/720x576 field:none]" media-ctl -V "'ipu1_ic_prp':2 [fmt:AYUV32/720x576 field:none]" - media-ctl -V "'ipu1_ic_prpvf':1 [fmt:$outputfmt field:none]" + media-ctl -V "'ipu1_ic_prpvf':1 [fmt:AYUV32/720x576 field:none]" Streaming can then begin on the capture device node at "ipu1_ic_prpvf capture". The v4l2-ctl tool can be used to select any From patchwork Tue Oct 15 16:00:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 11190863 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 102ED912 for ; Tue, 15 Oct 2019 16:01:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E468520873 for ; Tue, 15 Oct 2019 16:01:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VPTsNdb/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387438AbfJOQBC (ORCPT ); Tue, 15 Oct 2019 12:01:02 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:43602 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731936AbfJOQBC (ORCPT ); Tue, 15 Oct 2019 12:01:02 -0400 Received: by mail-qk1-f195.google.com with SMTP id h126so19647862qke.10 for ; Tue, 15 Oct 2019 09:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6PRk9eSGKNiTKFO64B5AMs7UJU1pd0a09q1UeOtdYVw=; b=VPTsNdb/Doe58RnFc8HLL7CNbCMt9Da4CVb/OHgY9eY7awY/xmT0YTyzItRGhrl0KL S/BKOBlg14RG6sWWESE9TMBRiOFzsH/sb3mOSEmNUrpM7uowM6tw03gQfBxIX56YSVsr WoeSVnRwZEyzLJZ70ITOQCqeQCtbmMjrMF/59uphk/7zwSepMAx9tUNyNuNF5bMfPMMn HVoEPG1PytilY6rSVNFfJRQv+X/UV/04sSKYU/Ens7wvfzCdceHi2+kIM3xNDga0t6WF AXyO8E+TDxvkzDuMrcjkqCUQji3xkET7AvIgewGiWjBDrtegVmVItiPV7yDGfRBLA5ep O0Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6PRk9eSGKNiTKFO64B5AMs7UJU1pd0a09q1UeOtdYVw=; b=fk/JrkHtFcuEzIqAmFbimKv90vpABl5j0oLqyoUZiueCLVtEsmvCvtQHpEpM2CpXym 4eYvu3qCkFCP2KqnQ08qJ/oQ/1g7a2snCBdp2H9bDv7OIRA9j/bPyWSqL1soUDhknOWO qtPVDLpHz8gacU2yVp/mU+XKAkktnBKQ1xR8RDpJGGCGgHmPoK/pGZUXLHAItmfFyFT6 Fx6W+pD0wlOGi+xP9Ydkui9KRYRPRu5uu3yH/hOSYpM/ktpSDtUO8gX3J5Jhdjc2uGaK ElFFf17Z7Lt5DV50JS8o+LX6sJcSZNQaF9SuLx/HxBWUJzZhIk943ZCpDXjmskCPt5jX YWrQ== X-Gm-Message-State: APjAAAUFqRMrgV6XXNEjQ+uAx7MQcoKi5PwXi9XXFTW59Kv0t/R9jZZ/ UdLgwiVwQDpOx2uG11qhuZE= X-Google-Smtp-Source: APXvYqxyK8INEU1Lo0JYb6wPDdkrnNG4RrO2WzaYR8PEn2WbRNmn6mmyrI3EPOJdZ1Z3WZsj7q/8rw== X-Received: by 2002:a37:68c2:: with SMTP id d185mr36101232qkc.297.1571155260951; Tue, 15 Oct 2019 09:01:00 -0700 (PDT) Received: from fabio-Latitude-E5450.nxp.com ([177.221.114.206]) by smtp.gmail.com with ESMTPSA id n21sm10304930qka.83.2019.10.15.09.00.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 09:01:00 -0700 (PDT) From: Fabio Estevam To: hverkuil-cisco@xs4all.nl Cc: mchehab@kernel.org, slongerbeam@gmail.com, tharvey@gateworks.com, p.zabel@pengutronix.de, linux-media@vger.kernel.org, Fabio Estevam Subject: [PATCH v3 3/4] media: imx.rst: Provide instructions for the i.MX6DL sabreauto Date: Tue, 15 Oct 2019 13:00:41 -0300 Message-Id: <20191015160042.28113-3-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191015160042.28113-1-festevam@gmail.com> References: <20191015160042.28113-1-festevam@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The i.MX6DL sabreauto has different numbering on the I2C bus and I2C muxes compared to the i.MX6Q as shown in the kernel log below: [ 5.159423] imx-media: ipu1_csi0_mux:5 -> ipu1_csi0:0 [ 5.164618] imx-media: ipu1_csi1_mux:5 -> ipu1_csi1:0 [ 5.169953] imx-media: adv7180 4-0021:0 -> ipu1_csi0_mux:4 To avoid confusion, add an entry that shows how to setup the links and configure the pads that are specific to the i.MX6DL sabrea Signed-off-by: Fabio Estevam Acked-by: Steve Longerbeam --- Changes since v2: - Fix I2C and CSI mux numbering (Steve) - Passed the v4l2-ctl configuration (Steve) Documentation/media/v4l-drivers/imx.rst | 58 +++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/Documentation/media/v4l-drivers/imx.rst b/Documentation/media/v4l-drivers/imx.rst index 36e8d1226ac6..aab68d8ef2c9 100644 --- a/Documentation/media/v4l-drivers/imx.rst +++ b/Documentation/media/v4l-drivers/imx.rst @@ -572,6 +572,64 @@ supported YUV or RGB pixelformat on the capture device node. This platform accepts Composite Video analog inputs to the ADV7180 on Ain1 (connector J42). +i.MX6DL SabreAuto with ADV7180 decoder +-------------------------------------- + +On the i.MX6DL SabreAuto, an on-board ADV7180 SD decoder is connected to the +parallel bus input on the internal video mux to IPU1 CSI0. + +The following example configures a pipeline to capture from the ADV7180 +video decoder, assuming NTSC 720x480 input signals, using simple +interweave (unconverted and without motion compensation). The adv7180 +must output sequential or alternating fields (field type 'seq-bt' for +NTSC, or 'alternate'): + +.. code-block:: none + + # Setup links + media-ctl -l "'adv7180 4-0021':0 -> 'ipu1_csi0_mux':4[1]" + media-ctl -l "'ipu1_csi0_mux':5 -> 'ipu1_csi0':0[1]" + media-ctl -l "'ipu1_csi0':2 -> 'ipu1_csi0 capture':0[1]" + # Configure pads + media-ctl -V "'adv7180 4-0021':0 [fmt:UYVY2X8/720x480 field:seq-bt]" + media-ctl -V "'ipu1_csi0_mux':5 [fmt:UYVY2X8/720x480]" + media-ctl -V "'ipu1_csi0':2 [fmt:AYUV32/720x480]" + # Configure "ipu1_csi0 capture" interface (assumed at /dev/video0) + v4l2-ctl -d0 --set-fmt-video=field=interlaced_bt + +Streaming can then begin on /dev/video0. The v4l2-ctl tool can also be +used to select any supported YUV pixelformat on /dev/video0. + +This example configures a pipeline to capture from the ADV7180 +video decoder, assuming PAL 720x576 input signals, with Motion +Compensated de-interlacing. The adv7180 must output sequential or +alternating fields (field type 'seq-tb' for PAL, or 'alternate'). + +.. code-block:: none + + # Setup links + media-ctl -l "'adv7180 4-0021':0 -> 'ipu1_csi0_mux':4[1]" + media-ctl -l "'ipu1_csi0_mux':5 -> 'ipu1_csi0':0[1]" + media-ctl -l "'ipu1_csi0':1 -> 'ipu1_vdic':0[1]" + media-ctl -l "'ipu1_vdic':2 -> 'ipu1_ic_prp':0[1]" + media-ctl -l "'ipu1_ic_prp':2 -> 'ipu1_ic_prpvf':0[1]" + media-ctl -l "'ipu1_ic_prpvf':1 -> 'ipu1_ic_prpvf capture':0[1]" + # Configure pads + media-ctl -V "'adv7180 4-0021':0 [fmt:UYVY2X8/720x576 field:seq-tb]" + media-ctl -V "'ipu1_csi0_mux':5 [fmt:UYVY2X8/720x576]" + media-ctl -V "'ipu1_csi0':1 [fmt:AYUV32/720x576]" + media-ctl -V "'ipu1_vdic':2 [fmt:AYUV32/720x576 field:none]" + media-ctl -V "'ipu1_ic_prp':2 [fmt:AYUV32/720x576 field:none]" + media-ctl -V "'ipu1_ic_prpvf':1 [fmt:AYUV32/720x576 field:none]" + # Configure "ipu1_ic_prpvf capture" interface (assumed at /dev/video2) + v4l2-ctl -d2 --set-fmt-video=field=none + +Streaming can then begin on /dev/video2. The v4l2-ctl tool can also be +used to select any supported YUV pixelformat on /dev/video2. + +This platform accepts Composite Video analog inputs to the ADV7180 on +Ain1 (connector J42). + SabreSD with MIPI CSI-2 OV5640 ------------------------------ From patchwork Tue Oct 15 16:00:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 11190865 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0D143912 for ; Tue, 15 Oct 2019 16:01:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E126A20873 for ; Tue, 15 Oct 2019 16:01:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jxlBOMQM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387412AbfJOQBG (ORCPT ); Tue, 15 Oct 2019 12:01:06 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:33851 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731936AbfJOQBG (ORCPT ); Tue, 15 Oct 2019 12:01:06 -0400 Received: by mail-qk1-f193.google.com with SMTP id q203so19667108qke.1 for ; Tue, 15 Oct 2019 09:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bqomNJEQP+6JG6lhDyw8WOx0GH2movrYVMkAVxI04lI=; b=jxlBOMQMNcaSoOUpLgJn+4vbbHmd4UMotZOGwvB04O9+BrMByjBcIhmOinDpt8gH23 KJBgPoAKhkGoROQHnk9pg3eW3IZm1PRCavpdK0ou3N2FWRT2TffWA+JuqvOZsFWyeB6O enyox4HpoQ54MPVNKj+J4Jw18GtlQF3cYibLx/JV4x2P0lPJC6BRiraVn9JbcdGDzzKE 6hG6ZQ/adrMOrLAs163Jnc+l6FtcsEm28CUuZKLHsAtaElAwlL5eH0pqkfTT42jDJL5M nAlTdaiZ3KKoLPqoErQ1DBmNTIPaMRjFPjE/dRtq3rFXW5D0/NouZcNMx0MGqgpNwePf RjGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bqomNJEQP+6JG6lhDyw8WOx0GH2movrYVMkAVxI04lI=; b=VeacLCVy62tI2BJF1XNKY9St26deGnOmh0B3ryxsuh4h/HyeDgU2uLTznzT/Wn1wtS T9uK9qZQXpHx+FIrdIhiuYv9aEe4nZasH6vNU1a0wxP5optMcT0nispC19Sw3nPf/2E3 yJrgzypByTAn3/XUMuDjiiQGCbqL41LOYcgR1rBDzg95pOLd6+CZwqXfTV7UXhOjJ2a9 CxI6s/yESFih+12Weh2wX3Reg0V6ysw3uymBQD96m6ZSnQNXlwTdv4puuHWKS0i91YvA 1cRGtJdHJXKIebrDjtsX5K+8vK1SkAR7UQnRfAuuwFtDIqM9EiWRGdzAz0wmcUWdVv8A fL9w== X-Gm-Message-State: APjAAAW+iUYIt9BWUE1UMhs5xG4RtWYdpdjMUe6okdx85UUDYDbedztJ oOruKtcirNmNTB0TKZEs/js= X-Google-Smtp-Source: APXvYqxGqol6nxM8K7a027ynAQ4AK67y1zjzqufH99ggOhHJ43M3Ptv40IU6W4UWHejC3f8+D4TQrw== X-Received: by 2002:a37:aaca:: with SMTP id t193mr230426qke.66.1571155265282; Tue, 15 Oct 2019 09:01:05 -0700 (PDT) Received: from fabio-Latitude-E5450.nxp.com ([177.221.114.206]) by smtp.gmail.com with ESMTPSA id n21sm10304930qka.83.2019.10.15.09.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 09:01:04 -0700 (PDT) From: Fabio Estevam To: hverkuil-cisco@xs4all.nl Cc: mchehab@kernel.org, slongerbeam@gmail.com, tharvey@gateworks.com, p.zabel@pengutronix.de, linux-media@vger.kernel.org, Fabio Estevam Subject: [PATCH v3 4/4] media: imx.rst: Pass the v4l2-ctl configuration Date: Tue, 15 Oct 2019 13:00:42 -0300 Message-Id: <20191015160042.28113-4-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191015160042.28113-1-festevam@gmail.com> References: <20191015160042.28113-1-festevam@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Pass the v4l2-ctl configuration for the imx6q-sabreauto PAL example for completeness and consistency. Suggested-by: Steve Longerbeam Signed-off-by: Fabio Estevam Acked-by: Steve Longerbeam --- Changes since v2: - Newly introduced patch Documentation/media/v4l-drivers/imx.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/media/v4l-drivers/imx.rst b/Documentation/media/v4l-drivers/imx.rst index aab68d8ef2c9..1246573c1019 100644 --- a/Documentation/media/v4l-drivers/imx.rst +++ b/Documentation/media/v4l-drivers/imx.rst @@ -564,10 +564,11 @@ alternating fields (field type 'seq-tb' for PAL, or 'alternate'). media-ctl -V "'ipu1_vdic':2 [fmt:AYUV32/720x576 field:none]" media-ctl -V "'ipu1_ic_prp':2 [fmt:AYUV32/720x576 field:none]" media-ctl -V "'ipu1_ic_prpvf':1 [fmt:AYUV32/720x576 field:none]" + # Configure "ipu1_ic_prpvf capture" interface (assumed at /dev/video2) + v4l2-ctl -d2 --set-fmt-video=field=none -Streaming can then begin on the capture device node at -"ipu1_ic_prpvf capture". The v4l2-ctl tool can be used to select any -supported YUV or RGB pixelformat on the capture device node. +Streaming can then begin on /dev/video2. The v4l2-ctl tool can also be +used to select any supported YUV pixelformat on /dev/video2. This platform accepts Composite Video analog inputs to the ADV7180 on Ain1 (connector J42).