Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1508051rwp; Thu, 13 Jul 2023 11:56:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlEzr4U+FuLw5ZGuddTBP94BVuUYF9W74CCos9OJ3kkKaERWSaF87z+ETljOoLut+22HfA60 X-Received: by 2002:a05:6a20:938f:b0:133:2a73:fdd5 with SMTP id x15-20020a056a20938f00b001332a73fdd5mr1825762pzh.32.1689274616986; Thu, 13 Jul 2023 11:56:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689274616; cv=none; d=google.com; s=arc-20160816; b=S2pOUSymiAqj0RIumDjGBOXq+Ny5dNwzO7GUzmYhTdSbsIHDolmcWl0gdnJOQDRFBT aP+XMrfLkDSK9Q2mTYr78uibKiSuLye1ccUi8QEC7i+UYZKvE/ssNUQnVrl9sPfl/9Wd uGolx5iHzK2m7SZNf+Jjm4/LOhgI5lfq1xblG1E+Yqw7/gUNaNRhCTadIkqjM4XKAcQE GVKdPKFtJU7FRz3869XMqvt5LV/TubzMREVeUeAnnH+svrcDLNR2rKgHorCNvDQs1Sto MpIvjHyD/eYYMZGsfbZ9phBFhjVlkO/8ln3eJzeKm0r3ig2hm5xmiBQwJIY4Mpl4x+jO INjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=4NixJWzqt1EjPHkU5qyxuUeApGxt4CQ82ymuiFFE918=; fh=5NGZbag36j859i8Exj9Me4nAPeRcErNaQteEzabqRCs=; b=oUwIBy7473GtjZ427/GQaJF3EwCEm1LuBTGaVtysqfZvdFVWYo+6Z/xH0y/AWm/uob cDT/UFEycwPWhhcZ4UllbORU8zvMsw8O9QWXYyQ9dQVQwmOgFwJMg4yPSeJ2RCnbW86+ y9tHHF2Nlg52SxSHRleZ0tLs3coK0CanS7Vfjs1wW7JGHh2C8OWbSYRzn/FfY6ZdHb25 VfxNbCyXISM9rrsWj/f2+bGkTb+jWHA0dqZ0FJCscmqLAW5QAOcNa67yULh3BdXJK65x JRyQW4kQtb0gbRB/O0ggCjGcEmcrNL1VSid63D+2Iy5Wb8uwc1bw7uSeF5xB8V1LdVDw AE9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ikaR+83V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eb26-20020a056a004c9a00b00668718e54c6si5575028pfb.202.2023.07.13.11.56.43; Thu, 13 Jul 2023 11:56:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ikaR+83V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231945AbjGMSw7 (ORCPT + 99 others); Thu, 13 Jul 2023 14:52:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232724AbjGMSw4 (ORCPT ); Thu, 13 Jul 2023 14:52:56 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC8E82D46; Thu, 13 Jul 2023 11:52:55 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-51f64817809so182780a12.1; Thu, 13 Jul 2023 11:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689274375; x=1689879175; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4NixJWzqt1EjPHkU5qyxuUeApGxt4CQ82ymuiFFE918=; b=ikaR+83VfC9yF4TiOsgy7ytWMqDdUYZMTJ3+XDHpD7/BBNmR5A5DXitguXoQ+ED4hz Zi9dVBULac02D3tX++eGjShegtbcoPLSMKrYN2BLAS938V/jCrfBS4CdsySiiIaxktqB QMW8Xfp7tz1K8/CjPDfGY9CH0C2l7oQGROY62LiPIcUHoKoRm2DeoqhsNwdkU7FX/dck U7841corxG1iMD5sqMpK/0w7fh9OwPGrRxZRfoLpJYnyfh75s22eahO+y9hrwd5CF0zm 6tej33YD5i+3GdQgBkdSlMqUoh+uVGATRmxVXtFNV98dna/bkb5Z8ybbDDu4g9nLgQv9 Q/Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689274375; x=1689879175; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4NixJWzqt1EjPHkU5qyxuUeApGxt4CQ82ymuiFFE918=; b=VQ/q7J4mGRhz9VBIVszu61RargmMZL/EVZDiglm2y2qj2U7sOf1TCIaTR7RhsdrU36 xs7P5WkOc1Y77baiLNsIQK34FwWhAwews7l3BcdQMDGF/Fn9v4QzA98Y5OsNDoXWLFYx 9DADq/2HEQ80JxgaX0iAhc6JXBnt9TBVcKder6wowQ2IooKgevpBZN74i16UJbwvpTMf CjsDVq2y2LhcNEZakBs8l+e6lXV/1S8cK0DPn0tPZN3ObVMQNB9x5g1g7jMx6CzHkyQ3 0isMSGR9X2ZBeb8+ii4UWA/jwCq3lwcNmMd1lP/5zNlazpZ4Q0J4077RiXpIoMo7GnrJ crEQ== X-Gm-Message-State: ABy/qLakzV5ZfukgrfBC6CbDSbr2WOw4MZTRFDkTlVWc1r2aC0LicI+v gbXZ2PcbuNLOL4GXwxeH/CJavZO7XgjLVQmXC9Y= X-Received: by 2002:a17:90b:46d1:b0:263:a5b5:c538 with SMTP id jx17-20020a17090b46d100b00263a5b5c538mr2285459pjb.4.1689274375326; Thu, 13 Jul 2023 11:52:55 -0700 (PDT) MIME-Version: 1.0 References: <20230711221518.2127861-1-tharvey@gateworks.com> In-Reply-To: <20230711221518.2127861-1-tharvey@gateworks.com> From: Fabio Estevam Date: Thu, 13 Jul 2023 15:52:44 -0300 Message-ID: Subject: Re: [PATCH] arm64: dts: imx8mp: add imx8mp-venice-gw74xx-imx219 overlay for rpi v2 camera To: Tim Harvey Cc: Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 11, 2023 at 7:15=E2=80=AFPM Tim Harvey = wrote: > > Add support for the RaspberryPi Camera v2 which is an IMX219 8MP module: > - https://datasheets.raspberrypi.com/camera/camera-v2-schematics.pdf > - has its own on-board 24MHz osc so no clock required from baseboard > - pin 11 enables 1.8V and 2.8V LDO which is connected to > GW74xx MIPI_GPIO4 (IMX8MP GPIO1_IO4) so we use this as a gpio > > Support is added via a device-tree overlay. > > The IMX219 supports RAW8/RAW10 image formats. > > Example configuration: > media-ctl -l "'imx219 3-0010':0->'csis-32e40000.csi':0[1]" > media-ctl -v -V "'imx219 3-0010':0 [fmt:SRGGB8/640x480 field:none]" > media-ctl -v -V "'crossbar':0 [fmt:SRGGB8/640x480 field:none]" > media-ctl -v -V "'mxc_isi.0':0 [fmt:SRGGB8/640x480 field:none]" > v4l2-ctl --set-fmt-video=3Dwidth=3D640,height=3D480,pixelformat=3DRGGB > v4l2-ctl --stream-mmap --stream-to=3Dframe.raw --stream-count=3D1 > convert -size 640x480 -depth 8 gray:frame.raw frame.png > gst-launch-1.0 v4l2src ! \ > video/x-bayer,format=3Drggb,width=3D640,height=3D480,framerate=3D10/1 != \ > bayer2rgb ! fbdevsink > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam